OpenFolia

Finish signing in (browser)

GET
/auth/{provider}/callback

Where the identity provider sends the browser back. Checks the answer against the sealed cookie, finds or makes the person's user, applies their groups' roles and starts a session: the cookie __Host-openfolia-session (Secure, HttpOnly, SameSite=Lax) and a 303 to the editor at returnTo. Anything else is a 303 to the editor's sign-in page with ?error= (provider-unavailable, access-denied, sign-in-failed, sign-in-expired, user-deactivated, sign-in-not-allowed), never more detail. Takes whatever query the provider sends.

Path Parameters

provider*string

Response Body

To the editor, signed in; or to its sign-in page, with ?error=.

Example Request
curl -X GET 'http://localhost:3000/auth/oidc/callback'
Example Response303
Empty