About SAML

SAML is the standard protocol that enables federated authentication between an external Identity Provider (IdP) and 3DPassport. By configuring SAML, administrators can allow users to sign-on once with their credentials and gain seamless access to all 3DEXPERIENCE applications without maintaining separate passwords.

Some of the operating principles and key components you need to consider while configuring SAML are:

Option Description
Service Provider (SP) Allows the 3DEXPERIENCE platform to communicate with the identity provider to obtain information about the user it interacts with. User information such as authentication state and user attributes is provided in the form of security assertions.
Identity Provider (IDP)
On the private cloud only: Allows to authenticate users and provides information about their identity to service providers/relaying parties using federation protocols.
Assertion A part of an SAML message (an XML document) which provides information about the subject of the assertion (the authenticated user). Assertions can contain information about authentication, associated attributes, or authorization decisions.
Single Sign-On (SSO) Process enabling the access to multiple websites without having to repeatedly present the credentials required for authentication. The service provider receives information such as means of authentication, user attributes, authorization decisions or security tokens as part of a single sign-on.
Metadata Document describing one or multiple identity and service providers. Metadata includes entity identifiers, public keys, endpoint URLs, supported bindings and profiles, and other capabilities or requirements. Exchange of metadata between identity and service providers is the first step to establish federation.
Profile Standardized combination of protocols, assertions, bindings, and processing instructions used to achieve a particular use-case such as single sign-on, single logout, discovery, artifact resolution.

The SAML filters and provides security controls as well as encryption and signature of exchanged messages.



  1. From a client (browser, native app, …), an end user attempts to connect to a 3DEXPERIENCE platform protected service provider (SP) resource (for example, 3DDashboard). The user is not logged on to this service provider.
  2. The request is first filtered by the service provider's CAS Assertion Consumer Service to check if any valid user assertion exists in session (authenticated session).
  3. No assertion is found so the service provider returns an HTTP redirect to the 3DPassport CAS service for the SSO challenge (it tests if any valid authentication cookie exists in the browser/client).
  4. The request does not provide a valid authentication cookie so the CAS service returns an HTTP redirect to a third-party identity provider SSO service.
  5. The end user is not logged on to the identity provider, and therefore needs to provide credentials (identity and password).
  6. User attributes are retrieved from the external user repository (database, LDAP, …).
  7. The identity provider's SSO service returns an HTML form with a signed SAML response containing the authentication assertion and user attributes. The browser automatically posts the HTML form back to 3DPassport.
  8. The 3DPassport SAML ACS checks the validity of the SAML message signature assertion, and then creates the remote user. The user is created only the first time.
  9. The 3DPassport CAS SSO service automatically creates the principal from the remote user using the Trusted Authentication Handler.
  10. 3DPassport returns an HTTP redirect to the service provider with the CASTGC (authentication cookie) set in the headers, and a service ticket as a URL parameter.
  11. The service provider's CAS ACS validates the service ticket and retrieves the user identity and attributes from the CAS SSO service response. The service provider user session is created.
  12. The user is authenticated on the service provider. The service provider returns the resource content to the browser with a valid authenticated SessionID in the headers.

By enabling this feature, the end user will no longer authenticate to 3DPassport through the login page, but will be redirected to the configured third-party identity provider. 3DPassport will act as a service provider to the third-party identity provider but will still act as the identity provider for 3DEXPERIENCE platform apps that are not impacted for the SSO process.

Here is a user scenario illustrating how the feature is enabled:

  • An end user is not authenticated on the 3DEXPERIENCE platform and attempts to access it, for example by trying to log on to 3DDashboard.
  • The end user is redirected to 3DPassport.
  • 3DPassport redirects the end user to the configured third-party identity provider with a SAML Authentication Request.
  • If already authenticated on the third-party provider, the end user is redirected back to 3DPassport with a SAML Assertion carrying the user identity. If not, the end user is redirected to the third-party identity provider login page to provide credentials. After successful authentication, the user is redirected back to 3DPassport with the SAML assertion.
  • 3DPassport intercepts and processes the SAML assertion to retrieve the user principal (user ID) and potentially its attributes.
  • 3DPassport creates the user session and then redirects the end user to the 3DDashboard app with a CAS ticket.
  • The 3DDashboard processes the ticket and creates the end-user session.
  • The end user is now authenticated on the 3DEXPERIENCE platform.