latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-14129143297.4 KB

0e52fe5f8d33

oauth

Oauth Google Callback

Handle the OAuth callback from Google.

Exchanges the authorization code for user info, creates/gets the user, issues a refresh token, and redirects to the app with the token in a URL hash fragment (never sent to the server or logged by proxies).

get/api/auth/oauth/google/callback

Query parameters

codestring nullable
statestring nullable
errorstring nullable

Cookies

oauth_statestring nullable

Response

Successful Response

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