Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

SSO for CommCare HQ is only available on our CommCare Enterprise Software Plan. You need to contact your Accounting Administrator to set up OneLogin as an Identity Provider for your account.

You can configure SSO for OneLogin in the Enterprise Console. The first step is to create your CommCare HQ Application in OneLogin. After creating the OneLogin Application, you can configure SSO for OneLogin in the Enterprise Console. You need to be an Enterprise Admin to be able to do this.

Table of Contents:

Table of Contents
stylenone

In OneLogin

Create your Application in OneLogin

1. Navigate to the Application page in OneLogin Administration.

...

6. Retrieve the necessary information from the Application Details section within the Edit Identity Provider page in the CommCare HQ Enterprise Console (see step 4 in the CommCare HQ Configuration section below). Populate the fields.

...

c. Post Logout Redirect URIs

Retrieve the information from CommCare HQ.

...

Complete the information in OneLogin.

...

7. Click Save.

8. Navigate to the SSO page in the side menu in OneLogin. You will see Enable OpenID Connect settings. You will need this information when you edit the OneLogin Identity Provider in the Enterprise Console in CommCare HQ (see step 5 in the CommCare HQ Configuration section below).

You will need:

...

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#EAE6FF

It is important to set the Token Endpoint Authentication Method to POST.

Retrieve the information from OneLogin.

...

Complete the information in CommCare HQ.

...

Users in OneLogin

You can create or import users in the Users page in OneLogin. Make sure you assign them to your CommCare Application so they can log in to CommCareHQ with SSO.

...

In CommCare HQ

You must configure the SSO Identity Provider in the Enterprise Console in CommCare HQ.

Edit Identity Provider

You can access Identity Provider settings in the Enterprise Console.

...

3. Choose an Identity Provider and click Edit.

Identity Provider Tab

4. In the Identity Provider tab, navigate to the Application Details for OneLogin section. Here you will find the information you need to complete in OneLogin (step 6 in the OneLogin Application Configuration above).

You will need:

a. Login URL

...

c. Post Logout Redirect URIs

Retrieve the information from CommCare HQ.

...

Complete the information in OneLogIn.

...

5. In the Identity Provider tab, navigate tothe OpenID Provider Configuration section. You will find the information you need on the SSO page in your OneLogin Application. (Step 8 in 8 in the Create your Application in OneLogin section).

You will need:

a. Client ID

b. Client Secret

c. Issuer URL

Retrieve the information from OneLogin.

...

Complete the information in CommCare HQ.

...

6. Set SSO to active.

7. Choose your preferred Login Enforcement. This setting only applies when Single Sign-On is Active.

...

b. The Test mode will allow you to pilot test your configuration with a specific set of SSO Test Users. Only the Test Users will be required to log in with SSO when this mode is active.

...

...

Test ModeImage Modified

8. Click Update Configuration.

SSO Exempt Users tab

At least one user must be specified as exempt from signing in with SSO at the login screen. This user can always log in to CommCare HQ with a password in case of any difficulties with the SSO setup. You can do this in the SSO Exempt Users tab.

...


SSO Test Users tab

You can set Test Users in the SSO Test User tab. These users must log in with SSO from the homepage when your Identity Provider is Active, and Login Enforcement is set to Test Mode. All other users can log in with a regular username and password. This is useful for pilot testing SSO before rolling out changes to the entire organization.

...

If a user tries to log in to CommCare HQ and is not authenticated with OneLogin, they will be redirected to the OneLogin log-in screen.

...

New Users

If a user is authenticated with OneLogin but doesn’t exist in CommCare HQ, an account will be created for them when they sign in for the first time. They will see the generic landing page after logging in.

...