Gamma API
AuthenticationSign-in configuration

Find the identity provider for a domain

GET
/api/auth-config/sso-domain

Whether an email domain signs in through single sign-on, and which provider. Without domain, providerId is null. Needs no session.

Who may call it: Anyone; no session needed.

Query Parameters

domain?string

An email domain, e.g. acme.com — never a whole address.

Response Body

OK.

application/json
  1. response
providerId*|

The identity provider the domain signs in through; null when it signs in with a password.

Example Request
curl -X GET 'http://localhost:3000/api/auth-config/sso-domain'
Example Response
{  "providerId": "string"}