Setup users and groups
It is important to follow all the steps in this guide to ensure a successful configuration of Okta authentication.
If you encounter any issues, please contact support.
Portal can ingest organizational data—such as users and teams—from your Okta tenant via the Okta API. To do this, you must create a new Okta App with specific permissions to your and configure the Okta catalog provider in Portal.
Create new App in Okta
Within your Okta dashboard create a new app integration where the sign-in method is API Services
.
Call the application "Spotify Portal - Provisioning" (or your own custom app name).
Then store the following information:
Client ID
Public Key
KID
(A Key ID that is associated with your private key)
In addition, in the tab Okta API Scopes
you need to add the following scopes:
okta.groups.read
okta.users.read
Scoping the application
It is important to note that you can scope the application to make sure Portal can access only the users and groups it needs.
This can be done by creating and assigning the following Resource Sets and Roles:
- Navigate to
Security > Administrators
- Click on the
Resources
tab and create a new resource set called "Spotify Portal Users & Groups". - Add the
Users
andGroups
resources. (For now, we recommend to ingest all users but only a set list of groups.) - Now navigate back to your newly created app
- Select the
Admin roles
tab and select add assignment - Select "Create a role" and call it "Spotify Portal org data viewer" with the following permissions
User > View users and their details
Group > View groups and their details
- Assign the admin role to the just created resource set
Configure the Okta Org Provider in Portal
- In Config Manager, go to the Catalog plugin
- Scroll to
catalog.providers.okta
- from your Okta instance fill in
id
(e.g.,default
)oktaUrl
(URL of your Okta instance)clientId
privateKey
keyId
(which is theKID
)
-
Then scroll down and fill in the
Schedule
frequency
(We recommend every 30 minutes)timeout
(We recommend keeping it consistent with the chosenfrequency
value)
- Add groups you want to ingest by adding their Okta names in the
groups
section
- Click Save changes.
Portal will now begin ingesting and synchronizing user and group data from Okta.
You can check this by visiting Portal's Catalog, and looking to see if expected users and groups are being added from Okta.
Next Steps
Your Portal instance should now have users and groups from Okta within the catalog. It is very likely that you will now have multiple providers bringing in users and groups to your catalog which can result in duplicate users and cause conflicts when attempting to sign in.
Follow the next section for how to remove existing users and groups from the catalog and complete this integration.