Single sign-on
Connect your identity provider by OIDC or SAML, and what turning on Require SSO does.
Before you start
- Single sign-on comes with the 100,000 and 500,000 mail plans. An admin sets it up on Settings → Single sign-on.
- It signs in addresses on your SSO domains: your own domains that your workspace verified first, each one exact name. For your organisation's own email domain, such as
acme.testitself, ask Araval support. - Anyone your provider vouches for on those domains gets an account, as a member, so give Mayfly only to the right people there. With SCIM provisioning on, nobody does: your directory adds people, and turns them off when they leave.
- People sign in at
https://mayfly.aravaltech.com/sign-in/ssowith their work email.
OIDC
Mayfly takes the ID token straight back from the browser, the implicit flow, with no client secret. The provider must sign it with an RS, PS, ES or EdDSA key, never HS256, and send email with email_verified true.
- OIDC redirect URI
https://mayfly.aravaltech.com/api/v1/auth/sso/oidc/callback- OIDC response
id_token, posted back (form_post)- OIDC scopes
openid email profile
Then choose Set up OIDC, with the Issuer URL exactly as your tokens' iss writes it, and the Client ID. Within seconds the page says Ready, or Failing and why.
SAML
- SAML ACS URL
https://mayfly.aravaltech.com/api/v1/auth/sso/saml/acs- SAML entity ID and metadata
https://mayfly.aravaltech.com/api/v1/auth/sso/saml/metadata/<workspace id>- SAML NameID
Email address, with assertions signed
The page shows your entity ID with your workspace's id in it. Sign the assertions, don't encrypt them, and send the email as the NameID or as an email or mail attribute. Then choose Set up SAML, paste your provider's metadata, and check the entity ID, sign-in URL and certificates it fills in.
Require SSO
Sign in with SSO yourself first, after the settings' last change. Then turn on Require SSO:
- Nobody signs in with a password, and invites can't be accepted.
- Every session a password started ends.
- API keys keep working.
- People whose email is on no SSO domain are shut out. The page counts them first.
Removing someone from your provider stops their next SSO sign-in, but not a session they already have. To end those at once, use SCIM, or remove them on Settings → Team.
Turn it off before changing or removing the provider. If no admin can sign in at all, write to Araval support at contact@araval.in. They can turn Require SSO off and send one admin a one-time link to set a password. SSO itself stays on.