Okta (OIDC)
Prerequisites
Implement single sign-on (SSO)
It is recommended to use two separate browser tabs for the Keycloak (K) and Okta (O) portals to make it easier to apply the settings.
(K) Open a new tab in your browser and sign in to the target Spark tenant. Access the Keycloak console from the User menu.
(K) Expand the Add provider dropdown and select OpenID Connect v1.0.
(K) Enter any name in the Alias field. The Alias should be a lowercase name without special symbols.
(K) Enter any name in the Display Name field. Please note this Display Name will appear in the button on the Spark sign-in page.
(K) Copy the Redirect URI value.
(O) In a second browser tab, sign in to Okta.
(O) In the left pane, expand Applications and select Applications.
(O) Select Create App Integration.
(O) For Sign-in method choose OIDC - OpenID Connect and for Application type choose Web Application. Select Next.
(O) Enter a name in the App integration name field.
(O) For Grant type select Authorization Code.
(O) In the Sign-in redirect URIs field, paste the modified redirect URI.
(O) For Controlled access, select Allow everyone in your organization to access. Check Enable immediate access with Federation Broker Mode then select Save.
(O) Copy the Client ID value.
(K) Return to Keycloak. In the Client ID field, paste the value copied in the previous step.
(O) Switch to Okta. Copy the Client Secret.
(K) Return to Keycloak. In the Client Secret field, paste the value copied in the previous step.
(O) Switch to Okta. Expand Security on the left pane and select on API.
(O) Select on the name of your authorization to bring up the settings page.
(O) Copy the Metadata URI.
(K) Return to Keycloak. In the Discovery endpoint field, paste the value copied in the previous step.
(K) Select Add.
(K) Expand Advanced.
(K) For the Scopes field, enter
openid email profileand select Save.(O) Okta Authorization Servers require an Access Policy to define which clients (applications) can request tokens under what conditions. If there is no default Access Policy that applies to all applications, then you must create one for your Okta OIDC app to ensure it can receive tokens.
(O) In the left pane, expand Security, then select API.
(O) Select the Authorization Servers tab and select on the name of your Authorization Server.
(O) Open the Access Policies tab.
(O) Select Add New Access Policy.
(O) Provide a name and description. In the Assign to section, select The following clients, enter the first three letters of your Okta OIDC app, select your app, and select Create Policy.
(O) Select Add Rule.
(O) Enter a name and uncheck Client Credentials and Device Authorization. Leave other settings as default unless your organization requires different values, then select Create Rule.
Navigate to your Spark tenant and sign in using the newly created provider. The Keycloak sign-in page shows a button with the display name you defined earlier.
Configure Okta groups to Spark user groups
It is recommended to use two separate browser tabs for the Keycloak (K) and Okta (O) portals to make it easier to apply the settings. In this guide, we will set up the automatic roles for the tenant-admin role.
(O) In the first tab, sign in to Okta.
(O) Expand Directory and select on Groups.
(O) Create a group and prefix it with
spark(or any preferred prefix), for examplespark-tenant-admin.(O) Add the test user to the group.
(O) On the left pane, expand Security and select API.
(O) Make sure Authorization Servers tab is selected and select the server name.
(O) Select Claims and then select Add Claim.
(O) Provide the following values then select Create.
KeyValueName
groupsInclude in token type
ID token and AlwaysValue Type
GroupsFilter
Matches regex and .*Include in
Any scopes(K) Open a new tab in your browser and sign in to the target Spark tenant. Access the Keycloak console from the User menu.
(K) Select Identity Providers from the left pane and then the identity provider you configured in the previous section.
(K) Select the Mappers tab and then Add mapper.
(K) Provide the following values.
NameValueName
tenant-adminSync mode override
forceMapper type
Advanced Claim to Group(K) Select Add Claims.
(K) Provide the following values:
KeyValuegroupstenant-admin(K) Leave Regex Claim Values as Off (which is the default).
(K) Select Select Group, choose
tenant-admin, then select Select.(K) Select Save.
Sign in to Coherent Spark with your test account. Select on your initials and hover over the groups icon to confirm your membership in
tenant-admin.We highly recommend creating at least a few additional app groups relevant for Private tenants:
Group for
supervisor:pfuser accounts. In Spark,supervisor:pfmembers can manage permissions across all folders.Groups for "standard" user accounts, e.g.
user:teamA,user:teamB. These groups can be assigned to the users in your organization not responsible for tenant administration. Creating multiple roles for "standard" user accounts can be useful to separate access between teams.
Create a bookmark application for Coherent Spark
Last updated
