Setup auth provider
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 includes a built-in Okta authentication provider that uses OAuth for user authentication. To enable Okta authentication for your Portal instance, follow these steps.
Create App integration In Okta
Within your Okta dashboard create a new app integration where the sign-in method is OIDC - OpenID Connect
.
In addition, your application type should set to Web Application
.
Once created, you can fill out the new web app integration form:
- App integration name: "Spotify Portal" (or your own custom app name)
- Grant type: Authorization Code & Refresh Token
- Sign-in redirect URIs:
https://<your-organization>.spotifyportal.com/api/auth/okta/handler/frame
- Sign-out redirect URIs:
https://<your-organization>.spotifyportal.com
- Store your Client ID and generate and store your Client Secret
- Click Save
For more information on how to Create an OIDC App Integration in Okta, refer to the Okta documentation.
Configure the Authentication Provider in Portal
Now navigate to the config-manager and click on the Auth
plugin.
We will now set up the authentication:
-
Open Config Manager in Portal and navigate to the Auth plugin.
-
Scroll to
auth.providers.okta
-
Add a new configuration entry with "Key name" of
production
-
Enter the following details from your Okta Web App Integration:
clientId
clientSecret
audience
(URL of your Okta instance)
- Set
emailMatchingUserEntityProfileEmail
as the sign-in resolver.
- Click Save changes.
Next Steps
Your Portal instance is now set up to authenticate users via Okta. The next step is to populate your Catalog with your organization's user and team data from Okta so that users can gain access within Portal.
Continue to the next section to learn how to configure Okta and complete this integration.