You are reading the documentation of OpenCTI 7.260811 LTS · 7.260811.0-lts.1, supported until 2027-09.Latest is 7.261119.0 →
How-to guide

SAML authentication

In OpenCTI 6.2, SAML requires signed responses and assertions by default. Set two parameters to false if sign-in fails after the upgrade.

OpenCTIFor platform engineers and administrators

OpenCTI 6.2 upgraded the passport-saml library, which changed two SAML defaults: responses and assertions must now be signed. If SAML sign-in fails after you upgrade from an earlier version, this page says what to change in your identity provider, and which parameter to set when it cannot sign.

OPENCTI BEFORE 6.2OPENCTI 6.2 AND LATERIF SIGN-IN FAILSSignatures not requiredwant_assertions_signed andwant_authn_response_signed default tofalseSignatures requiredBoth parameters default to trueIdentity provider signs bothResponses and assertionsFalse for unsigned partsOnly the parameter of what the providercannot sign; from 7.260224.0, a switchof the provider
  1. Signatures not required → Signatures required: upgrade
  2. Signatures required → Identity provider signs both: sign-in fails
  3. Signatures required → False for unsigned parts: if it cannot sign
From OpenCTI 6.2, SAML expects signed responses and assertions by default, so the identity provider signs both, and a parameter is set to false only for what it cannot sign
Version
Changed inOpenCTI 6.2

What changed

SAML parameterDefault before 6.2Default from 6.2
want_assertions_signedfalsetrue
want_authn_response_signedfalsetrue

The new defaults apply when your configuration does not set the parameter.

What to do

If users cannot sign in with SAML after the upgrade, your identity provider does not sign its responses, its assertions, or both. Turn signing on for both in the identity provider, then try again: the signatures are what lets OpenCTI trust who signs in.

Set a parameter to false only for what your identity provider cannot sign, for example want_authn_response_signed when it signs only its assertions: OpenCTI then accepts that part unsigned.

From OpenCTI 7.260224.0, SAML is configured in the interface, where the two parameters are the switches Want assertion signed and Want authn response signed of the provider: see SSO migration from environment variables to UI and Add a SAML provider.

Check the two switches after the SSO migration

After the SSO migration of OpenCTI 7.260224.0, open the provider in Settings, then Security, then Authentications and check Want assertion signed and Want authn response signed: turn them on if your identity provider signs its responses and assertions.

What's next

NextSSO migration from environment variables to UI
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent