Resolve authentication methods for an email domain or tenant slug
GET
/v1/auth/providers
const url = 'https://example.com/v1/auth/providers';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/auth/providersParameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” domain
string
Email domain to look up (e.g. “acme.com”).
slug
string
Tenant slug for direct resolution when domain lookup is unavailable.
Responses
Section titled “ Responses ”Domain found. Returns tenant UUID and available auth methods.
Media type application/json
object
tenant_id
required
Tenant UUID for the domain.
string format: uuid
methods
required
Authentication methods available for this tenant (e.g. “oidc”, “local”).
Array<string>
Example generated
{ "tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "methods": [ "example" ]}Domain not registered.
Media type application/json
object
code
required
Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).
string
message
required
Human-readable description of the error.
string
details
Optional additional context about the error.
object
key
additional properties
any
notices
Policy notices from determining Cedar rules, if applicable.
Array<string>
Example generated
{ "code": "example", "message": "example", "details": {}, "notices": [ "example" ]}