Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Okta

Okta is a leading identity and access management (IAM) platform that provides single sign-on, multi-factor authentication, and user lifecycle management. Connecting Okta to Harmony enables automated application discovery, intelligent license optimization, and seamless user provisioning workflows.


What the Okta Integration Enables

Capability
Description

Application Discovery

Automatically discover all applications managed through Okta, including SaaS and cloud-based tools assigned via SSO - even without MDM enrollment

License Optimization

Track application usage and identify unused licenses for cost savings

User Provisioning

Automate user onboarding and offboarding across all connected applications, including assigning and revoking Okta application access via workflows

Access Management

Centralize access requests and approvals with intelligent policy enforcement

Automation Workflows

Build custom workflows using the Okta API for identity and access management

Employee Directory Sync

Sync rich employee profile data - including manager, department, location, and employment type - directly from Okta into your Harmony employee directory

Login Event Tracking

Capture and view normalized Okta login and authentication events within Harmony's event log and reports

User Status Lookup

Retrieve the live lock and account status of any user directly through your connected Okta instance

Anything defined in the Okta API can be accessed through Harmony workflows.


Prerequisites

Before connecting Okta to Harmony, ensure you have:

  1. Okta Administrator access to your Okta organization

  2. A Harmony account with admin privileges

  3. Your Okta domain (e.g., company.okta.com or company.oktapreview.com)

You need the Super Administrator role in Okta to add and authorize the Harmony integration.


Step 1: Add the Harmony Integration

  1. Navigate to Okta App Catalog

    1. Sign in to your Okta Admin Console

    2. Navigate to Applications → Browse App Catalog

    3. Search for Harmony in the catalog

    4. Click Add Integration

    5. Follow the on-screen prompts to complete the integration setup

    Harmony is a verified application in the Okta Integration Network (OIN) marketplace, so no custom app configuration is required. The integration uses OAuth-based authentication with a managed token refresh flow, keeping your connection secure and uninterrupted. Okta domain validation is enforced during setup to help catch configuration errors early.

    Okta Admin Console - Add Harmony Integration

    Workflows and agents act on Okta through the Okta API scopes you grant to the Harmony app when you click Install & Authorize. To let them act on Okta admins, for example to reset an admin's password or MFA, also assign the Harmony app the Super Administrator role under Admin roles. Creating Okta groups needs the Org Administrator or Super Administrator role.


