Connect Okta
A read-only API Services app, so EntiPath can sync people, groups, rules and applications.
On this page
Before you begin
- An Okta super administrator account, to create the app in Okta.
- An EntiPath owner or admin account.
- An Okta org on an okta.com address. oktapreview.com, okta-emea.com, okta-gov.com and okta-mil.com work too; a custom domain doesn’t.
It takes about 10 minutes.
Generate a key in EntiPath
In EntiPath
- Go to Integrations and click Add a source.
- Click Connect on the Okta row.
- Keep OAuth service app selected, then click Generate key.EntiPath shows a public key and its Key ID (KID). Leave this page open: you’ll copy the key in part 2.

Create the app in Okta
In the Okta Admin Console
- Go to Applications › Applications and click Create App Integration.
- Choose API Services, name it
EntiPath, and click Save. - On the General tab, under Public keys, click Edit.
- Set Configuration to Save keys in Okta.
- Click Add, paste the public key from EntiPath, and click Done.
- Click Save.The key shows as Active, with the same KID as in EntiPath.
- Under Client Credentials, click Edit, set these, then click Save:
Setting Set it to Client authentication Public key / Private key Require DPoP Leave it as it is. EntiPath works either way. Client authenticationPublic key / Private keyRequire DPoPLeave it as it is. EntiPath works either way. - Copy the Client ID. It starts with
0oa, and you’ll paste it in part 4.
Grant scopes and a read-only role
In the Okta Admin Console, on the EntiPath app
- Open the Okta API Scopes tab.
- Click Grant next to each of these:
Scope Why okta.users.readRequired okta.groups.readRequired. Also covers group rules. okta.apps.readRequired okta.logs.readRequired okta.roles.readOptional. Only to show who holds Okta admin roles, which also needs its own guide. You can add it later. okta.users.readRequiredokta.groups.readRequired. Also covers group rules.okta.apps.readRequiredokta.logs.readRequiredokta.roles.readOptional. Only to show who holds Okta admin roles, which also needs its own guide. You can add it later. - Open the Admin roles tab and click Edit assignments.
- Choose Read-only Administrator, then click Save changes.
Connect it
In EntiPath
- Back on the page from part 1, fill in:
Field Enter Okta domain Your org’s Okta address, such as acme.okta.com, without -adminClient ID The Client ID you copied in part 2 Display name A name for this org in EntiPath, such as Okta production Okta domainYour org’s Okta address, such asacme.okta.com, without -adminClient IDThe Client ID you copied in part 2Display nameA name for this org in EntiPath, such as Okta production - Click Verify and connect.EntiPath checks it can read users, groups, group rules and applications, and whether it can read admin roles. Then it saves the connection, starts the first sync and opens the integration.

Using an API token instead?
An API token is quicker, but it carries every permission of the admin who creates it.
- In Okta, sign in as a service account that has only the Read-only Administrator role.
- Go to Security › API › Tokens and create a token.
- In EntiPath, on the Connect Okta page, choose API token.
- Fill in the Okta domain, a Display name and the API token, then click Verify and connect.
After you connect
Production or sandbox
The first org you connect is production; the next is a sandbox, for trying plans before production. A paid plan includes one of each, and a trial connects one org in all. Change it on the integration’s Settings tab, under Environment.
Test and sync
Test connection and Sync now are at the top of the integration’s page. Syncs also run on their own.
Replace the credentials
If a token was revoked or a key removed, replace it on the Settings tab: Replace the API token, or Replace the key for a service app. EntiPath checks the new one with Okta first. People, groups and plans stay as they are.
Disconnect
Disconnect, on the Settings tab, deletes the stored credentials, everything read through this connection, and its change plans and saved checks. The audit log keeps who drafted, approved and applied each plan. Nothing changes in Okta, so remove the app there too.
Troubleshooting
Find the message EntiPath showed. Each one says why it happens and how to fix it.
“Okta did not accept EntiPath’s key for client …”
Okta refused the app’s sign-in with the key.
- In Okta, open the EntiPath app’s General tab.
- Check Client authentication is saved as Public key / Private key.
- Check a key with the KID EntiPath shows is listed and Active. If you generated a new key in EntiPath, add that one too.
- Click Verify and connect again.
“… the token Okta issued lacks …” or “… has not been granted the required scopes …”
The app is missing at least one scope. The message lists every scope EntiPath asks for, including ones already granted.
- In Okta, open the EntiPath app’s Okta API Scopes tab.
- Check each scope in part 3 says Granted, and grant any that don’t.
- Connect again.
“Okta denied reading … even though the token has every needed scope”
The scopes are there, so the admin role is too narrow. A custom role, or one limited to users or certain groups, isn’t enough.
- In Okta, open the EntiPath app’s Admin roles tab.
- Assign Read-only Administrator.
“Okta denied reading … Check that the token or app has …”
With an API token, Okta uses the permissions of the admin who created it.
- Give that admin the Read-only Administrator role, or create the token as a service account that has it.
“Okta rejected the credentials” or “Okta token request failed”
Okta didn’t accept what EntiPath signed in with.
- With an API token: it was revoked, expired, or pasted incompletely. Create a new one.
- With a service app: check the Client ID is the app’s own (it starts with 0oa) and the app is active.
- Already connected? Replace it on the integration’s Settings tab. People, groups and plans stay as they are.
“Enter your Okta org domain … (not a custom domain)”
Okta’s API is only served on your org’s Okta address, not a custom domain like login.acme.com.
- Use the address in the Okta Admin Console’s address bar, such as acme.okta.com, without -admin.
“Could not reach …”
EntiPath couldn’t reach that domain.
- Check it’s your Okta org’s address, such as acme.okta.com, without -admin.
“clientId: String must contain at least 10 character(s)”
The Client ID is too short.
- Copy all of it from the app’s General tab in Okta. It starts with 0oa.
“The setup key has expired”
The key EntiPath generated waits 24 hours.
- Click Generate a new key.
- Add the new public key in Okta, as in part 2.
- Connect again.
“During the trial, a workspace connects one Okta org”
A trial workspace connects one Okta org, production or a sandbox.
- Disconnect it first, or connect a second org on a paid plan.
“This workspace can connect … production org and … sandbox”
The workspace already has as many production orgs and sandboxes as its plan includes.
- Disconnect one first, or contact EntiPath to add more.
A sync fails with “Okta denied access (…)”
The connection worked before, so something changed in Okta: a scope was revoked, or the app lost its Read-only Administrator role.
- Check the scopes and role in part 3.
- Click Test connection.
“Okta rate limit persisted after retries”
Okta kept asking EntiPath to slow down, and the sync stopped. Okta’s limits are shared with everything else calling your org’s API, and the next sync tries again.
Still stuck? Email support@entipath.com with your workspace address and the message EntiPath showed.