Skip to main content
This guide is for the JumpCloud administrator of your company. It shows how to connect JumpCloud to one QX organization. The work has two parts: the IT team configures JumpCloud, and the owner of the organization configures QX. The SSO login guide shows what holds for every identity provider.

What QX offers

  • A person signs in to QX with the SSO login in JumpCloud, through the OIDC protocol. QX never sees the password.
  • JumpCloud creates, updates and deactivates the users of QX through user provisioning, with the SCIM 2.0 protocol. QX receives users only. The groups stay in JumpCloud.
  • By default, the role comes from QX: a new person signs in as an operator, and the owner changes the role in Users. If the company prefers, the owner group in JumpCloud sets the role at each login.
  • The owner can turn on the e-mail binding. With it, the first SSO login links the person to the QX user with the same e-mail.
  • The owner turns on required SSO for the whole organization. With the rule on, nobody in the organization signs in with a password, including the owner.
  • When the organization requires two-step verification, the SSO connection chooses where the person proves the second factor: in JumpCloud or in the QX authenticator app.
  • A session that starts with the SSO login expires at the time that the owner chooses, from 1 to 8 hours after the login. It does not extend.
  • The owner removes the SSO connection to change the region or the JumpCloud app, and then configures a new one.
QX accepts JumpCloud in the US, EU and India regions. QX does not offer SAML.

The order of the work

Do the steps in this order:
  1. The IT team creates the OIDC app in JumpCloud.
  2. The IT team binds the user groups to the app.
  3. The owner configures the SSO connection in QX.
  4. The IT team pastes the QX login URL into the app.
  5. The owner issues the provisioning key.
  6. The IT team activates user provisioning in JumpCloud.
  7. The owner does the login test.
  8. The owner enables SSO login.
  9. The owner turns on required SSO.
Before you start, check two things:
  • The JumpCloud user of the owner has the same e-mail as the QX user of the owner.
  • When the owner group sets the role, the owner is in that group.

The QX addresses

The owner sees the addresses in Settings › SSO login, in the box Addresses for the identity provider. Each address has a Copy button. The login URL shows only after the owner saves the SSO connection. The other two addresses are these:

1. Create the OIDC app in JumpCloud

  1. In the JumpCloud Admin Portal, go to Access › SSO Applications.
  2. Click + Add New Application.
  3. Select Custom Application and click Next.
  4. Select Manage Single Sign-On, then Configure SSO with OIDC, and click Next.
  5. In Display Label, type QX.
  6. Turn on Show this application in User Portal. The portal tile opens QX.
  7. Click Next, then Configure Application.
  8. In the SSO tab, in Redirect URIs, paste the QX redirect URI.
  9. In Client Authentication Type, select Client Secret Basic or Client Secret POST. The owner selects the same type in QX, in step 3. QX does not work with the Public type.
  10. Leave Login URL empty for now. Step 4 fills the field. JumpCloud accepts the app with no Login URL (not checked against an official source).
  11. In Subject Claim, keep JumpCloud User ID (Recommended Default).
  12. In Attribute Mapping, select the scopes Email and Profile. Without the e-mail, QX refuses each login.
  13. Only when the owner group sets the role: select include group attribute and type groups as the name of the groups attribute.
  14. Click Activate. JumpCloud shows the client secret only once. Copy the client ID and the client secret, and click Got It.
Give the client ID and the client secret to the owner through a safe channel, such as a password manager.

2. Bind the groups to the app

  1. Open the User Groups tab of the app.
  2. Select the user groups of the people who use QX. When the owner group sets the role, select that group too.
  3. Click Save.
JumpCloud lets a person sign in to QX only when the person is in a group bound to the app.

3. Configure the SSO connection in QX

The owner does these steps in QX:
  1. Open Settings › SSO login and click Configure SSO connection.
  2. Select JumpCloud and click Continue.
  3. In Identity provider address, select the address of the region of the JumpCloud account: https://oauth.id.jumpcloud.com/ (US), https://oauth.id.eu.jumpcloud.com/ (EU) or https://oauth.id.in.jumpcloud.com/ (India). The address stays fixed after the owner saves the connection.
  4. In Client ID and Client secret, paste the values of step 1.
  5. In Client authentication, select the type of step 1: Basic (client_secret_basic) for Client Secret Basic, or Post (client_secret_post) for Client Secret POST.
  6. In Role of the people, select Set in QX or Set by the owner group. With the second option, type in Owner group the name of the group exactly as JumpCloud shows it.
  7. If QX users will sign in before user provisioning links each one, select Link QX users by e-mail. The option works only when QX sets the role.
  8. In Two-step verification, select Through JumpCloud or Through the QX authenticator app. The section Two-step verification of this guide explains the options.
  9. In SSO session duration, select from 1 to 8 hours. The default is 8 hours.
  10. Click Save SSO connection. If the login of the owner is older than 15 minutes, QX asks for the password.
