Hi @vishnu udayan , it looks like the session_id
parameter is being sent in the logout request, but the issuer
parameter is missing. Both parameters are required in the logout request.
Make sure that the issuer
parameter is included in the logout request. The issuer
parameter should contain the URL of the issuer of the ID token that was used to authenticate the user. In your case, this would be the URL of your Keycloak instance.
Also verify that the id_token_hint
parameter is included in the logout request. This parameter should contain the ID token that was used to authenticate the user.
Here is an example of a properly formatted logout request:
https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/logout?
post_logout_redirect_uri=https%3A%2F%2Fdomain%2Fsso%2Frealms%2Frealm%2Fbroker%2Foidc%2Fendpoint%2Flogout_response&
id_token_hint={id_token}&
session_state={session_state}&
issuer={issuer}
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James