Merge pull request #1789 from GoWind/remove-scope-check
(auth-backend) Bugfix: Do not throw Exception if scopes dont exist. Refs #1786
This commit is contained in:
@@ -104,10 +104,6 @@ export class OAuthProvider implements AuthProviderRouteHandlers {
|
||||
// retrieve scopes from request
|
||||
const scope = req.query.scope?.toString() ?? '';
|
||||
|
||||
if (!scope) {
|
||||
throw new InputError('missing scope parameter');
|
||||
}
|
||||
|
||||
if (this.options.persistScopes) {
|
||||
this.setScopesCookie(res, scope);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user