Get the SSO logout URL
GET
/auth/logout-url
const url = 'https://api.krakenkey.io/auth/logout-url';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.krakenkey.io/auth/logout-urlReturns the Authentik end-session endpoint and the post-logout redirect URI. The client adds its ID token as id_token_hint and sends the browser there, so the token goes to Authentik and not to this API.
Responses
Section titled “Responses”End-session URL and post-logout redirect URI
Media typeapplication/json
object
url
string
postLogoutRedirectUri
string
Example
{ "url": "https://auth.krakenkey.io/application/o/krakenkey/end-session/", "postLogoutRedirectUri": "https://app.krakenkey.io"}Authentik is not configured