Skip to main content

OpenID Connect Logout​

This endpoint handles the user logout process in Quran.Foundation's OAuth2 & OpenID Connect system. When called, it:

  1. Ends the user's current session
  2. Revokes associated access and refresh tokens

To redirect users back to your app after logout, include post_logout_redirect_uri. The redirect URI must be pre-registered in your OAuth2 client configuration.

The logout process follows the OpenID Connect specifications:

Query Parameters
    id_token_hint string

    The ID token received during authentication. Optional but recommended for identifying the user session.

    post_logout_redirect_uri string

    Where to redirect the user after logout. Must be pre-registered in your OAuth2 client's post_logout_redirect_uris.

    state string

    Opaque value passed back to the post_logout_redirect_uri for CSRF protection.

Responses

Successful logout. The user will be redirected to complete the logout process.

Loading...