Create an OpenID Connect application in Okta to authenticate users to Yarken. You'll configure the Yarken redirect URIs, assign the appropriate groups, and create a Groups claim so Yarken can determine each user's role-based access.
Before you begin
Make sure that:
-
You've created the required Yarken role groups in Okta.
-
You've assigned users to the appropriate groups.
-
You have the Sign-in Redirect URI provided by Yarken.
-
You have the Sign-out Redirect URI provided by Yarken.
-
Your Okta account can create applications and configure authorization server claims.
Create the OIDC application
-
In the Okta Admin Console, go to Applications > Applications.
-
Select Create App Integration.
The Create a new app integration window opens.
-
For the sign-in method, select OIDC – OpenID Connect.
-
For Application type, select Web Application.
-
Select Next.
The application configuration page opens.
Configure the application
-
Enter an App integration name, for example,
Yarken Test App. -
In Sign-in redirect URIs, select + Add URI, then enter the Sign-in Redirect URI provided by Yarken.
Example:
https://<your-subdomain>.yarken.com/auth/login/oidc/callback -
In Sign-out redirect URIs, select + Add URI, then enter the Sign-out Redirect URI provided by Yarken.
Example:
https://<your-subdomain>.yarken.com/auth/logout
Important: The URLs above are examples. Use the redirect URIs provided by the Yarken implementation team for your environment.
-
In Assignments, select Limit access to selected groups.
-
Assign the appropriate Yarken role group or groups to the application.
-
Select Save.
Okta creates the OIDC application and opens its General page. You can edit the assigned groups later if required.
Create the Groups claim
Configure Okta to include users' group memberships in the ID token. Yarken uses this information to determine the roles assigned to each authenticated user.
-
In the Okta Admin Console, go to Security > API.
-
Select the Authorization Servers tab.
-
Select the default custom server.
-
Open the Claims tab.
-
Select Add Claim.
-
Configure the claim as follows:
|
Setting |
Value |
|---|---|
|
Name |
Enter a claim name, for example, |
|
Include in token type |
Select ID Token and Always |
|
Value type |
Groups |
|
Filter |
Select Matches regex and enter |
|
Disable claim |
Leave unselected |
|
Include in |
Any scope |
-
Select Save.
Important: Enter the regular expression exactly as ^Yarken.*. It uses a caret (^), period (.), and asterisk (*).
The Groups claim enables Okta to include matching Yarken group memberships in the ID token sent to Yarken.
Next step
Share Okta application details with Yarken
Related content