OpenFolia

Sign out

POST
/auth/sign-out

Ends the session of the request's cookie (__Host-openfolia-session) and removes the cookie, recorded as user.sign-out. Answers the identity provider's sign-out address in meta.signOutUrl (coming back to the editor's sign-in page, which must be registered with the provider as a post-logout redirect), or null. Always 200, with or without a session.

Response Body

application/vnd.api+json
  1. response
meta*
Example Request
curl -X POST 'http://localhost:3000/auth/sign-out'
Example Response
{  "meta": {    "signOutUrl": "string"  }}