Skip to main content

Google sign-in for mobile (ID token)

POST 

/v2/auth/google/mobile

Mobile-native Google sign-in. The app obtains a Google ID token via the Google Sign-In SDK and sends it here; the backend verifies it server-side (audience must be the web client id or GOOGLE_MOBILE_CLIENT_ID) and returns the same { token, user } shape as login. No redirect/callback URL involved — works on Android/iOS regardless of the web OAuth redirect config.

Request​

Responses​

Logged in (token + user)