Logs the user out - ends an OIDC session

  • This API is used to end an OIDC session through RP-initiated logout with the option to redirect users to a pre-defined URL.
  • The id_token is a mandatory request parameter to validate the request's authenticity.
  • A post_logout_redirect_uri may be specified to redirect the browser after the logout is performed. If provided, the value must be registered with OP.
  • The RP may specify a state to maintain the state between the logout request and the callback to the endpoint specified in the post_logout_redirect_uri parameter. If included, the OP passes this value back to the RP using the state parameter.
  • For more information on the EndSessionV2 API, see the Developer Documentation .
  • Language