Google OAuth - Handle Callback
Authentication
Google OAuth - Handle Callback
Complete Google OAuth authentication with the authorization code.
POST
Google OAuth - Handle Callback
Authentication
No authentication required.Body Parameters
string
required
Authorization code from Google.
string
State parameter for CSRF protection.
Example Request
Response
Response Fields
string
JWT token for authenticated requests.
object
User profile information.
boolean
Whether this is a new account created via OAuth.
Status Codes
Notes
- OAuth users don’t need to verify their email separately
- If a user with the same email already exists (registered via email/password), the accounts are linked
- The
isNewUserfield indicates whether a new account was created or an existing one was used