After the save, the box Addresses for the identity provider shows the login URL. A change to the role of the people, the owner group, the e-mail binding or the two-step verification ends the sessions that started with SSO. Make the change outside working hours.

4. Paste the login URL into JumpCloud

  1. Open the app in JumpCloud, in the SSO tab.
  2. In Login URL, paste the QX login URL.
  3. Save the app.

5. Issue the provisioning key

The owner does these steps in QX:
  1. In Settings › SSO login, click Issue provisioning key.
  2. Click Issue provisioning key again. If the login of the owner is older than 15 minutes, QX asks for the password.
  3. Copy the key. QX shows the key only once. The key starts with qxp_.
  4. Give the key to the IT team through a safe channel. Do not send the key by e-mail or by message.
  5. After the IT team pastes the key, check I pasted the key into the identity provider and click Back to the keys.

6. Activate user provisioning in JumpCloud

  1. Open the Provisioning tab of the app.
  2. Leave Use mTLS off.
  3. In Base URL, paste the user provisioning base URL, with no slash at the end.
  4. In Token, paste the provisioning key.
  5. In Test User Email, type an e-mail that no QX user has. JumpCloud creates this test user and then deletes it.
  6. Click Test Connection.
  7. Turn off Enable management of User Groups and Group Membership in this application. QX does not receive groups.
  8. Click Activate. Do not click Save.
If the activation fails with the message “QX needs externalId to create or link a user when the SSO connection does not link users by e-mail”, map externalId:
  1. In the Provisioning tab, open User Attributes and click Edit.
  2. Click +Add Attribute and select the type Expression.
  3. In the JumpCloud attribute field, type this expression:
  1. In the SCIM attribute field, select externalId.
  2. Click Update, then Activate again.
The externalId carries the JumpCloud User ID. QX recognizes the person by this identifier. The e-mail links the person only when the owner selects Link QX users by e-mail. Then user provisioning accepts a user with no externalId, and the first SSO login completes the binding.

7. Do the login test

  1. In Settings › SSO login, the owner clicks Test login.
  2. QX opens JumpCloud. The owner signs in with their own user.
  3. QX shows “The login test passed. The SSO connection is verified.”
The test links the JumpCloud user of the owner to the QX user of the owner. User provisioning does not need to link the owner first. The test needs two things:
  • When the owner group sets the role, the owner is in the owner group.
  • When the organization requires two-step verification through JumpCloud, the owner signs in to JumpCloud with the second factor.

8. Enable SSO login

  1. In Settings › SSO login, the owner clicks Enable SSO login. If the login of the owner is older than 15 minutes, QX asks for the password.
  2. A person who is not an owner opens QX from the tile of the JumpCloud portal and checks the login.
A person signs in to QX from the tile of the JumpCloud portal. The QX page Sign in with SSO asks the person to open QX from the portal.

9. Turn on required SSO

  1. In Settings › SSO login, the owner clicks Turn on required SSO.
  2. The owner reads the warning and clicks Turn on required SSO again. If the login of the owner is older than 15 minutes, the warning asks for the password.
Each session that started with a password in the organization ends, including the session of the owner. From then on, each user of the organization signs in with the SSO login.

Two-step verification

The option of the SSO connection applies when the organization requires two-step verification. A change of the option ends the sessions that started with SSO.
  • Through JumpCloud: QX accepts the SSO login only when JumpCloud confirms the second factor in the amr claim. The amr must hold mfa, or a possession method (otp, hwk, swk, sms, tel or sc) together with the password, a PIN or biometrics. The JumpCloud TOTP and a security key pass. A single method does not pass.
  • Through the QX authenticator app: after the login in JumpCloud, the person types the code of the QX authenticator app. At the first login, the person sets up the app. The person has 15 minutes to finish. After that time, the person signs in again through JumpCloud.
