Single sign-on (SSO)
Your team signs in to the dashboard through your identity provider (OpenID Connect). Every email domain needs a DNS proof before SSO applies to it. SSO is available on the Business and Scale plans.
Owners and admins set up SSO in the dashboard under Settings → SSO. The same configuration is available through the API at /v1/account/sso, with a key with scope full or admin (not a test key). A sub-account takes the SSO of its main account (403 inherited). On another plan the API answers 403 plan_limit.
Set up
- At your identity provider (Entra ID, Okta, Google Workspace and others with OpenID Connect) create an application. As the redirect URI enter the value the dashboard shows under SSO (
redirect_uri). - Enter in Sendtide:
| Field | Meaning |
|---|---|
issuer |
the https address of the provider. Sendtide reads /.well-known/openid-configuration right away, otherwise 422 sso_discovery_failed. |
client_id, client_secret |
the credentials of the application. The secret is stored encrypted and never returned, if you leave it out when changing, the old one stays. |
email_domains |
the email domains that may sign in. Webmail domains such as gmail.com do not work. |
default_role |
role of new users: admin, developer or readonly |
enforce |
enforces SSO, see below |
enabled |
turns SSO on or off |
Sign-in uses the authorization code flow with PKCE, a one-time state and a nonce. The provider must confirm email_verified. An SSO session opens only the account whose provider issued it.
DNS proof of domains
A domain in the configuration is first just a request. It counts for redirects and enforcement only once you have proved that you own it. The dashboard and GET /v1/account/sso show the record per domain:
| Type | Name | Value |
|---|---|---|
| TXT | _sendtide-sso.example.com |
sendtide-sso-verification=<token> |
The token is fixed per account and domain and does not change when you save again. Sendtide checks every 5 minutes. With “Check now” or POST /v1/account/sso/domains/{domain}/verify you check at once (at most 30 checks per 15 minutes). A verified sending domain (DKIM) of the same account counts automatically and needs no TXT record.
If another account has already verified the domain, the API answers 409 sso_domain_taken: whoever proves a domain first keeps it.
Enforce SSO
With enforce members can no longer sign in with a password. Owners keep a password with two-factor authentication as an emergency exit: every owner needs 2FA before you can turn enforcement on. Members who are also in other accounts without an SSO requirement keep signing in there with a password, but the session does not open the enforcing account. Before a domain is proved, neither the redirect nor enforcement applies.
With DELETE /v1/account/sso you remove SSO. Sessions that came from it end.
With MCP
If you sign in to the MCP server through SSO, the approval applies only to the account that SSO dictates. The error codes are under Errors and limits.