fix(auth/oidc): clean-up oidcIdToken session variable

When the OIDC login flow for a new user is cancelled, the oidcIdToken
session variable should be cleared as well.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2024-09-13 16:30:20 +02:00 committed by Philip Molares
parent c4c5cbd5d0
commit 88cfd6a974

View file

@ -109,5 +109,6 @@ export class AuthController {
request.session.authProviderIdentifier = undefined;
request.session.authProviderType = undefined;
request.session.providerUserId = undefined;
request.session.oidcIdToken = undefined;
}
}