Oauth 2.0: use space as delimiter for scopes.
This commit is contained in:
@@ -147,7 +147,7 @@ function handleLogin() {
|
||||
url += '&redirect_uri=' + encodeURIComponent(redirectUrl);
|
||||
url += '&realm=' + encodeURIComponent(realm);
|
||||
url += '&client_id=' + encodeURIComponent(clientId);
|
||||
url += '&scope=' + encodeURIComponent(scopes);
|
||||
url += '&scope=' + encodeURIComponent(scopes.join(' '));
|
||||
|
||||
window.open(url);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user