{"revision":"9f11a31dd2951db0","language":"en","entry":{"id":"oidc-logout","kind":"endpoint","group":"oidc","title":"Sign out of an app","method":"GET","path":"/oidc/logout","paths":[],"summary":"RP-initiated logout. With id_token_hint the tokens of that login end; the browser goes back only to an address the app registered exactly.","response":"A redirect to post_logout_redirect_uri with state, or a page that says the app's session ended.","parameters":[{"name":"id_token_hint","in":"query","required":false,"description":"An ID token of this provider for the app, expired or not."},{"name":"post_logout_redirect_uri","in":"query","required":false,"description":"One the app registered."},{"name":"state","in":"query","required":false,"description":"Returned as is."},{"name":"client_id","in":"query","required":false,"description":"Without id_token_hint, names the app."}],"sample":"/oidc/logout","access":"public","base":"directory","notes":["Veil keeps no session to end: a login is a signature. Logout ends the tokens."],"errors":["429 rate_limited","500 internal_error","503 busy"],"related":["sign-in-with-veil"],"sections":[{"kind":"code","language":"shell","code":"curl -fsS 'https://veil.rip/oidc/logout'"}],"live":false,"responses":[{"status":200,"contentType":"text/html","description":"A redirect to post_logout_redirect_uri with state, or a page that says the app's session ended.","fields":[]}],"responseObjects":[],"errorFormat":"html","errorDetails":[{"status":429,"code":"rate_limited","description":"An anonymous, signed-request or API-key allowance was exceeded.","action":"Wait at least `Retry-After` seconds. Share a queue and retry budget across your workers.","scope":"common"},{"status":500,"code":"internal_error","description":"An unexpected server error occurred. Internal details are not returned.","action":"Retry reads with bounded backoff. Check write results before sending a new signed operation.","scope":"common"},{"status":503,"code":"busy","description":"The application has reached a temporary concurrency or database limit.","action":"Wait `Retry-After` seconds and retry with bounded backoff.","scope":"common"}],"responseHeaders":[{"name":"Cache-Control","value":"no-store","description":"Never cached."}],"documentationUrl":"https://veil.rip/docs/oidc-logout","supportsBrowserFetch":false,"browserMode":"local-or-server"}}