Links

SAML

Use these instructions to set up a SAML SSO provider for Tonic.

SAML provider configuration

You must configure the following assertions to be sent to Tonic from your SAML provider:
  • Email
  • GivenName
  • FamilyName
  • Groups
The Assertion Consumer Service (ACS) URL is https://your-tonic-url/api/sso/samllogin.
Set Audience to the value of the Tonic environment setting TONIC_SSO_SAML_ENTITY_ID.

Tonic configuration

In the Tonic web server container, set the following Tonic environment settings:
  • TONIC_SSO_PROVIDER: SAML
  • TONIC_SSO_SAML_IDP_METADATA_XML_URL- Set to the URL of your IDP Metadata XML file. If your SSO solution does not offer a URL, you can set TONIC_SSO_SAML_IDP_METADATA_XML_BASE64 to the Base 64 encoded contents of the IDP Metadata XML file. To encode the contents, run the following command: cat /path/to/xml/file | base64 -w 0
  • TONIC_SSO_SAML_ENTITY_ID: The entity ID to use to send SAML requests from Tonic. If this is not set, the entity ID is determined from the IDP metadata. You also use this as the value of Audience in the SAML provider configuration.
  • TONIC_SSO_GROUP_FILTER_REGEX: Identifies the allowed SSO groups for Tonic. For details, go to Synchronizing SSO groups with Tonic.
Last modified 4mo ago