SAML
Use these instructions to set up a SAML SSO provider for Tonic Structural.
SAML provider configuration
You must configure the following assertions to be sent to Structural from your SAML provider:
EmailGivenNameFamilyNameGroups
For the Assertion Consumer Service (ACS) URL:
On a self-hosted instance, the value is
https://your-tonic-url/api/sso/samllogin.On Structural Cloud, the value is
https://app.tonic.ai/api/sso/samllogin/<your organization identifier>. Your organization identifier is displayed on your User Settings view.
Set Audience to the value of the Structural environment setting TONIC_SSO_SAML_ENTITY_ID.
Structural configuration - self-hosted
On a self-hosted instance of Structural, in the Structural web server container, set the following Structural environment settings:
TONIC_SSO_PROVIDER:SAMLTONIC_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 setTONIC_SSO_SAML_IDP_METADATA_XML_BASE64to 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 0TONIC_SSO_SAML_ENTITY_ID: The entity ID to use to send SAML requests from Structural. 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 Structural. For details, go to Synchronizing SSO groups with Structural.
Structural configuration - Structural Cloud
On Structural Cloud, after you enable SSO, to configure the connection to SAML:

Click SAML 2.0.
In the IDP Metadata field, provide either:
The URL of your IDP Metadata XML file.
If your SSO solution does not offer a URL, the Base 64 encoded contents of the IDP Metadata XML file.
In the Entity ID field, provide the entity ID to use to send SAML requests from Structural. If this is not set, the entity ID is determined from the IDP metadata. This can also be the value of Audience in the SAML provider configuration.
Optionally, to enable cross-origin resource sharing (CORS), in the IDP Origin field, provide the origin URL of your identity provider.
Last updated
Was this helpful?