Configure SAML 2.0 SSO with your identity provider

#24Managed Domains, SAML SSO, SCIM 2.0, Passkeys & Audit Log
DNS TXT domain verification, SCIM group sync, Passkeys/2FA sign-in, seat quotas, and security Audit Log.
In this article

Exchange Service Provider and Identity Provider metadata

Before configuring SAML 2.0, verify at least one corporate domain in Organization Settings → Domains. Then open Organization Settings → Authentication → SAML SSO and exchange metadata with your IdP:

  • Copy the Nodo ACS (Assertion Consumer Service) URL and Entity ID into your IdP SAML application
  • Set NameID format to urn:oasis:names:tc:SAML:2.0:nameid-format:persistent (recommended immutable subject identifier) or urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified as a fallback — avoid emailAddress (Nodo maps emailAddress to unspecified with a warning because immutable subject IDs are required for reliable SAML binding)
  • Import your IdP metadata XML URL or manually upload the SSO Sign-On URL, IdP Entity ID, and X.509 signing certificate
  • Map standard attributes (email, firstName, lastName) in your IdP assertion

Always keep the Nodo ACS URL on your exact HTTPS origin (https://app.nodo.to or your Self-Host APP_URL).

Exchange Service Provider and Identity Provider metadata
Exchange Service Provider and Identity Provider metadata

Test SSO in optional mode before enforcing it

Rolling out SAML safely prevents locking your entire organization out during setup:

  • Keep SAML in Optional mode while an administrator tests SP-initiated sign-in started from Nodo (RelayState + matching InResponseTo; unsolicited IdP-initiated assertions are rejected) in a private browser window
  • Nodo does not perform Just-in-Time account creation or automatic SCIM-to-login matching: each user must explicitly link their existing signed-in Nodo account to their SAML identity (issuer + subject) through the authenticated linking flow, and unlinked SAML sign-in attempts are rejected
  • SCIM provisioning manages directory lifecycle and group memberships independently and does not replace explicit SAML identity linking
  • Switch to Enforced SSO only after preparing owner emergency recovery below and confirming that at least two organization administrators have linked their accounts and completed successful SP-initiated SAML logins

Prepare owner emergency recovery before activating SAML

Treat preparing recovery and activating SAML as two separate steps — finish recovery preparation before turning SAML on or enforcing it:

  • Preparing recovery (before activating SAML): in Organization Settings → Authentication → SAML SSO, pre-confirm an independent recovery method separate from your SAML IdP, generate one-time recovery codes, and save both your Organization ID and the one-time recovery codes securely offline (for example, in an encrypted vault outside your IdP)
  • Activating SAML (only after recovery is saved): enable SAML in Optional mode first, verify SP-initiated login, and switch to Enforced SSO only after recovery materials are safely stored
  • Using emergency repair during an outage or misconfiguration: Organization Owners can open the public Organization SAML emergency recovery screen and sign in with their Organization ID and an unused one-time recovery code

Scope limit: Organization SAML emergency recovery grants restricted settings-repair access only — enough to inspect, fix, or disable SAML settings. It never grants access to workspace content, pages, or databases.

Rotate certificates and audit SAML events

SAML signing certificates expire on a fixed schedule and cause immediate login failures if left unrotated:

  • Track your IdP certificate expiration date and schedule rotation at least two weeks in advance
  • Upload the new X.509 certificate in Nodo during the overlap window supported by your IdP, then verify login
  • Monitor SAML configuration changes, certificate updates, and failed assertion errors in the Audit Log

If users see signature or clock-skew errors, check that your IdP and Self-Host server clocks stay synchronized via NTP.

Related articles