famous-jackal-2829
10/22/2025, 8:12 AMmagnificent-energy-493
You're calling administrative session revocation APIs, not OIDC logout. Revoking consent/login sessions server-side doesn't trigger logout callbacks to your apps.
Correct Approach: Redirect user to Hydra's OIDC logout endpoint:
Copy codeGET /oauth2/sessions/logout?id_token_hint={token}&post_logout_redirect_uri={uri}
This triggers OIDC logout protocol, notifying apps via their registered callbacks.
(must be configured per client):
1.- Hydra sends browser redirects to this URLfrontchannel_logout_uri
2.please read the section about logout in this blogpost to understand this better: https://www.ory.com/blog/oauth2-openid-connect-do-you-need-use-cases-examples- Hydra POSTs logout tokens here (async)backchannel_logout_uri
famous-jackal-2829
10/23/2025, 7:38 AM