Any SAML provider
Connect any SAML 2.0 identity provider to Dessn, such as Microsoft Entra ID, Google Workspace, Ping or OneLogin. Every value, and what Dessn requires.
Rolling out after OpenID Connect
SAML 2.0 is switched on after OpenID Connect. You can set your IdP up with these values now; ask us when you want SAML on for your team. If your IdP supports OpenID Connect, that is the quickest way in.
You need to be an owner of your Dessn team, and able to create apps in your identity provider (IdP). SSO is rolling out to Enterprise teams, switched on per team by Dessn: see the overview for how it works and what it checks. For step-by-step guides, see Okta and JumpCloud.
The values
Your connection key is the last part of the URLs below. Copy each URL from Team settings › Security, where your key is filled in.
| In your IdP | Value |
|---|---|
| ACS URL (Assertion Consumer Service; also called the Single sign-on URL, the Recipient and the Destination) | https://create.dessn.ai/api/auth/sso/saml/acs/<connection-key> |
| SP entity ID (Audience URI) | https://create.dessn.ai/api/auth/sso/saml/metadata/<connection-key> |
| SP metadata URL (if your IdP imports metadata) | https://create.dessn.ai/api/auth/sso/saml/metadata/<connection-key>: the same URL as the entity ID |
| NameID format | urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress (recommended) |
| NameID value | The person's email address, or another stable identifier plus an email attribute |
| Attributes | email (required unless the NameID is the email address); firstName and lastName (optional) |
| Signing | Sign the assertion, with RSA-SHA256 and a SHA-256 digest (RSA-SHA512 and SHA-512 work too). Signing the response as well is fine |
| Assertion encryption | Off |
| Default RelayState | Empty |
| Login URL (optional, for a dashboard tile) | https://create.dessn.ai/login?sso=<connection-key>: copy Login URL (app tile) from Dessn |
Set it up
In Dessn: verify your domain
Open create.dessn.ai/w/settings/security. Under Domains, add your email domain, add the TXT record Dessn shows at your DNS provider, then press Verify. Under Identity provider, choose SAML: Dessn shows the ACS URL, SP entity ID and SP metadata URL, with your connection key filled in.
In your IdP: create the app
- Create a SAML 2.0 application.
- Enter the ACS URL and the SP entity ID, or import Dessn's SP metadata from its URL.
- Set the NameID to the person's email address, with the
emailAddressformat. - Add the attributes
email, and optionallyfirstNameandlastName. - Sign the assertion with RSA-SHA256. Leave assertion encryption off.
- Assign the people or groups who should use Dessn.
- Copy your IdP's metadata URL, or download its metadata XML.
In Dessn: connect it
Under Identity provider, with SAML chosen, paste the Metadata URL (it must start with https://), or put
the XML in Metadata XML (paste it, or Upload a file). Choose New people join as: Editor or Viewer.
Press Save. Dessn reads your IdP's entity ID, sign-in URL and signing certificates from the metadata.
Test, then turn it on
Under Sign-in, press Test sign-in and sign in through your IdP as yourself. Then turn on Single sign-on. Optionally, turn on Require SSO (what it does).
What Dessn requires
- A signed assertion. The assertion itself must be signed with a certificate from your IdP's metadata. A signed response around an unsigned assertion is refused. Signatures must use RSA-SHA256 or RSA-SHA512, with SHA-256 or SHA-512 digests; SHA-1 is refused.
- SP-initiated sign-in. Each response must answer an AuthnRequest that Dessn sent for that sign-in attempt
(
InResponseTo), within 10 minutes. An unsolicited (IdP-initiated) response doesn't sign anyone in: Dessn sends the person to its sign-in, which starts a fresh SP-initiated sign-in at your IdP. That's how your IdP's dashboard tile works. - The right audience and destination. The Audience must be Dessn's SP entity ID, and the Recipient and Destination Dessn's ACS URL.
- Valid times.
NotBeforeandNotOnOrAfterare checked, allowing up to 2 minutes of clock skew. - Each assertion once. Dessn accepts each assertion ID only once (replay protection).
- An email address on a domain your team verified, from an
emailattribute or anemailAddressNameID. - No encryption. Encrypted assertions aren't supported in this version. The response travels over HTTPS.
Where Dessn finds the email address
From an attribute named email, mail, emailAddress,
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress or urn:oid:0.9.2342.19200300.100.1.3; else the
NameID, when its format is emailAddress. Names come from firstName and lastName when present. Dessn ties the
person to your connection by their NameID.
Bindings
Dessn sends its AuthnRequest to the single sign-on URL in your IdP's metadata, and receives the response at its ACS URL with the HTTP-POST binding. Dessn doesn't support SAML Single Logout.
Certificate rotation
When your IdP's signing certificate is replaced, press Save on the connection in Dessn: with a metadata URL, Dessn reads it again; with XML, paste the new XML first. Until then, Dessn refuses sign-ins signed with the new certificate. Dessn's Security settings show when the current certificate expires.
Troubleshooting
| If Dessn says | Check |
|---|---|
| Saving fails, naming the metadata | The metadata URL starts with https:// and answers with your IdP's metadata, or the XML is complete. |
| Your company's sign-in didn't let you in. | The person isn't assigned to the app in your IdP, or your IdP refused them. |
| We couldn't confirm that sign-in with your company's identity provider. | The assertion is signed (not only the response), with RSA-SHA256. The ACS URL and SP entity ID match Dessn's exactly. Assertion encryption is off. Your IdP's certificate is the one in the metadata Dessn read. |
| Your company's sign-in didn't share an email address with Dessn. | Send the email as the NameID (emailAddress format), or add an email attribute. |
| That address isn't on a domain this team has verified for single sign-on. | The person's email is on a domain your Dessn team hasn't verified. Verify that exact domain. |
| That sign-in took too long and expired. | Start again: a sign-in attempt lasts 10 minutes. |
| That sign-in started in another tab or browser. | Start again, and finish in the same tab. |
| The test sign-in reached your identity provider, but it signed in someone other than you. | Your IdP signed in another account than the owner who pressed Test sign-in. Sign in at your IdP as yourself (sign out of it first if it remembers someone else). |
Titles set in Kalice, Claude Type, designed by Margot Lévêque.