Single sign-on (SSO) lets your team sign in to Mailcandor through your company’s identity provider. Each team has its own connection, set up by an admin.
Before you start
- You must be an admin on the team.
- At least one domain must be verified under Domains. SSO only accepts addresses on your team’s verified sending domains, because proving DNS control is what lets a team speak for an address.
- You need admin access to your identity provider.
Step 1: Fill in the Mailcandor side
- Open Security in the left menu.
- Under Single sign-on, choose SAML 2.0 or OpenID Connect.
- Tick the Email domains that may sign in this way.
- Pick the Default role new people get the first time they sign in. Viewer is the default; you can change anyone’s role on the Team page afterwards.
- Leave Turn on single sign-on off for now, and press Save single sign-on.
After saving, a section called Give these to your identity provider appears.
Step 2: Set up your identity provider
For SAML 2.0, create a SAML app and use:
| Mailcandor shows | Put it in your provider as |
|---|---|
| Entity ID / metadata URL | Audience URI or SP entity ID (many providers can import the metadata URL) |
| ACS (reply) URL | Assertion consumer service or reply URL |
| Name ID: Email address | Name ID format: email address |
For OpenID Connect, create a web app and use:
| Mailcandor shows | Put it in your provider as |
|---|---|
| Redirect URI | Sign-in redirect or callback URL |
Scopes: openid email profile |
Scopes to grant |
Assign the app to the people who should have access.
Step 3: Add the provider’s details to Mailcandor
Back on Security, under Your identity provider:
- SAML: upload IdP metadata (XML) from your provider, or fill in IdP entity ID, IdP sign-in URL and IdP signing certificate yourself.
- OpenID Connect: enter the Issuer URL (for example
https://yourcompany.okta.com), Client ID and Client secret. The secret is saved; leave the field empty later to keep it.
Turn on Turn on single sign-on and press Save single sign-on. You see “Single sign-on is on.” For OpenID Connect, Mailcandor checks the issuer URL when you save.
Step 4: Sign in
People go to the Mailcandor sign-in page, choose Sign in with single sign-on, enter their Work email, and press Continue. They are sent to your provider and come back signed in. The sign-in page link is also listed under Give these to your identity provider.
The first sign-in adds the person to the team with the default role, recorded in the audit log as member.joined with via: sso. Changes to the connection are recorded as security.sso_updated.
People who sign in through SSO are not asked for Mailcandor two-factor, even if the team requires it: your provider handles that. See Two-factor authentication.
Turn SSO off
On Security, turn off Turn on single sign-on and save. You see “Saved. Single sign-on is off.” People with a password can still sign in with it.
If it does not work
- “Verify a sending domain first.” No domain on the team is verified. See Domain not verifying.
- “Add the identity provider details (or its metadata file) and pick at least one domain before turning it on.” A SAML field or the domain choice is missing.
- “Add the issuer, client ID and client secret, and pick at least one domain, before turning it on.” An OIDC field is missing.
- “Single sign-on is not set up for that address.” The email’s domain is not ticked, SSO is off, or the domain is no longer verified.
- “This team’s single sign-on is not set up for … addresses.” Your provider sent an address on a domain you did not tick. Check the email attribute in your provider.
- “Your identity provider did not send an email address.” Map the user’s email to the Name ID (SAML) or grant the
emailscope (OIDC).
See Security for an overview.