att-express-auth
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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 @@ })); | ||
``` | ||
``` |
8137
56