Prerequisites
Before you begin, ensure you have:- Okta Super Admin or Application Administrator access
- Your Okta organization domain
- Permissions to create Application Integrations
- Ability to grant admin roles to service accounts
Setup guide
Create Okta API Service Integration manually
Create app integration

Select integration type

Name the app integration

Configure private key authentication
- Select Private Key/Public Key as the Client Authentication Method
- Click Add Key to generate a key pair
- Copy the Client ID for later use

Generate PEM key pair

Save private key and KID

Disable DPoP requirement

Grant required scopes
okta.users.readokta.users.manageokta.groups.readokta.groups.manageokta.apps.readokta.apps.manageokta.factors.readokta.factors.manageokta.logs.read(required for the copilot to search the Okta System Log when diagnosing access issues, sign-in failures, and MFA events)

Assign admin roles
Application AdministratorGroup AdministratorHelp Desk AdministratororSuper Administrator(required for password and MFA reset)
Add integration
Navigate to integrations

Select Okta integration

Select Private Key method
Enter integration details
- Okta Domain: Your Okta domain (e.g.,
https://your-org.okta.com) - Client ID: The Client ID from your Okta integration
- Private Key PEM: The Private Key PEM you saved earlier
- KID: The Key Identifier (KID) you saved earlier

Complete setup
Troubleshooting
Invalid credentials error
Invalid credentials error
- Verify the Private Key PEM is copied correctly (including BEGIN/END markers)
- Ensure the KID matches the key in Okta
- Check that the key hasn’t been deleted in Okta
- Try generating a new key pair if needed
Missing scopes or partial sync
Missing scopes or partial sync
- Verify all required scopes are granted in the Okta Admin Console on your app’s Okta API Scopes tab. Ravenna does not display granted scopes.
- Check that Application Administrator role is assigned
- Ensure Group Administrator role is assigned
- For password and MFA reset, assign
Help Desk AdministratororSuper Administrator - Review the integration’s admin role assignments
- After granting the missing scopes, trigger a resync from the integration page (no need to disconnect and reconnect)
Password or MFA reset fails with a permission error (403)
Password or MFA reset fails with a permission error (403)
Application Administrator and Group Administrator cannot reset credentials.Solution:- Assign
Help Desk AdministratororSuper Administratorto the integration - Retry the action; no resync or reconnect is needed
DPoP requirement error
DPoP requirement error
- Disable Require DPoP in the Okta integration settings
- Save the changes and retry the connection
Key validation failed
Key validation failed
- Ensure the key is in PEM format
- Verify the key includes the full BEGIN/END markers
- Check for any line breaks or formatting issues
- Generate a new key pair if the format is corrupted