Closed markhobson closed 1 month ago
Logout currently assumes that the HTTP session contains the id_token
in order to log out of GOV.UK One Login. This could be fixed in two ways:
@bearer_auth
to /logout
to force reauthentication to provide us with an id_token
in the HTTP session/logout
if there is no HTTP sessionAn issue with (2) is that we won't have an id_token
to sign the user out of GOV.UK One Login. This can be mitigated by also not supplying post_logout_redirect_uri
but the user won't end up on our service start page.
Went for (2) since we don't currently redirect to original request when reauthenticating.
The following has been observed:
The error in the logs is: