Skip to Content
Docs

Single sign-on (SSO)

Your people sign in to Dessn through your identity provider, over OpenID Connect or SAML 2.0. How it works, what it checks, and what it stores.

Rolling out

SSO is rolling out to Enterprise teams, and Dessn switches it on for each team. OpenID Connect comes first, then SAML 2.0. Until it's on for yours, nothing about sign-in changes for your people. To have it switched on, email [email protected].

Single sign-on lets your people sign in to Dessn through your identity provider (IdP). It works with any standards-compliant IdP over OpenID Connect (OIDC) or SAML 2.0. This page is for the IT or security team that sets it up and assesses it.

What's included

CapabilityIn this version
Sign-in with OpenID Connect (authorization code flow with PKCE)Yes
Sign-in with SAML 2.0 (SP-initiated, signed assertions required)Rolling out after OpenID Connect. Ask us to switch it on for your team
Starting sign-in from your IdP's dashboard (app tile)Yes. It restarts as an SP-initiated sign-in (below)
Domain verification by DNS TXT recordYes
Just-in-time (JIT) provisioning, with a default roleYes
Require SSO for your domain, with a break-glass path for ownersYes
Audit log of SSO setting changes and sign-insYes, in Team settings › Security
SCIM provisioning and deprovisioningNot yet
Mapping IdP groups to Dessn rolesNot yet. Everyone joins with the default role
More than one IdP connection per teamNot yet. One connection per team
Encrypted SAML assertionsNot supported
SAML Single Logout (SLO)Not supported

How it works

Dessn turns SSO on for your team

Your team's owners then see Security in Team settings: create.dessn.ai/w/settings/security. Only owners can change SSO settings; admins can see them, read only. Nobody else can see them. (Your IdP can sign in anyone at your verified domains, owners included, so who it is stays the owners' decision.)

You verify your domain

Dessn gives you a DNS TXT record. Once it's published, press Verify. Only addresses on a domain your team has verified can ever sign in through your IdP. See Verify your domain.

You connect your IdP

For OIDC, give Dessn your issuer URL, client ID and client secret. For SAML, give Dessn your IdP's metadata, as a URL or the XML. Team settings › Security shows the values your IdP asks for: the redirect URI, or the ACS URL and SP entity ID.

You test it

Press Test sign-in. You sign in through your IdP as yourself, before anyone else uses it. The test passes only when your IdP signs in the same account that pressed the button, an owner of the team.

You turn it on

Turn on Single sign-on (it turns on only after a passed test). From then on, anyone who types an address on your domain at create.dessn.ai/login and presses Continue goes straight to your IdP. Dessn doesn't email them a sign-in code. They come back signed in, and on your team.

Optionally, you require it

With Require SSO on, your domain's people can no longer sign in with Google, Microsoft or an emailed code or link. They use your IdP. Your team's owners keep their other ways in (break-glass).

One sign-in, step by step

  1. Someone types their work address at https://create.dessn.ai/login and presses Continue. Dessn sends them to SSO only if a team has verified that address's domain and turned its connection on.
  2. Their browser makes a random secret, keeps it in that tab's session storage, and sends Dessn only its SHA-256 hash.
  3. Dessn opens a sign-in attempt on its server and sends the browser to your IdP. For OIDC, that's an authorization request with state, nonce and a PKCE (S256) challenge. For SAML, it's a SAML AuthnRequest to the sign-in URL in your IdP's metadata. The attempt is single use and expires within 10 minutes.
  4. Your IdP signs the person in. For OIDC, it returns an authorization code to Dessn's redirect URI. Dessn exchanges the code for tokens directly with your IdP, using the client secret, and checks the ID token. For SAML, it posts a signed response to Dessn's ACS URL, and Dessn checks it.
  5. Dessn checks that the address is on a domain your team verified. It finds or creates the person's account, adds them to your team if they aren't on it, and writes the audit log.
  6. Dessn sends the browser back to https://create.dessn.ai/login with a one-time code. The code works once, for at most 2 minutes, and only together with the secret from step 2. Then the person is signed in to Dessn.

Verify your domain

Add this TXT record at your DNS provider. Team settings › Security shows the exact token to copy.

TypeName (host)Value
TXT_dessn-challenge.<your-domain>, for example _dessn-challenge.example.comdessn-domain-verification=<token>
  • Dessn also accepts the same value in a TXT record on the domain itself (example.com).
  • Dessn looks the record up over DNS-over-HTTPS, through Cloudflare's and Google's public resolvers. A new record can take a few minutes to appear.
  • A domain can be verified by one Dessn team only. Public email domains (such as gmail.com and outlook.com), university and school domains, and Dessn's own domains can't be added.
  • Verification covers that exact domain. If your people use more than one domain, or addresses on a subdomain, add and verify each one.
  • Keep the record in place after verification: Dessn reads it again every day, and if it's missing for 7 days in a row, the domain goes back to unverified and SSO stops for its addresses. Removing the domain in Dessn stops SSO for its addresses too.

