SAML
ToolJet supports SAML authentication for your workspace. The supported SAML providers are: Okta, Active Directory Federation Services, Azure AD, Auth0 and other SAML SSO providers.
Configuring SAML
To enable SAML authentication, you need to configure the following workspace settings:
- Go to Workspace Settings > Workspace login.
- By default, SAML is disabled. Toggle it on to enable SAML authentication.
- Enter the following configuration details:
- SAML Provider Name: Enter the name of your SAML provider. This name will be displayed on the login page.
- Identity provider metadata: Upload the data from the metadata file provided by your SAML provider. This file contains the SAML configuration details.
- Group Attribute: Enter the name of the attribute that contains the group information of the user. This attribute is used to map the user to the appropriate group.
Downloading the metadata from your identity provider Generally, the metadata is available in the form of an XML file which can be downloaded from your identity provider's dashboard.
Copy the metadata from the XML file and paste it into the ToolJet's SAML SSO configuration settings. Please ensure that the metadata is pasted in the correct format, as it contains essential configuration details from the identity provider necessary for authentication.
Additionally, you can often find this data by navigating to https://<your-identity-provider>/federationmetadata/2007-06/federationmetadata.xml
Once the configuration is complete, click Save Changes to view the Redirect URL.
SAML for multiple workspaces or Azure and Google setups
- The multiple workspaces feature is available only in versions v2.50.9.52-lts and later.
- Configure the required environment variables as below:
variable | value |
---|---|
SAML_SET_ENTITY_ID_REDIRECT_URL | true |
Logging in with SAML
- Go to the Workspace login tab and copy the Login URL provided. Furthermore, you have the flexibility to choose whether to turn on 'Enable Signups' allowing users to signup without an invite. Through SSO authentication, we check if the user already exists; if so, they can sign in seamlessly. Otherwise, an error will be displayed. Conversely, with this option disabled, only invited users can log in, provided SSO authentication is successful.
- The Login URL obtained can be used to access the workspace. Please note that ToolJet supports SAML login at the workspace level, ensuring users are logged in specifically to the selected workspace.
As a result, users can now log in to your workspace using the provided Login URL. The login page will prominently feature the name of the SAML provider configured in your workspace settings.
- Click on Sign in with
SAML Name
button and you will be redirected to the SAML provider's login page.
- Enter your credentials and click Login. If the user is signing in for the first time, they will be redirected to the ToolJet's onboarding page.