You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excellent question. So, the logoutRequest docstring goes into detail on each parameter, but I'll summarize:
id_token_hint (required for our workflow) - this is the serialized ID Token from the session object. It serves to authenticate the user to the logout endpoint, etc.
post_logout_redirect_uri (optional but useful) - the url that the user gets redirected to after logout. Must be pre-registered btw (during the time of client dynamic registration).
state (highly optional, depends on the app) - Opaque value used by the RP to maintain state between the logout request and the callback to the endpoint specified by the post_logout_redirect_uri query parameter.
Activity
kjetilk commentedon Oct 2, 2018
RubenVerborgh commentedon Oct 2, 2018
kjetilk commentedon Oct 3, 2018
RubenVerborgh commentedon Oct 6, 2018
@dmitrizagidulin What parameters should I call
logoutRequestwith? I currently just get/logoutback; no OIDC parameters in there.dmitrizagidulin commentedon Oct 6, 2018
Excellent question. So, the
logoutRequestdocstring goes into detail on each parameter, but I'll summarize:id_token_hint(required for our workflow) - this is the serialized ID Token from the session object. It serves to authenticate the user to the logout endpoint, etc.post_logout_redirect_uri(optional but useful) - the url that the user gets redirected to after logout. Must be pre-registered btw (during the time of client dynamic registration).state(highly optional, depends on the app) - Opaque value used by the RP to maintain state between the logout request and the callback to the endpoint specified by thepost_logout_redirect_uriquery parameter.Do those make sense?
RubenVerborgh commentedon Oct 6, 2018
@dmitrizagidulin But where do I get
id_token_hintfrom?dmitrizagidulin commentedon Oct 6, 2018
It’s just the ‘id_token’ from session
RubenVerborgh commentedon Oct 6, 2018
Ok let me try that, thanks!
Logout using OIDC credentials instead of cookies.