Who gets in

  • Someone new. The first time someone on your verified domain signs in through your IdP, Dessn creates their Dessn account if they have none. It adds them to your team with the role you chose under New people join as: Editor or Viewer. Change anyone's role later in Team settings › Members.
  • Someone who already has a Dessn account with that address (for example, they signed up with Google) keeps that same account, with their work, teams and role. Their IdP identity is linked to it the first time they sign in with SSO.
  • Existing members aren't removed or changed when you turn SSO on. They keep their role. The next time they sign in from the login page with their work address, they go through your IdP.
  • Only who your IdP lets in. Your IdP decides who may use the Dessn app (its assignments or groups). Dessn accepts an IdP sign-in only for an address on a domain your team verified, and refuses any other address, even if your IdP asserts it.
  • Removing someone. There's no SCIM yet, so Dessn doesn't learn when you deactivate someone in your IdP. Once you've unassigned them, they can't sign in through your IdP again, but a Dessn session they already have lasts until it ends (Sessions). To cut their access at once, also remove them in Team settings › Members. Someone an owner or admin removed from the team isn't added back by an SSO sign-in until they're invited again.

Require SSO and the break-glass path

  • With Require SSO on, sign-in with Google, Microsoft or an emailed code or link is refused for addresses on your verified domains. The login page says <domain> signs in with SSO and offers Continue with SSO.
  • You can turn it on only after a successful Test sign-in through your connection, so a misconfigured IdP can't lock your team out.
  • Changing your IdP (a new issuer or client ID, or new SAML metadata with another entity ID, sign-in URL or signing certificate) turns Single sign-on and Require SSO off until an owner passes a Test sign-in through the new one. Your settings' history shows it.
  • Require SSO governs how people sign in. A Dessn session someone already has, an API or MCP key, and Dessn support's access (staff only, logged) aren't ended by it.
  • Break-glass: your team's owners are exempt. An owner can still sign in with Google, Microsoft or an emailed code or link if your IdP is down or misconfigured, and then fix SSO or turn it off. Dessn support can also turn SSO off for your team.
  • Turning Require SSO on doesn't end sessions people already have. They end at their normal expiry, or when the person signs out.

Sessions

  • When your IdP signs someone in, Dessn starts its own session for them. It ends after 30 days without use, and after one year at most. It also ends when they sign out. Its access token lasts 60 minutes and is renewed while they're active.
  • Dessn keeps its own session after the IdP sign-in. The length of your IdP's session doesn't shorten it.
  • Dessn doesn't keep your IdP's access tokens or refresh tokens.
  • The pieces of a sign-in are short-lived and single use. An attempt (OIDC state, nonce and PKCE verifier, or the SAML AuthnRequest ID) expires within 10 minutes. The one-time code that finishes the sign-in in the browser expires within 2 minutes.

Starting from your IdP's dashboard

The Dessn tile in your IdP's user portal (Okta's End-User Dashboard, JumpCloud's User Portal) works:

  • OIDC: the tile opens Dessn's Initiate login URI, which starts a normal sign-in at your IdP.
  • SAML: Dessn doesn't accept an unsolicited (IdP-initiated) assertion as a sign-in. It sends the person to Dessn's sign-in, which starts a fresh SP-initiated sign-in at your IdP.

Either way, Dessn first names your team and your IdP's address and asks them to press Continue with SSO (a link alone never signs anyone in, so nobody can sign a visitor in to their own account). Someone already signed in to your IdP then comes straight back, signed in.

Values your IdP needs

Your team's connection has a connection key: a random string, the last part of each URL below. Copy each URL from Team settings › Security, where it's shown with your key filled in.

ValueOIDCSAML
Sign-in redirect URI (callback)https://create.dessn.ai/api/auth/sso/oidc/callbackNot used
Initiate login URI (dashboard tile)https://create.dessn.ai/api/auth/sso/oidc/initiate/<connection-key>https://create.dessn.ai/login?sso=<connection-key> (optional)
SP entity ID (Audience URI)Not usedhttps://create.dessn.ai/api/auth/sso/saml/metadata/<connection-key>
ACS URL (Single sign-on URL, also the Recipient and Destination)Not usedhttps://create.dessn.ai/api/auth/sso/saml/acs/<connection-key>
SP metadata (XML)Not usedhttps://create.dessn.ai/api/auth/sso/saml/metadata/<connection-key>
Scopesopenid email profileNot used

