THIS FEATURE REQUIRES A BUSINESS PLAN
Please note that single-sign-on (SSO) is only available on Business plans. This feature is not available on smaller plans (such as Lite). Please contact our team at [email protected] if you would like access to this feature but it is not activated in your portal.
We assume you have already set-up Okta as your Identity Provider.
1 – Login to your Admin dashboard at Okta. Select the Applications tab and then Add Application
2 – Select Create New App and select a Web app with SAML 2.0 sign-on.
3 – Name your app Tribal Habits and move to the Configure SAML page.
4 – Log in to your Tribal Habits platform as a Super Admin and navigate to Admin → Account → Security, then click "Manage" next to "Enable SAML Single-Sign-On (SSO)". Copy your Single Sign On URL from the Identity Provider Config panel. It will look like https://myorg.tribalhabits.com/saml/auth or similar.
5 – Return to Okta and the SAML Setting screen. Paste the Tribal Habits URL into the ‘Single sign on URL’ and ‘Audience URI (SP Entity ID)’ fields.
6 – Scroll down to the Attribute Statements and create four attributes as follows. Match your Okta values to the four required attributes. Note that upper and lower caps are important for the Name values.
- Name: UserName. Value: The unique user identifier field in Okta (e.g. login). We recommend using a fixed identifier where possible, rather than email, since it should ideally never change for the user. See our main SSO article for why this matters.
- Name: Email. Value: The user email field (e.g. email)
- Name: FirstName. Value: The user’s first name field (e.g. firstName)
- Name: LastName. Value: The user’s last name field (e.g. lastName)
7 – Download a copy of your Okta certificate from this screen. Then select Next to save the new application. You will see a warning to view SAML 2.0 set-up instructions. Click that link.
8 – Return to your SSO settings in Tribal Habits (Admin → Account → Security → Manage) and copy data from the Okta set-up page as follows.
- Check the box to ‘Enable’ SAML.
- Paste your Okta Identify Provider Issuer url into the ‘Identity Provider Entity ID’ field.
- Paste your Okta Identity Provider Single Sign-On URL into the ‘Identity Provider SSO URL’ field.
- Paste your Okta X.509 certificate, including the BEGIN and END certificate notes, into the ‘Identity Provider x.509 Certificate’ field.
9 – Select Update SAML Configuration.
At this point your SAML set-up is complete. Once you assign users to your new Tribal Habits app in Okta, your users can access the app from their dashboard and will be logged directly into Tribal Habits.
Before you go live
Once SSO is working, review the Authentication settings in Admin → Account → Security, covered in our main SSO article. In particular, decide whether to prevent auto-provisioning of new users via SSO, since any HR sync or identity management integration should usually create and populate users before their first SSO login.
If you run into problems, see our troubleshooting article for common SSO errors and fixes.
