Capabilities
Query Tools
Hiro can query Okta for:Action Tools
With appropriate permissions, Hiro can:Setup
Prerequisites
- Okta admin access (Super Admin or Organization Administrator)
- Ability to create an OAuth 2.0 service app in Okta
Connection Method
Hiro connects via OAuth 2.0 with Private Key JWT authentication (not API tokens).1
Create a service app in Okta
In your Okta Admin Console:
- Go to Applications > Applications
- Click Create App Integration
- Select API Services
- Name it (e.g., “Hiro Security”)
2
Configure the app
After creating:
- Go to General > Client Credentials
- Select Public key / Private key as the client authentication method
- Click Add key and then Generate new key
- Copy the public key in JWK format
- Important: Also save the private key — you’ll need it in the final step
3
Grant OAuth scopes
Go to Okta API Scopes and grant:
okta.users.readokta.users.manageokta.groups.readokta.apps.readokta.logs.readokta.policies.read
4
Assign admin role
Critical step — Scopes alone are not enough.Go to Admin roles and assign:
- Read-Only Administrator (for queries only), or
- Organization Administrator (for full mutation access)
5
Connect in Hiro
In Hiro, go to Settings > Integrations:
- Enter your Okta domain (e.g.,
company.okta.com) - Enter the Client ID
- Paste the private key (JWK format)
- Click Connect
Investigation Examples
Find suspicious logins
Investigate a user
- Recent login history with locations
- Failed authentication attempts
- MFA challenges and failures
- Account lockouts
- Privilege changes
Check MFA status
Query system logs
Remediation Actions
When Hiro identifies a threat, it can propose actions like:Troubleshooting
”Empty results” from queries
The service app likely doesn’t have an admin role assigned. Go to Admin roles in the Okta app settings and assign Read-Only Administrator or higher.”Authentication failed”
- Verify the Client ID is correct
- Ensure the private key matches the public key configured in Okta
- Check that the service app is active
Token errors
Hiro uses short-lived tokens that auto-refresh. If you see persistent token errors, try disconnecting and reconnecting the integration.Next Steps
AWS
Connect cloud infrastructure.
CrowdStrike
Connect endpoint protection.