Google OAuth
Claim Google OAuth token bundle
Consumes a one-time Google OAuth session ticket, requires the authenticated user to match the user that started it, persists the refresh token when present, and returns the token bundle to the desktop.
post/v1/google-oauth/claim
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/google-oauth/claim
- Auth: HTTP bearer
Request body
Example request
{
"session": "state_abc123"
}Response
Claimed Google token bundle.
Example response
{
"access_token": "example-access-token",
"expires_at": 1790784000,
"refresh_token": "1//refresh",
"scope": "openid email profile https://www.googleapis.com/auth/gmail.readonly",
"token_type": "Bearer"
}Changes
No operation changes recorded.