v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-0318386446.4 KB

Oauth Callback

Handle OAuth callback from GoTrue (Google, GitHub).

The client-side callback page extracts tokens from the URL hash fragment and POSTs them here in the request body (tokens never appear in URLs/logs).

post/api/v1/auth/callback

Request body

access_tokenstring required
refresh_tokenstring
invite_codestring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v1/auth/callback:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}