Authenticate users with Google OAuth for child accounts
Google OAuth
Token Verification
Parent Validation
User Resolution
Token Generation
Invalid input
- Request body validation failedMissing or invalid parentPublicKey
- Parent public key requiredInvalid parentPublicKey format
- Public key format validation failedInvalid parent public key
- Parent account not foundInvalid Google token
- Google ID token verification failedEmail not verified by Google
- Google account email not verifiedFailed to create or update user
- Database operation failedFailed to generate authentication token
- JWT generation failedInternal Server Error
- Unexpected server erroropenid
- OpenID Connect authenticationemail
- Access to user’s email addressprofile
- Access to basic profile information