A person who signs in with SSO can also set up the authenticator app in Account security. Before the setup, QX asks for a new login in JumpCloud. To change the app, the person asks another owner or QX support for a reset of the second factor.

Session duration

The owner chooses the SSO session duration in Edit SSO connection, from 1 to 8 hours. After that time, the person signs in again through JumpCloud. A shorter time also shortens the open sessions, counted from the login. A longer time applies to the next logins only. The identity confirmation does not change the time.

How QX treats each person

  • User provisioning creates the user of a new person. The Users screen shows “Waiting for SSO login”. The first SSO login activates the user. A new user is an operator.
  • When the person already has a QX user, user provisioning links that user by the e-mail, in the same organization. The user keeps the history.
  • When QX sets the role, the owner changes the role in Users, and the SSO login does not change the role.
  • When the owner group sets the role, the role changes at the next SSO login after a group change. A person in the group signs in as an owner, and the other people sign in as operators. The role is read-only in Users.
  • QX does not create a user at the first login through JumpCloud. A person with no QX user signs in after user provisioning creates the user.
  • To deactivate a person, remove the person from the groups of the app or suspend the person in JumpCloud. User provisioning deactivates the user in QX. All sessions of the user end at the same moment.
  • To reactivate a person, put the person back in a group of the app. The user goes back to “Waiting for SSO login” and signs in again at the next SSO login.
  • When JumpCloud deletes a person, QX turns off the access of the user and stops showing the user to user provisioning. The user and its history stay in QX. When JumpCloud provisions the same person again, QX brings back the same user.
  • The name and the e-mail of the person change only in JumpCloud. The owner sees the user in QX, but does not change them.
  • A new e-mail in JumpCloud does not block the SSO login. The user page shows the JumpCloud e-mail when it differs from the e-mail in QX.

Replace the provisioning key

The SSO connection keeps up to 2 active keys. With two keys, JumpCloud switches to the new key with no gap in user provisioning.
  1. The owner issues a new key, as in step 5. In a session that started with SSO, when the login is older than 15 minutes, QX asks for the identity confirmation in JumpCloud.
  2. The IT team opens the Provisioning tab of the app and expands Configuration Settings.
  3. The IT team pastes the new key into Token Key and clicks Update. The Save button does not change the key.
  4. The owner checks the Last use column of the new key.
  5. The owner clicks Revoke key on the old key, reads the warning and clicks Revoke key again.

Replace the client secret

  1. In JumpCloud, the IT team opens the app and selects Actions › Regenerate Secret, then Regenerate.
  2. The owner opens Edit SSO connection, pastes the new secret into Client secret and clicks Save SSO connection.
A new client secret ends all sessions that started with SSO in the organization. Make the change outside working hours.

When JumpCloud is down

With required SSO on, nobody signs in to QX while JumpCloud is down. The open sessions continue until they expire.
  1. If an owner still has an open session, the owner clicks Turn off required SSO in Settings › SSO login. QX asks for no confirmation, so this works while JumpCloud is down.
  2. If no owner has an open session, ask QX support. Support turns off required SSO and writes the reason in the audit log.
  3. A person with no password clicks Forgot your password? on the login page and sets a password.
  4. When JumpCloud is back, the owner clicks Turn on required SSO.
A user that user provisioning created, and that never signed in to QX, cannot sign in with a password. That user waits for JumpCloud to come back.

Remove the SSO connection

To change the region or the JumpCloud app, the owner removes the SSO connection and configures a new one. The new connection has another login URL.
  1. In Settings › SSO login, the owner clicks Remove SSO connection. If the login of the owner is older than 15 minutes, QX asks for the password or for the identity confirmation.
  2. The owner reads the warning and clicks Remove SSO connection again.
The removal has these effects:
  • The sessions that started with SSO end, including the session of the owner.
  • SSO login and required SSO stop. People sign in with a password.
  • QX deletes the external identities and the provisioning keys. JumpCloud stops creating and deactivating users in QX. Turn off provisioning in the old JumpCloud app.
  • The users stay in QX. A person who only signed in with SSO creates a password with Forgot your password?, on the login page.
If no owner can sign in, ask QX support. Support removes the connection and writes the reason in the audit log.

Refusal messages

Sources