roleUser is gone as well

This commit is contained in:
Johannes Zellner
2015-10-15 12:50:48 +02:00
parent 0aedff4fec
commit ae1bfaf0c8
7 changed files with 20 additions and 20 deletions

View File

@@ -133,7 +133,7 @@ function authenticate(req, res, next) {
req.sessionData.clientSecret = result.clientSecret;
var callbackUrl = result.redirectURI + CALLBACK_URI;
var scope = 'profile,roleUser';
var scope = 'profile';
var oauthLogin = config.adminOrigin() + '/api/v1/oauth/dialog/authorize?response_type=code&client_id=' + result.id + '&redirect_uri=' + callbackUrl + '&scope=' + scope;
debug('begin OAuth flow for client %s.', result.name);