What Dessn reads from your IdP

OIDCSAML
Stable identifier for the personsubNameID
Email address (required)The email claim, from the ID token, else from the UserInfo endpointAn email attribute. Also accepted: mail, emailAddress, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, urn:oid:0.9.2342.19200300.100.1.3. Without one, the NameID, when its format is emailAddress
Email verifiedemail_verified: an explicit false is refused. If it's absent, the address is accepted, because the domain check is the guard. Auth0 users made with Create User start unverified: verify them in Auth0Not used
Name (optional)name, given_name, family_namefirstName, lastName

What Dessn stores

  • For each person who signs in with SSO: their email address and name, your IdP's identifier for them (sub or NameID), which connection they used, and when they last signed in. Dessn doesn't receive or store their IdP password, and doesn't store your IdP's tokens, ID tokens or SAML assertions.
  • For replay protection: the ID of each SAML assertion Dessn accepted, until the assertion expires.
  • For your connection: your domains and their verification state, and your IdP's settings: the issuer URL and client ID with the encrypted client secret (OIDC), or your IdP's entity ID, sign-in URL, signing certificates and metadata URL (SAML).
  • In the audit log: the events listed under Audit log. Sign-in rows also keep the IP address and browser user agent the sign-in came from.

Security

OIDC sign-in

  • Authorization code flow with PKCE (S256), a state value and a nonce. All three are random, kept on Dessn's server, tied to one sign-in attempt, single use, and expire within 10 minutes.
  • Dessn is a confidential client: the client secret never reaches the browser. It authenticates with client_secret_basic, or with client_secret_post when that's the only method your discovery document lists or your IdP refuses basic for this client.
  • The issuer must use https, and its discovery document's issuer must match the issuer URL you entered exactly.
  • The ID token's signature is checked against your IdP's published keys (its JWKS). Unsigned tokens (alg: none) are refused. Dessn checks iss (your issuer), aud (your client ID), azp when present, exp, iat and nonce.

SAML sign-in

  • SP-initiated only. Every response must answer an AuthnRequest that Dessn sent for that sign-in attempt (InResponseTo), within 10 minutes.
  • The assertion 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.
  • Dessn checks the Audience (Dessn's SP entity ID), the Recipient and Destination (Dessn's ACS URL), and NotBefore and NotOnOrAfter, allowing up to 2 minutes of clock skew.
  • Replay protection: each assertion ID is accepted once.
  • Dessn checks signatures with current releases of the open-source node-saml and xml-crypto libraries, which include the fixes for the 2025 SAML and XML signature bypasses (CVE-2025-29774, CVE-2025-29775 and CVE-2025-54419).
  • Encrypted assertions aren't supported in this version. The response travels over HTTPS end to end.

Binding the sign-in to the browser

The browser that starts a sign-in keeps a random secret. Only the one-time code, single use and valid for at most 2 minutes, together with that secret, starts a Dessn session. A sign-in response delivered to someone else's browser can't sign that browser in (login CSRF).

Account linking

Your IdP can sign people in only as addresses on a domain your team proved it owns by DNS. An IdP that asserts an address on any other domain (another company's, a public email domain, Dessn's own) is refused, and the refusal is logged. A person's IdP identity is tied to your connection only, never to another team's.

Redirects

After sign-in, Dessn sends people only to pages on its own site. It never sends them to an outside address taken from a URL.

Secrets

Your OIDC client secret is encrypted at rest with AES-256-GCM, bound to its record. Dessn never shows it again after you save it: you can only replace it. It goes only to the issuer and client it was saved with: changing the issuer or client ID needs that client's own secret. It never appears in the audit log.

Audit log

Team settings › Security lists the latest SSO events, newest first:

  • Setting changes: a domain added, verified or removed; the connection set up, changed, turned on or off; the client secret replaced; Require SSO turned on or off. Each row says who made the change, and when.
  • Every SSO sign-in that reaches your connection, successful or refused, with the reason. When your IdP named the person, the row carries their address. Refusals that name no one (an expired or forged attempt, a response that failed a check) are counted, one row per reason per hour.
  • Accounts created by an SSO sign-in.
  • Sign-ins with an emailed code or link refused because of Require SSO.

A response Dessn can't match to any open sign-in attempt names no team, so it's logged on Dessn's side only. Google and Microsoft sign-ins refused by Require SSO are listed too, with the address when Google or Microsoft named it. Need an export? Ask us.

Turning it off

An owner can turn off Single sign-on or Require SSO at any time, or remove the connection. Dessn support can too. People then sign in the ways they did before.

Questions

Email [email protected], or reply to your Dessn contact, and we'll answer your security team directly.

Titles set in Kalice, Claude Type, designed by Margot Lévêque.

On this page