trying to end the OIDC session with a logout. I don’t find any documentation on this but find some clues in the demo page.
I request a logout with the following uri and this renders a logout page with a logout button. When logout button is clicked no redirect is made. Is it possible to have automatic logout (without the button click) and redirect? How do I achieve this?
In order to log automatically log out the user you need to provide an ID token of the user as a query parameter
post_logout_redirect_uri has no effect unless the
id_token_hint parameter is provided.
id_token_hint is used as proof that your application has previously authenticated the user, and is used to verify that your
post_logout_redirect_uri is configured on your client.