Overview
This article explains how to enable the Open ID Connect (OIDC) logout URL to be available in the OIDC discovery endpoint.
curl -X GET https://acme.eu.auth0.com/.well-known/openid-configuration
{
"issuer": "https://acme.eu.auth0.com/",
"authorization_endpoint": "https://acme.eu.auth0.com/authorize",
...
"end_session_endpoint": "https://acme.eu.auth0.com/oidc/logout"
}
Applies To
- Open ID Connect (OIDC)
- Logout URL
Cause
The Relying Party (RP)-initiated logout endpoint, also known as the OIDC Endpoint logout endpoint, is currently available for all Auth0 tenants. For Auth0 tenants created on or after 14 November 2023, RP-Initiated Logout End Session Endpoint Discovery is enabled by default.
Solution
Follow the video or steps below.
The OIDC Logout URL can be enabled in two ways:
- Auth0 Dashboard
- Management API
Auth0 Dashboard
- Open the Auth0 Dashboard.
- Navigate to Settings > Advanced.
- Enable the toggle for RP-Initiated Logout End Session Endpoint Discovery.
- Click Save.
Management API
- By using the Update tenant settings Management API:
- Set
rp_logout_end_session_endpoint_discovery
totrue, E.g,
{
"oidc_logout": {
"rp_logout_end_session_endpoint_discovery": true
}
}