Google OAuth — web callback
Google redirects here after consent. Exchanges the code for tokens, upserts the user, then redirects to the web app with Avycenna tokens in the URL fragment.
curl -X GET "https://example.com/api/v1/auth/oauth/google/callback"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Google OAuth — web redirect GET
Redirect the browser to Google's OAuth consent screen. After approval, Google redirects back to `/oauth/google/callback` which issues tokens and redirects to the app.
Google sign-in — native apps POST
Native sign-in with a Google `id_token` (Android Credential Manager, Google Sign-In for iOS). The token is verified with Google and must be issued to one of this deployment's client IDs. Returns Avycenna tokens.