Search documentation

Find a documentation page by title, topic or keyword.

Okta

Okta connects with a domain and an API token rather than an OAuth redirect. Governax then registers an Event Hook in your Okta org for you, so there is no webhook configuration to do by hand.

Before you start#

What you need
ItemDetail
Your Okta org domainFor example your-org.okta.com. Enter it without https://.
An Okta API tokenCreated by an administrator who can manage Event Hooks and list users.

Creating the API token#

  1. Open your Okta admin console

    Go to Security, then API, then the Tokens tab.

  2. Create a token

    Name it something identifiable, such as Governax, so it is obvious later what it belongs to.

  3. Copy the value immediately

    Okta shows the token once. If you lose it, delete it and create another.

Connecting#

  1. Open the entity's Integrations page and choose Okta

    Confirm you are on the entity that should own this Okta org.

  2. Enter the domain and the token

    There is no redirect to Okta. The form submits directly and the page returns to a connected state on success.

  3. Governax verifies and configures

    The token is encrypted and stored, an Event Hook is created in your Okta org, Okta verifies that hook by calling it, and the initial user snapshot begins. All of this happens inside the one request, so a failure is reported to you rather than discovered later.

The Event Hook Governax creates#

You will see a new Event Hook in your Okta admin console named after your entity. It points at a URL unique to this connection:

https://<governax>/api/webhooks/okta/<connection-id>

Each connection has its own URL and its own authorisation secret, sent by Okta as a header on every delivery. Because the secret is derived per connection, a value captured from one customer cannot be replayed against another. Governax verifies it on every delivery before doing anything with the payload.

Events captured#

Governax subscribes to 24 Okta System Log event types, producing these ledger events:

Okta event types by area
AreaEvent types
User lifecycleresource.user_created, access.user_activated, access.user_suspended, access.user_unsuspended, access.user_deactivated, resource.user_deleted
Groupsaccess.group_member_added, access.group_member_removed, resource.group_created, resource.group_deleted
Applicationsaccess.app_assigned, access.app_unassigned, resource.app_created, resource.app_deactivated, resource.app_deleted
Administrative privilegeaccess.admin_role_granted, access.admin_role_revoked
Multi-factorsecurity.mfa_factor_added, security.mfa_factor_removed, security.mfa_reset
Policy and tokensresource.policy_changed, access.api_token_created, access.api_token_revoked
Connect timeaccess.baseline_observed for every active user

Not captured: routine authentication and session events. Okta's System Log records every sign-in; recording those in a governance ledger would bury the access changes that matter.

Okta is the connector with the most complete attribution: its events carry login identifiers that are normally email addresses, so both actor and subject are usually populated.

Disconnecting#

Disconnecting deactivates and deletes the Event Hook in your Okta org using the stored token, then marks the connection dead. Nothing is left behind in Okta except the API token itself, which you should delete in the Okta console if you are revoking access properly.

Troubleshooting#

Common Okta connection problems
SymptomCause and fix
Event hook registration failedThe token cannot manage Event Hooks, or the domain is wrong. Check the token belongs to an administrator with that permission, and that the domain has no https:// prefix or trailing slash.
Connected, then events stoppedThe API token may have expired, or the Event Hook was deleted in Okta. Check the connection's last error, then reconnect.
Already connectedThis Okta org is bound to another entity or organisation. Disconnect it there first.
Sign-ins are not appearingThey are deliberately excluded. Only access and configuration change is recorded.

General connector behaviour is covered in Connecting a tool.