auth-*: test fixes for new CookieScopeManager
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ export class CookieScopeManager {
|
||||
}
|
||||
|
||||
const scope = ctx.state.scope;
|
||||
if (!scope) {
|
||||
if (scope === undefined) {
|
||||
throw new AuthenticationError('No scope found in OAuth state');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user