Sign-in (browser)

Sign-in callback

WorkOS return URL: exchange the code, start the session, and redirect.

GET/v1/auth/callbackPublic

Authorization

None. Anyone can call this endpoint.

Query parameters

codestring | null
statestring | null
errorstring | null

Responses

303

Redirect to /overview when signed in, /sign-in?sign_in=failed when the sign-in was cancelled, denied, or rejected, /sign-in?sign_in=google_off when the provider refused to start it, /sign-in?sign_in=unavailable when the provider could not be reached.

500application/json

Unexpected failure: INTERNAL_ERROR.

INTERNAL_ERROR
503application/json

AUTH_NOT_CONFIGURED (not retryable).

AUTH_NOT_CONFIGURED