Authorization Server
You need to register Densify as a web application in your Okta Authorization Server. and then provide the following information to Densify:- Client ID
- Client secret (password)
- Issuer URI
Create an Application
- In Okta’s Admin Console, select Applications > Applications > Create App Integration.
- On the Create a new app integration page, select OIDC - OpenID Connect as the Sign-in method and Web Application as the Application type.
- Click Next.
-
On the New Web App Integration page, select the following settings are click Save:
- App integration name—a name for the application (example Densify)
- Sign-in redirect URIs—https://<yourcompany>.densify.com:443/redirect
-
Sign-out redirect URIs:
- https://<yourcompany>.densify.com:443/ (for the Densify Console)
- https://<yourcompany>.densify.com:443/admin/ (for the Analysis Console)
- https://<yourcompany>.densify.com:443/openIdError
- https://<yourcompany>.densify.com:443/densify
- https://<yourcompany>.densify.com:443/kubex
- Controlled access - Allow everyone in your organization to access
- From the application page copy Client ID and Client Secret. Provide these to Densify.
Testing the Token
- From the Admin Console select Security > API
- On the API page copy the Issuer URI and provide it to Densify.
- Click default (or the name of the Authorization Server you are using) to bring up Authorization Server Settings.
- Select Token Preview tab and enter the following settings then click Preview Token: a. OAuth/OIDC client – Densify (or the App integration name you used above) b. Grant type – Authorization Code c. User – A user that will access Densify d. Scopes – openid email profile
- If the token is generated the setup is complete. If you see an error “Policy evaluation failed for this request, please check the policy configurations.” You will need to follow the next section to create an access policy.
Create Access Policy (only required if you see the error in #5 above)
- From the Admin Console select Security > API
- Click default (or the name of the Authorization Server you are using) to bring up Authorization Server Settings.
- Select Access Policies tab and click Add New Access Policy
- On the Add Policy page enter the following settings and click Create Policy: a. Name - Densify (or any name you want to use) b. Description – Densify (or any description you want to use) c. Assign to > The following clients – Densify (or the App integration name you used above)
- Select the newly created Access policy and click Add Rule
- On the Add Rule page give the rule a name and click Create Rule