auth-*: test fixes for new CookieScopeManager

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-13 14:04:05 +02:00
parent dd99788e6b
commit bdabd9952e
5 changed files with 5 additions and 5 deletions
@@ -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');
}