Open
Description
The issue I have found was with the oidc session management (checkSession) in case of code flow without silent refresh.
When the OP iframe responds with changed, a refresh token is used to get a new set of tokens, in case of error a logout is initiated. However I cannot find in the code where on successfull token refresh, we get the new session_state from OP (as far as the spec this is only received through an auth request, not a req to the token endpoint). This is listed in the oidc spec, that on changed a new id token is recieved together with a new session_state.