Skip to main content
Version: 4.0.0

SAML Setup Guide

cidaas supports both SAML roles:

RoleMeaningTypical use
cidaas as IdPUsers authenticate in cidaas, then access an external app via SAMLConnect a third-party tool (HR, collaboration, …) to cidaas SSO
cidaas as SPUsers authenticate at an external IdP; cidaas consumes the SAML assertionCorporate AD / enterprise IdP login into cidaas

For the product overview and attribute details, see SAML 2.0 SSO (IdP vs SP).

Admin UI — Trustdesk (4.x)

On cidaas 4.x, configure SAML in Trustdesk (/trust-desk). Trustdesk is the new administration UI and gradually replaces the legacy Admin Dashboard (/admin-ui / cSpace). See Introducing Trustdesk.

On older instances, use the Admin Dashboard paths noted below in parentheses.


cidaas as Identity Provider (IdP)

Users log in to cidaas SSO; the external system trusts cidaas and receives user data via SAML. In the Admin UI this is the SAML IdP setup (Trustdesk: application type / wizard for SAML SP apps — see product docs for your version).

Prerequisites

  • Admin access to SSO settings in the external system
  • Access to cidaas applications and login providers (SECONDARY_ADMIN, or both APP_CREATE and SETTINGS_CREATE in CIDAAS_ADMINS)

Setup steps in cidaas

  1. Open Trustdesk (Integrations → Applications). (Legacy: Apps → App Settings.)
  2. If you have not yet created an app for the connected system, create a REGULAR_WEB app (or the SAML-oriented app type available on your version):
    1. Set the profile scope.
    2. Configure SAML redirect and logout URLs for the external system. Those URLs are often only known after the provider is created — use the cidaas base domain as a placeholder and replace it later.
    3. Under advanced OAuth2/OIDC settings, enable the implicit grant if your version still requires it for SAML IdP; other grants may be disabled for this client. (Verify against current app-type guidance on 4.x.)
    4. Complete company information and save.
  3. Open Providers → Identity Providers and configure SAML IdP for that application. (Legacy: Settings → Login Provider → SAML → SAML IdP.)
    1. Select the application you created.
    2. Enable the SAML IdP provider.
    3. Note the generated SAML Metadata URL for the external system.

Setup in the external system

Screens differ by product, but the flow is usually:

  1. Create a new SSO / SAML provider (name it e.g. “cidaas”).
  2. If only predefined vendors are listed and cidaas is missing, choose Custom SAML 2.0.
  3. Enter provider details from the cidaas SAML IdP configuration.
  4. Set the SAML SSO URL (and optionally logout URL) from cidaas metadata:
    1. Open the SAML Metadata URL in a browser.
    2. Find SingleSignOnServiceLocation (pattern: {{domain}}/saml-srv/idp/login/{{client_id}}).
    3. Add the same URL as redirect_uri on the cidaas app.
    4. For logout, use SingleLogoutServiceLocation (…/saml-srv/idp/logout/{{client_id}}).
  5. Set the IdP issuer from the metadata entityID (e.g. use urn:demo-prod.cidaas.eu from entityID="urn:demo-prod.cidaas.eu").
  6. Copy the Signing Certificate from the cidaas provider into the external system.

Metadata in the browser looks like this:

SAML Metadata

SAML attribute mapping

Configure NameID and attributes so the external system can provision or match users. Prefer the cidaas sub as NameID when possible (persistent format). Avoid email as NameID if email changes should not create new users in the SP.

Map external attribute keys to cidaas field keys, for example:

External attribute keyField typecidaas field key
EmailStringemail
FirstNameStringgiven_name
LastNameStringfamily_name

Then replace any placeholder redirect_uri on the cidaas application with the final SSO URL.

Troubleshooting (cidaas as IdP)

cidaas error page “An error occurred”
Check query parameters such as error_code=AUTH10009 — usually a missing or wrong redirect_uri on the app.

Parsing error / missing attribute after login
Usually incorrect SAML attribute mapping (e.g. missing E-Mail).


cidaas as Service Provider (SP)

Users authenticate at an external IdP (e.g. corporate AD FS / Azure AD / another SAML IdP). cidaas trusts that IdP and creates or links the local user.

Configure in Trustdesk: Providers → Identity Providers (SAML). (Legacy: Settings → Login Providers.) Then enable the provider on the relevant applications under Integrations → Applications.

Step-by-step metadata, bindings, and attribute mapping for this direction live in the product guide:

SAML 2.0 SSO — cidaas as Service Provider


Next steps