diff --git a/webadmin/src/js/client.js b/webadmin/src/js/client.js index 7d4b6cd7b..fac88be84 100644 --- a/webadmin/src/js/client.js +++ b/webadmin/src/js/client.js @@ -610,7 +610,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification', this._userInfo = {}; var callbackURL = window.location.protocol + '//' + window.location.host + '/login_callback.html'; - var scope = 'root,profile,apps,roleAdmin'; + var scope = 'root,profile,apps,roleUser'; // generate a state id to protect agains csrf var state = Math.floor((1 + Math.random()) * 0x1000000000000).toString(16).substring(1);