Logout

When the customer logs out of your application, first clear your own session and tokens, then (optionally) redirect the browser to the INEX ID logout endpoint so they are signed out of INEX ID too.

GET {issuer}/oauth/logout

GET {issuer}/oauth/logout with these parameters:

Field Required Description
id_token_hint Recommended The id_token received at sign-in (it may be expired). Says which account to sign out and names your client.
post_logout_redirect_uri No Where to send the customer afterwards. Must be one of your client's registered addresses — otherwise it is ignored.
client_id Conditional Required for post_logout_redirect_uri when you do not send id_token_hint.
state No Returned unchanged on post_logout_redirect_uri.

Behaviour

  • One INEX ID browser may hold several signed-in accounts. With id_token_hint only the account in the hint is signed out; without it, only the active account.
  • Logout does not revoke access/refresh tokens you already hold — delete them yourself.
  • Without a registered post_logout_redirect_uri the customer stays on the INEX ID page.
Next Next: creating a parcel for an SSO customer