Managing Admin Access to the Aidbox UI Using Okta Groups
Last updated
Was this helpful?
Last updated
Was this helpful?
Configure integration with the Okta Identity Provider to enable secure login to the Aidbox UI
Manage administrative access to the Aidbox UI through Okta by assigning users to specific groups
Create an account in Okta development portal
Make sure your Aidbox version is newer than 2107
Setup the local Aidbox instance using getting started guide
Go to Applications -> Applications in Okta portal and click "Create App Integration" button.
Sign-in method: OIDC - OpenID Connect
Application type: Web Application
Enter Application details:
App integration name: Aidbox
Grant type:
Authorization Code
Refresh Token
Implicit (hybrid)
Sign-in redirect URIs: http://localhost:8080/auth/callback/okta-identity-provider
Controlled access: Skip group assignment for now
Assign the application to your personal account in Okta:
Checkout Client ID and Client secret:
Login to Aidbox UI.
Use REST Console to execute the request below.
<okta-domain>
should be your Okta domain, e.g. dev-43727041.okta.com
replace <client-id>
and <client-secret>
with the actual values
Go to the Aidbox login page. You should see Sign in with MyOkta button.
Press this button and log in with Okta user into Aidbox.
You should not be able to see much in the Aidbox because there's no access policy for your user yet.
Relogin with admin and check the user created in Aidbox for your Okta user. Go to IAM -> User and click on the user ID.
User Resource is Aidbox is updated every time the user logs in using external Identity Provider. Source of the user information is configured using userinfo-source
element in IdentityProvider configuration resource.
In Okta go to Directory -> Groups and create group Aidbox-Admins
Add your user to the group
In Okta go to Security -> API drill down to the default
authorization server go to Claims tab. Click Add Claim button.
name: groups
Include in token type: ID Token
Value type: Groups
Filter: Starts with: Aidbox-Admins
Include in: any scope
Relogin into Aidbox using Sign in with MyOkta button. The user is updated with Okta groups data. Relogin with admin and check.
Use REST Console to execute the request
Now you can relogin with your Okta user and the user will be granted admin access.
See more about Aidbox Security Security & Access Control