Socket
Socket
Sign inDemoInstall

att-express-auth

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

8

index.js

@@ -51,8 +51,6 @@ var _ = require('underscore'),

loggedOutRedirect: '/',
loginPageUrl: '/login'
loginPageUrl: '/login',
accountsUrl: 'https://auth.tfoundry.com'
}, config);
// set our account and API urls
this.accountsUrl = 'https://auth.tfoundry.com';
// the login route

@@ -129,2 +127,2 @@ this.app.get('/auth', function (req, res) {

module.exports = new ATTTAuthMiddleware();
module.exports = new ATTTAuthMiddleware();

@@ -5,3 +5,3 @@ {

"description": "Drop-in auth middleware for alpha-auth AT&T.",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {

@@ -8,0 +8,0 @@ "colors": "",

@@ -28,2 +28,3 @@ # AT&T Alpha-auth middleware for Express.js

scopes: ['profile', 'addessbook', 'locker', 'messages', 'geo'],
accountsUrl: 'https://auth.tfoundry.com' // whatever accounts server you want to use, defaults to https://auth.tfoundry.com
redirectUrl: 'http://localhost:3000/secured' // whatever URL you want users to be redirected to after auth

@@ -55,2 +56,2 @@ }));

```
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc