Skip to main content
The /logout endpoint is a redirection endpoint. It signs the user out and redirects either to an authorized sign-out URL for your app client, or to the /login endpoint. The available parameters in a GET request to the /logout endpoint are tailored to Amazon Cognito hosted UI use cases.
See AWS Cognito Logout Endpoint Documentation for more information

Logout Request

Make a GET request to https://auth.smokeball.com/oauth2/logout with the following query parameters:
string
Optional: Bearer token for authenticated logout requests.Example: "Bearer dmcxd329ujdmkemkd349r"
string
required
Must be set to "code" for OAuth2 logout redirection.Ensures the authorization server returns an authorization code.
string
required
The client identifier issued during application registration.Used to verify the application initiating logout. Example: "xxxxx"
string
required
The URI where the user will be redirected after logout.Must match a pre-registered logout redirect URI. Example: "https://xxxxxxxx"

Request Headers

  • Authorization: Bearer token

Response

The logout endpoint responds with a status code indicating the success (200) or failure of the logout operation.