Keycloak in 25.0 made a change ChangeKeycloak now does not display the message You are already logged in to the end user when an authentication session expires and user is already logged-in. Instead it redirects the error about the expired authentication session to the client application, so the client can act on it and restart authentication
This new error gets thrown from the authorize_view function. However, since that function is invoked through a declaration @oidc.require_login there is no way to catch the error and restart the authentication.
If the authorize_view cloud instead restart the authentication look when the error is received that would be good.
Keycloak in 25.0 made a change Change
Keycloak now does not display the message You are already logged in to the end user when an authentication session expires and user is already logged-in. Instead it redirects the error about the expired authentication session to the client application, so the client can act on it and restart authentication
This new error gets thrown from the authorize_view function. However, since that function is invoked through a declaration@oidc.require_login
there is no way to catch the error and restart the authentication.If the authorize_view cloud instead restart the authentication look when the error is received that would be good.