Skip to main content
POST
Google Oauth Callback

Body

application/json
code
string
required

Authorization code from Google OAuth

tenant_id
string<uuid> | null

Tenant ID to associate with the session

redirect_uri
string | null

Redirect URI used in the Google OAuth authorization request

Response

Successful Response

access_token
string
required

JWT access token

expires_in
integer
required

Token expiration time in seconds

user_id
string<uuid>
required

User's unique identifier

role
string
required

User's role in the tenant

token_type
string
default:bearer

Token type

tenant_id
string<uuid> | null

Active tenant ID