Generate the authorization URL for a supported OAuth provider. Redirect the user to this URL to begin the OAuth flow. The URL includes a PKCE challenge for enhanced security.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/eggarcia98/auth-backend/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint uses the PKCE (Proof Key for Code Exchange) flow. After the user authenticates, the provider redirects back to your frontend with an authorization
code. Pass that code to OAuth callback to complete authentication.Request
GET /api/v1/auth/oauth/:provider
No authentication required.
Path parameters
The OAuth provider to use. Accepted values:
google, apple.Response
Indicates whether the request succeeded. Always
true on success.Examples
Success response
200
Error responses
400