About
If your organization uses Okta, you can set up SAML 2.0 single sign-on (SSO) for a ControlMap tenant. Once it's set up, you can make Okta SSO the sign-in method for some or all users in the tenant, so they sign in through Okta any time they open the tenant directly.
Direct tenant sign-in only. SSO is set up inside each ControlMap tenant and applies only when users sign in to that tenant directly. It isn't set up in ScalePad Hub or the MSP portal. For an overview of all sign-in options, see Sign-in settings and single sign-on.
Okta updates its admin console regularly, so screens there may look slightly different. For the most current steps on the Okta side, see Okta's documentation.
Before you begin
- An Okta administrator account that can create app integrations
- The Super Admin role in the ControlMap tenant
- At least two active ControlMap users who can sign in with a username and password, so you can't lock yourself out while testing
- Your tenant name. It's the first part of your tenant's address, for example yourtenant in yourtenant.app.ctrlmap.com.
Download ControlMap's metadata file
Okta needs details from ControlMap's service provider metadata file.
- Sign in to the ControlMap tenant. Select your company name at the top left, then select Account Settings.
- Select Users, then scroll down to Sign in settings.
- Tick Enable SAML 2.0 SSO. A card called Additional settings for SAML 2.0 SSO appears below. Nothing is saved until you select Save.
- Select ControlMap's metadata .xml to download the file.
Leave this page open. You'll come back to it after setting up Okta.
Create the app integration in Okta
- In the Okta admin console, go to Applications and select Create App Integration.
- Select SAML 2.0 as the sign-in method.
- On the Configure SAML step, complete these fields. All three are required for the integration to work:
- Single sign-on URL: the AssertionConsumerService Location in ControlMap's metadata file.
- Audience URI (SP Entity ID): the entityID in ControlMap's metadata file. Note this value, because you'll enter it in ControlMap too.
-
Default RelayState: your tenant name.
- Finish creating the integration.
Assign users in Okta
- In Okta, go back to Applications and open the ControlMap integration.
- Select the Assignments tab and assign the users or groups who need to sign in to ControlMap with SSO.
Collect the Okta SAML details
In the ControlMap integration in Okta, open the Sign On tab and select View SAML setup instructions. Note:
- Identity Provider Single Sign-On URL
- Identity Provider Issuer
- X.509 Certificate, including the BEGIN CERTIFICATE and END CERTIFICATE lines
Finish setting up SSO in ControlMap
- Back in Account Settings › Users, under Additional settings for SAML 2.0 SSO, choose Okta in Select the identity provider system for which you want to enable SAML SSO.
-
Complete the fields. All of them are required:
ControlMap field Value from Okta SP Entity Id / Audience URL The Audience URI (SP Entity ID) you entered in Okta. Must match exactly. IdP Entity Id / Issuer URL Identity Provider Issuer SAML 2.0 Endpoint (POST) / Sign In URL Identity Provider Single Sign-On URL SLO Endpoint / Logout URL Identity Provider Single Sign-On URL (the same value as above) X.509 Certificate (with SHA-512 signature algorithm) X.509 Certificate, pasted as-is with the BEGIN and END lines - Select Save.
Test SSO without locking yourself out
- Confirm another active ControlMap user can still sign in with a username and password.
- In Account Settings › Users, select ⋮ next to your own user, then select Edit.
- Change Sign-in preference to SSO, then select Update user. You're signed out.
- On the ControlMap sign-in page, select Sign In with SSO and sign in with Okta.
If sign-in fails, have the second user sign in, change your Sign-in preference back to Username/Password, and check the troubleshooting list below.
Move other users to SSO
Once SSO works for you, choose how other users sign in:
- One user: edit the user and change Sign-in preference.
- Several users: tick them in the Users list, then use Update sign-in preference at the top of the list.
- New users by default: select Set as default next to Enable SAML 2.0 SSO, then select Save.
When a user's sign-in method changes, they're signed out so they can sign in the new way.
Troubleshooting
If users can't sign in with SSO, check that:
- The Audience URI (SP Entity ID) in Okta and the SP Entity Id / Audience URL in ControlMap match exactly.
- The Single sign-on URL and Default RelayState in Okta are filled in, and the RelayState matches your tenant name.
- The certificate was pasted without extra spaces or formatting, and includes the BEGIN and END lines.
- The user is assigned to the ControlMap integration in Okta.
- The user's Sign-in preference in ControlMap is set to SSO.