OpenFolia

Begin signing in (browser)

GET
/auth/{provider}/sign-in

Where the editor's sign-in button sends the browser: a 303 to the identity provider, with a sealed cookie (__Host-openfolia-sign-in, ten minutes) holding what the callback checks (state, nonce, PKCE verifier). returnTo: a path inside the editor to go back to (default /). When the provider cannot be reached, a 303 to the editor's sign-in page with ?error=provider-unavailable.

Path Parameters

provider*string

Query Parameters

returnTo?unknown

Response Body

To the provider.

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