Google OAuth Verify API for SSO Sign In

post/api/v2/google/oauth/verify

Request Body

id_token string required
The ID token issued by Google.
intent string required
The intent of the OAuth flow: 'signin' or 'signup'
Allowed values: signin signup
acceptTOS boolean
Whether the user has accepted the Terms of Service. Only processed during signup.

200 Response

accessToken string required
expires number required

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

401 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id