API token
Create an Okta API token and configure it in MIM.
Step 1: Choose the Okta account
An API token inherits the Okta permissions of the account that creates it, and stops working if that account is deactivated. Use a dedicated account rather than an administrator's personal account, so that the connector's access isn't tied to a specific person.
Give the account administrative access covering the users, groups, and operations MIM will manage.
Step 2: Create the token
Sign in to the Okta Admin Console as that account.
Open Security > API > Tokens.
Select Create token.
Name it after the MIM server and management agent, for example
MIM01 - Corporate Okta MA.Copy the token and store it securely. Okta will not show it again.

Okta's API token documentation covers token expiry and network zone restrictions, both of which can silently break the connector later.
Step 3: Configure MIM
On the management agent Connectivity page:
Set Authentication method to API token.
Paste the token into API key.
Enter your Okta org URL in Tenant URL, for example
https://example.okta.com. Don't use the-adminhostname.Set the log file path and log level.
Save the page.

The Connectivity page shows the fields for all three authentication methods at once. With API token selected, only API key and Tenant URL are used. Leave OAuth client ID, Private JWK file path, and Certificate thumbprint empty.
See Connectivity settings for the full field reference.
Step 4: Retrieve the schema
Retrieve the management agent schema. It will show the full user and group schema, because a token carries no scope information the connector can read. Select only the object types and attributes the token's account is permitted to use.
If schema retrieval fails, see API token troubleshooting.
Then continue with Creating the management agent.
Replacing the token
Create the replacement token in Okta.
Enter it on the Connectivity page and save.
Run a controlled import to confirm it works.
Revoke the old token in Okta.
Last updated