oauth_login
Authenticate or sign up using a Google OIDC ID token. If the wallet lacks an email, associate the email first with the same token, then retry.
Instructions
Log in or sign up using a Google ID token. Google OIDC only — there is no Apple/GitHub branch. If the wallet has no associated email yet, the backend returns 404 with internal code 108 and the caller must invoke associate_email first (using the same idToken) before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | Optional chain id hint for wallet resolution. | |
| idToken | Yes | Google-issued OIDC ID token (JWT). |