Indox Auth API - OSLLM AI
string · required
Properties for GoogleOAuthInitResponse: string · requiredstring · required
Initiate OAuth flow for a provider (google or apple)
POST
/auth/api/v1/social/{provider}/initiate/
Initiate OAuth2 authentication flow for the specified provider.
Supported Providers:
google: Google OAuth2 flowapple: Apple Sign-In OAuth flow
Email Constraint Enforcement:
- Users must use the same email for both traditional login and social OAuth
- This prevents users from having multiple email addresses for authentication
- If a user is already logged in, they can only authenticate with the same email
No authentication required
path Parameters
providerInitiate OAuth flow for a provider (google or apple) › Responses
OK
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: authorization_url, message | |
| type = object · requires: authorization_url, message |
Response schema for Google OAuth2 initiation.
authorization_urlmessage