You can connect Cognism to Okta so your team signs in with single sign-on (SSO) and Cognism seats are created, updated and deactivated automatically through SCIM provisioning. Set up SSO first, then SCIM, then assign users in Okta.
Availability: Standard and Pro
Role: Admin (in Cognism) and an Okta administrator who can create and manage app integrations
Key terms
- Single sign-on (SSO): users sign in to Cognism with their Okta account instead of a Cognism email and password. Cognism uses SAML 2.0 for SSO.
- SCIM provisioning: Okta automatically creates Cognism users when you assign them, keeps their name, email and seat type in sync, and deactivates their seat when you remove access. Cognism uses SCIM 2.0.
- Identity provider (IdP): the system that manages your users' identities, in this case Okta.
- Bearer token: the secret that lets Okta send user changes to Cognism. Cognism shows it only once.
Before you start
- You need Admin access to Cognism, including the Settings > Authentication page.
- You need admin access to your Okta org, with permission to create and manage app integrations.
- Set up SSO before SCIM. The SCIM provisioning option for Okta only appears in Cognism once Okta SSO is connected.
- Make sure you have enough Cognism licences for everyone you plan to assign in Okta.
Already connected Cognism with a custom SAML integration? A custom SAML configuration made before the new sign-in experience is not carried over. Reconfigure both SSO and SCIM using the steps in this article.
How do I set up Okta SSO for Cognism?
To set up Okta SSO, you exchange three values between Cognism and Okta: Cognism's Identifier (Entity ID), Cognism's ACS URL, and Okta's signing certificate.
- In Cognism, go to Settings > Authentication > Single Sign-On.
-
Under Identity provider, find Okta and click Connect (or Manage if setup has already started). The Okta SSO Configuration dialog opens.
-
Copy the Identifier (Entity ID) and the ACS URL using their Copy buttons. Keep the dialog open, because you will come back to it to add the certificate.
- In the Okta Admin Console, go to Applications > Create App Integration > SAML 2.0, or open your existing Cognism app, and go to the Configure SAML step.
-
Enter the Cognism values in Okta:
- Paste the Cognism ACS URL into Single sign-on URL. Keep Use this for Recipient URL and Destination URL selected.
- Paste the Cognism Identifier (Entity ID) into Audience URI (SP Entity ID).
- Set Name ID format to EmailAddress.
- Set Application username to Okta username or the email attribute your organisation uses.
- Click Next, then Finish, to save the Okta app.
-
In the Okta app, open the Sign On tab and scroll to SAML Signing Certificates. Find the certificate with the status Active, open its Actions menu and select Download certificate.
- Open the downloaded certificate in a plain-text editor and copy its contents, leaving out the
-----BEGIN CERTIFICATE-----and-----END CERTIFICATE-----lines. - Back in the Cognism Okta SSO Configuration dialog, paste the certificate into X.509 Certificate and click Configure.
Expected result: Okta shows as Enabled · Connected under Identity provider on the Cognism Authentication page.
To make SSO the only way to sign in, go to Settings > Authentication > General and turn off Email & password under Sign-in methods. This applies to every user in your Cognism account, so test SSO with Okta first.
How do I set up SCIM provisioning with Okta?
SCIM provisioning lets Okta create, update and deactivate Cognism users automatically. You can only set it up after Okta SSO shows as connected in Cognism.
Generate the SCIM credentials in Cognism
- In Cognism, go to Settings > Authentication > Auto provisioning.
-
Next to Okta, click Set up SCIM.
-
On Before you begin, review what SCIM will do and click Continue.
-
On Attribute mapping, review how Okta attributes map to Cognism fields (for example, userName maps to email). The default mapping works for most setups. Click Continue.
-
On Generate credentials, generate and copy both values:
- SCIM endpoint URL (Okta calls this the SCIM connector base URL)
- Bearer token
Copy the bearer token now. Cognism shows the bearer token only once. If you lose it, click Refresh token on the Cognism Authentication page to generate a new one, then update the token in Okta. You do not need to set up SCIM again.
Add the SCIM credentials in Okta
- In your Okta Cognism app, go to Provisioning > Integration, click Edit and enable API integration.
- Paste the Cognism SCIM endpoint URL into SCIM connector base URL.
- Set Unique identifier field for users to userName.
- Set Authentication Mode to HTTP Header, and paste the bearer token into Authorization in the format
Bearer <your-token>. - Click Test Connector Configuration, then Save.
-
Go to Provisioning > To App, enable Create Users, Update User Attributes and Deactivate Users, then save.
Expected result: Okta shows as Provisioning enabled on the Cognism Auto provisioning tab.
How do I give users access to Cognism through Okta?
- In your Okta Cognism app, open the Assignments tab.
- Assign the people or groups who should have Cognism access.
SCIM creates each assigned user in Cognism automatically. Removing a user's assignment in Okta deactivates their Cognism seat.
Which seat type do provisioned users get?
Every user provisioned through SCIM gets the Sales User seat type. To make someone an Admin you need to define a custom mapping attribute "roles" in the Okta application.
What happens if I run out of licences?
Users you assign in Okta without an available Cognism licence are created in an inactive state. When they sign in, they see "No account provisioned – contact your admin". Check you have enough licences before you assign large groups.
How do I manage SCIM provisioning after setup?
On the Cognism Settings > Authentication > Auto provisioning tab, Okta provisioning has three controls:
- Edit: change the attribute mapping.
- Refresh token: generate a new bearer token without setting up SCIM again. Paste the new token into the Okta Authorization field straight away, because Okta can't sync users until you do.
- Disable: turn off SCIM provisioning for Okta.
Expected results
- Users assigned in Okta sign in to Cognism from their Okta dashboard. The Organisation SSO button on the Cognism login page is only for organisations connected through Custom SAML.
- Okta creates, updates and deactivates Cognism users. You don't need to invite users manually.
- Users provisioned through Okta don't set a Cognism password.
If it doesn't work
-
Symptom: a user sees "No account provisioned – contact your admin".
Cause: the user has no active Cognism seat.
Fix: check you have enough licences and that the user is assigned to the Cognism app in Okta. -
Symptom: Okta can no longer sync users, or you lost the bearer token.
Cause: the token is missing or out of date in Okta.
Fix: in Cognism, click Refresh token, then update the Authorization field in Okta under Provisioning > Integration. -
Symptom: provisioning stopped working after you changed SSO.
Cause: SCIM depends on Okta SSO being connected.
Fix: check Okta still shows as Enabled · Connected in Cognism, then re-enable or retest provisioning. -
Symptom: users can't sign in with SSO.
Cause: the ACS URL, Entity ID or certificate don't match between Okta and Cognism.
Fix: check the Okta Single sign-on URL and Audience URI match the Cognism values, and that you added the certificate marked Active. -
Symptom: a user's email changed in Okta and they now have a second Cognism user.
Cause: email is the unique identifier for Cognism users.
Fix: contact Cognism Support to merge or deactivate the duplicate user.