Sign-out fails for a session from the previous identity provider #352
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#352
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Signing out fails for a session that was started before the identity provider changed.
The portal keeps the
id_tokenfrom sign-in and sends it asid_token_hintto the provider's end-session endpoint. After the Keycloak cutover (bitborg/bitborg-infra#575), a session from the old provider holds a token issued byauth.bitborg.se. That request is redirected toid.bitborg.se, and Keycloak rejects the foreign hint with an error page.Seen on prod 2026-10-11: sign-out from a pre-cutover session showed an error. A fresh session signs in and out fine.
id_token_hintonly when the stored token'sissequals the currentOIDC_ISSUER. Otherwise clear the local session and redirect to the portal home.isssigns out without calling the end-session endpoint.Done when: signing out of a session with a foreign issuer clears it without an error page.