Palbase Auth API · API
POST
/oauth/logoutRP-initiated logout (form post)
OpenID Connect RP-Initiated Logout 1.0, form-post variant of GET /oauth/logout: the same parameters as a form body. Ends the user's tokens for the client named by id_token_hint (or client_id) and redirects the browser to post_logout_redirect_uri when it is registered for that client, with state appended.
Called by .
curl
curl -X POST "https://<your-ref>.palbase.studio/oauth/logout" \
-H "content-type: application/x-www-form-urlencoded" \
--data-binary @fileResponses
302Session ended; the browser is sent on
400Invalid logout request (`invalid_request`: bad id_token_hint, client_id not matching it, unregistered post_logout_redirect_uri; `server_error`: unknown client or a storage failure)
401Missing, invalid, or expired credentials
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation OauthLogoutPost of auth's contract.