You'll learn how to configure SSO on your CHEQROOM account using OneLogin:

Enable OneLogin integration

  • Log in to your CHEQROOM account
  • Go to Settings
  • Go to Integrations
  • Find the SSO OneLogin integration and click Configure
  • Choose a Default user role, this will be assigned to a user who logs in through OneLogin SSO but has no assigned role. Here we recommend using a role that hasn't got a lot of permissions (for example the Equipment Viewer role)
  • Fill in the Domains field, by default, we already add the domain of your email address. In some cases it can be that you have multiple email domains (f.e john@acme1.com and john@acme2.com), then you need to add both domains.
  • Click Next to proceed to the OneLogin setup.

Setup OneLogin

Log in to your OneLogin account, go to Applications and click Add App

Then, search for SAML Test Connector in the Find applications section and click SAML Test Connector (Advanced)

Type name of the application (f.e CHEQROOM)

You can find application icons on the OneLogin integration page

Then, click Save to add the application

Next, go to the Configuration tab to enter the CHEQROOM service provider details. These can be copied from OneLogin integration page:

  • Audience (EntityID)
  • ACS (Consumer) URL Validator
  • ACS (Consumer) URL

Then, click Save

Then, go to the Parameters tab and click Plus icon

Fill in email as field name, select Include to SAML assertion and click Save

Then make sure to map the Value to a filled-in email field and click Save

Similarly, we will add two more attributes: username and name. Finally, your attribute list will look as follows:

Then, click Save

Next, go to the SSO tab and copy the Issuer URL

Now go back to the OneLogin integration page and paste the copied value in the Issuer URL field and then click Enable SSO

Before we can test the SSO, we still need to add a user to the application. Go to Users and choose one of your users and then click the Applications tab, click Plus icon and add CHEQROOM application

Testing SSO

To make sure SSO is working properly, perform these steps:

  1. Log out and close CHEQROOM browser sessions you have open
  2. Go to https://app.cheqroom.com/sso
  3. Enter your email address
  4. You should now be redirected to your OneLogin login page
  5. Enter your credentials

After entering your credentials, you should be redirected and logged in to CHEQROOM.

Configuring Roles

Log in to your OneLogin account and go to Users > Custom User Fields and click New User Field

Fill in a name (f.e. CHEQROOM Role), a shortname (f.e. cheqroom__role) and click Save

Let's say that you have set up a role Teachers in your OneLogin account and you want all the users in this role to have the Super admin role in CHEQROOM. In this case, we want to configure a mapping by going to Users > Mappings and click New Mapping

Then we need to configure our mapping by giving it a name (f.e. CHEQROOM Super Admins), configure a condition that will define when the Super admin role is assigned, here for the role Teachers. For the action, we choose to set our custom CHEQROOM Role field to the role value that we want to use (f.e. super_admin). You can copy from the configure roles step on the OneLogin integration page. Then click Save

Similarly, add other mappings for roles that you want to assign based on certain conditions. Finally, click Reapply All Mappings assign the users to the correct role based on your mappings.

Next, go to Applications and go to the CHEQROOM application

Go to the Parameters tab and click the Plus icon

Fill in cheqroom__role as Field name, select Include in SAML assertion and click Save

Then also make sure to select our custom user field CHEQROOM Role as value for the newly added field and click Save

You can now test the SSO login to see if the user has a correct role assigned to them.

Did this answer your question?