API Gateway
AuthProviders
Generic Auth Init
Starts generic authentication. Provide either a provider slug or a domain to auto-discover the SSO provider.
get/v2/login
Query parameters
providerstring
Auth provider slug. Required if domain is not provided.
domainstring
Email domain (e.g. "acme.com"). When provided, auto-discovers the SSO provider matching this domain. If no SSO provider matches, returns a 200 JSON response with provider "local".
Response
SSO or local authentication identifier
Example response
{
"provider": "local"
}