About
If your organization uses OneLogin, you can set up SAML 2.0 single sign-on (SSO) for a ControlMap tenant. Once it's set up, you can make OneLogin SSO the sign-in method for some or all users in the tenant, so they sign in through OneLogin 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.
OneLogin updates its admin console regularly, so screens there may look slightly different. For the most current steps on the OneLogin side, see OneLogin's support site.
Before you begin
- A OneLogin administrator account that can add apps
- 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. In the values below, replace TENANT with it, for example yourtenant in yourtenant.app.ctrlmap.com.
Create the app in OneLogin
- In OneLogin, go to Applications and select Add App.
- Choose a SAML 2.0 app and set the signature algorithm (encryption) to SHA-256.
-
In the app's Configuration, enter these values:
OneLogin field Value RelayState TENANTACS (Consumer) URL Validator https://api.ctrlmap.com/sso/acsACS (Consumer) URL https://TENANT.app.ctrlmap.comSingle Logout URL https://api.ctrlmap.com/sso/logoutLogin URL https://api.ctrlmap.com/sso/acsSAML not valid before 3 SAML not valid on or after 3 SAML initiator OneLogin - Save the app, then assign the users or roles who need to sign in to ControlMap with SSO.
Collect the OneLogin SAML details
From the app's SSO tab in OneLogin, note:
- Issuer URL
- SAML 2.0 Endpoint (HTTP)
- SLO Endpoint (HTTP)
- X.509 Certificate, including the BEGIN CERTIFICATE and END CERTIFICATE lines
Set up SSO in ControlMap
- 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.
- In Select the identity provider system for which you want to enable SAML SSO, choose One Login.
-
Complete the fields. All of them are required:
ControlMap field Value SP Entity Id / Audience URL The entityID from ControlMap's metadata .xml (download it from the Additional settings card). If you set an Audience (EntityID) in OneLogin, it must match this value exactly. IdP Entity Id / Issuer URL Issuer URL SAML 2.0 Endpoint (POST) / Sign In URL SAML 2.0 Endpoint (HTTP) SLO Endpoint / Logout URL SLO Endpoint (HTTP) 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 OneLogin.
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:
- TENANT was replaced with your tenant name in the RelayState and ACS (Consumer) URL.
- The SP Entity Id / Audience URL in ControlMap matches the entityID in ControlMap's metadata file.
- The certificate was pasted without extra spaces or formatting, and includes the BEGIN and END lines.
- The user is assigned to the ControlMap app in OneLogin.
- The user's Sign-in preference in ControlMap is set to SSO.