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
Request
- Base URLhttps://api.studio.prisme.ai
- Auth
- HTTP bearer
- or API key in header x-prismeai-api-key
- or HTTP bearer and API key in header x-prismeai-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.