Authentication
Initiate OAuth login flow
Changed onGenerates OAuth URL for authentication with external providers (Auth0)
get/accounts/oauth/login
Request
- Base URLhttps://api.quiva.ai
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
accountstring required
Account identifier for the login request
connectionstring
OAuth connection type (e.g., github, google-oauth2)
Headers
Refererstring required
Referer URL
Response
OAuth URL generated successfully
Example response
{
"data": {
"oauth_url": "https://domain.auth0.com/authorize?client_id=...&response_type=code&redirect_uri=...&state=..."
}
}Changes
- breaking
added the new required
headerrequest parameterReferer - warning
removed the optional property
from the response with the status - info
api operation id
getOAuthLoginUrlwas added - info
added the required property
to the response with the status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking