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

0e52fe5f8d33

oauth

Google Oauth Exchange

Exchange a Google authorization code for JWT tokens (JSON API).

Legacy endpoint for clients that handle the OAuth redirect themselves.

post/api/auth/oauth/google/exchange

Request body

codestring required
statestring required

Response

Successful Response

access_tokenstring required
refresh_tokenstring required
token_typestring
user_idstring required