Merge pull request #4476 from rmanny/remove-default-scope-oidc

Don't pass default as a scope to OIDC providers
This commit is contained in:
Patrik Oldsberg
2021-02-10 22:26:51 +01:00
committed by GitHub
2 changed files with 36 additions and 1 deletions
@@ -65,7 +65,7 @@ export class OidcAuthProvider implements OAuthHandlers {
return await executeRedirectStrategy(req, strategy, {
accessType: 'offline',
prompt: 'none',
scope: `${req.scope} default`,
scope: req.scope,
state: encodeState(req.state),
});
}