Step 2: Harmony Configuration

  1. Navigate to Integrations

    1. Log into your Harmony dashboard

    2. Navigate to Settings → Integrations

    3. Find Okta under Identity Provider (or search for it by name) and click its card. If an Okta instance is already connected, click + Create instance

    Harmony Dashboard - Connect Okta Integration
  2. Enter Configuration

    Fill in the following fields:

    Field
    Description
    Example

    Instance name

    A descriptive name for this Okta instance

    Company Okta

    Client ID

    The Client ID from the Okta OIN app integration

    0oa1a2b3c4d5e6f7g8h9

    Client secret

    The Client Secret from the Okta OIN app integration

    AbCdEfGhIjKlMnOpQrStUvWxYz...

    Okta domain

    Your Okta organization domain (e.g., https://company.okta.com or company.okta-emea.com)

    https://company.okta.com

    Once all fields are filled in, click Connect to complete the integration setup.

    Harmony - Okta Configuration Fields

    Okta shows the client secret only once, right after you authorize the Harmony integration, so copy it then. The Client ID and Okta domain are on the Harmony app's General tab in the Okta Admin Console.

Connecting Multiple Okta Instances

You can connect more than one Okta instance to Harmony. This is useful for enterprises that manage separate Okta environments across business units, regions, or subsidiaries. Each Okta instance is tracked independently, so employee data and application records are correctly attributed to the right integration. To add an additional instance, repeat Steps 1 and 2, clicking + Create instance on the Okta card and using a unique Instance name for each connection.


What Harmony Syncs from Okta

Once connected, Harmony automatically syncs the following data:

Applications

  • Application names, displayed using the human-readable label configured in Okta (e.g., "Testim.io" rather than honeybook_testimio_1)

  • Application status (active/inactive)

  • User and group assignments

  • Application metadata, such as sign-on mode and login URL

  • Last used dates and usage statistics

  • Applications are automatically checked against the Harmony application catalog and grouped under a recognized catalog entry or a new application group - kept up to date as catalog matches change over time

Users

  • User profiles (name, email, phone)

  • User status (active, suspended, deprovisioned)

  • Group memberships

  • Application assignments

  • Authentication factors (MFA status)

  • Manager name - who each employee reports to

  • Department - the team or business unit the employee belongs to

  • Location - the employee's assigned office or region, resolved to full country names

  • Employment type - full-time, contractor, or other classification

  • User type - the Okta user type associated with the account

If you also use an HR system such as HiBob alongside Okta, HR system data takes precedence, ensuring your authoritative people data always wins.

Groups

  • Group names and descriptions

  • Group members

  • Application assignments per group

Login Events

Harmony ingests webhook events directly from Okta and transforms them into a normalized format enriched with employee and application context. These events are available in Harmony's event log and reports, and can be used in downstream workflows. Event data is correctly attributed to the right employee even when Okta's internal user and app-user identifiers differ. Application instances that no longer exist are gracefully filtered out, and transient errors automatically retry to ensure no events are silently dropped.


User Status Lookups

You can retrieve the live lock and account status of any user directly through your connected Okta instance. Harmony maps all 8 Okta account statuses to a consistent, normalized format, so your support agents always have an accurate, up-to-date picture of a user's standing without leaving Harmony. Supported status values include:

  • Active

  • Locked out

  • Suspended

  • Password expired

  • Deprovisioned

  • Provisioned

  • Staged

  • Recovery

User status lookups are faster than ever - Harmony now consolidates credential fetching into a single call, reducing latency and placing less load on the system.


Assign and Revoke Application Access via Workflows

You can assign users to Okta applications and revoke their access directly through Harmony's automated workflows. This brings Okta application lifecycle management into the same access provisioning and deprovisioning flows you already use for other integrations.

  • Assign access: Workflows can automatically assign a user to an Okta application as part of an access provisioning step.

  • Revoke access: Workflows can remove a user's application assignment when access is deprovisioned.

  • Automatic sync: After access changes are made, Harmony syncs the updated state to keep your records accurate.


Okta Verify in Workflows

Automatic OTP Fallback

You can configure Okta Verify workflows to automatically fall back to OTP (one-time passcode) verification if an Okta push notification fails to be delivered. Instead of a workflow failing outright when a push verify attempt is unsuccessful, Harmony seamlessly switches to OTP verification to keep the process moving.

  • Automatic OTP fallback: When an Okta push verify attempt fails, the workflow automatically retries using OTP verification.

  • Configurable fallback behavior: You can choose to disable the OTP fallback if you prefer push-only verification.

Multi-Device Push Support

Okta Verify push notifications work reliably across multiple devices, including environments where users have more than one device enrolled in Okta.

  • Multi-device push support: Push challenges are sent correctly when a user has multiple devices enrolled.

  • Smarter retry logic: Push requests handle OAuth propagation delays more gracefully, with improved retry behavior to reduce failures caused by timing issues.


Sync Reliability Under API Rate Limits

Harmony proactively monitors Okta API rate limit consumption and backs off before hitting Okta's limits, rather than reacting only after errors occur. The number of concurrent Okta API requests made during data collection has also been reduced, spreading the load more evenly across time. This results in more consistent, uninterrupted syncing of your Okta users, groups, and applications - even in environments where other integrations share your Okta API quota.


Troubleshooting

Okta data does not sync after connecting

Possible causes:

  • The Client ID or Client secret was entered incorrectly

  • The client secret was rotated, or the Harmony app was deactivated in Okta

Solutions:

  1. Verify you copied the entire Client ID and Client secret without extra spaces

  2. Generate a new client secret for the Harmony app in Okta. In Harmony, open the Okta instance, click Replace on Client secret, paste the new secret and click Save changes

Application discovery is incomplete

Possible causes:

  • Some applications are not assigned to any users

  • Applications are managed by a different IDP

Solutions:

  1. Verify applications have at least one user assigned in Okta

  2. Check that you're using the correct Okta domain


Need help? Contact support@harmony.io for assistance with your Okta integration.


Data & Privacy

Key privacy principles

For information about how Harmony handles your data, see our Privacy Policy.

  • Okta credentials are encrypted at rest and in transit

  • Only necessary scopes are requested for integration functionality

  • User data is processed solely for identity and access management purposes

  • Integration can be revoked at any time from Okta or Harmony settings

Last updated

Was this helpful?