Open iainmcgin opened 8 years ago
This became more of a problem now with this issue in KeyCloak 18: https://github.com/keycloak/keycloak/issues/12680
where to find the value of id_token_hint
?
where to find the value of id_token_hint ?
I'm not sure exactly what you are asking for but here is a description in §2. RP-Initiated Logout, https://openid.net/specs/openid-connect-rpinitiated-1_0.html
"RECOMMENDED. ID Token previously issued by the OP to the RP passed to the Logout Endpoint as a hint about the End-User's current authenticated session with the Client. This is used as an indication of the identity of the End-User that the RP is requesting be logged out by the OP."
This issue can be closed.
"id_token_hint" is actually the id_token value. And it is already possible to send this parameter:
checkNotNull(authorizationService).performEndSessionRequest(
EndSessionRequest.Builder(checkNotNull(authStateManager.current.authorizationServiceConfiguration))
.setAdditionalParameters(mapOf(Pair("client_id", CLIENT_ID)))
.setIdTokenHint(authStateManager.current.idToken)
.setPostLogoutRedirectUri(REDIRECT_URL)
.build(),
completedIntent
)
This issue can not be closed in my opinion as the initial request seems still to be valid. The code you mentioned @alixwar is only for logout. The initial request was for the authorization request. I would also be interested in an current status of this request. Thanks.
OpenID Connect Core 1.0, Section 3.1.2.1,
id_token_hint
parameter: