Configuring OpenID Connect (OIDC) Integration with Okta - Rafay Product Documentation

OpenID Connect (OIDC) Integration

Follow the steps documented below to integrate your Org with an OIDC-compliant Identity Provider (IdP) such as Okta for Single Sign On (SSO).

Important
Only users with "Organization Admin" privileges can configure SSO in the Web Console.


Step 1: Create IdP in Web Console

Important

At this point, the configuration cannot be saved or continued further. The remaining fields: Client ID, Client Secret, OP Domain URL, and Group Attribute Name must be populated after configuring the corresponding Okta application and retrieving these details from Okta.

Once these values are available, return to this page, complete the remaining fields, and then proceed with the setup.


Step 2: Configure OIDC App in Okta


Step 3: Capture Client Credentials

🚨 Important: Ensure that the OP Domain URL includes the protocol prefix — http:// or https:// — to make it a valid URL. The process cannot proceed without a properly formatted URL.

Once saved, the OIDC app is configured in OKTA.


Step 4: Webhook Configuration (Optional)

In the Web Console, configure the webhook if required, and click Save & Exit.

Once the configuration is complete, a verification email is sent to the admin email ID specified on the IdP Configuration page. The verification must be completed to enable SSO login using the configured OIDC app.


Step 5: Configure Group Claims in Okta

Important
The Claim Name must exactly match the Group Attribute configured in the Web Console.

After configuring, the groups claim appears under the Claims tab in the authorization server.
The groups claim maps the user’s group memberships using a regular expression defined in the Value field. This ensures that only the matching groups are passed in the ID token during authentication. Make sure the Claim Name for groups matches the name specified in the OIDC configuration at the time of creation or update.


Step 6: Configuring Access Policies

Access policies define the rules and conditions that determine how users can access an OIDC application. These policies help control authentication behavior and client-level access.

Navigate to Access Policy Settings

  1. In the Okta Admin Console, go to Security → API.
  2. Click on the default authorization server to open its configuration.

Create a New Access Policy

  1. Select the default authorization server.
  2. Click on the Access Policies tab and then select Add Policy.
  3. In the Add Policy dialog:
    • Enter a Policy Name and a Description.
    • Under Assign to, choose one of the following:
      • All clients to apply the policy globally.
      • The following clients to restrict the policy to specific OIDC apps by selecting the app name.
  4. Click Create Policy to save the configuration.

Step 7: Add a rule to the policy

Once the policy is created, click Add Rule.
Enter the details to define the grant type, user assignments, scopes, and token lifetimes. Once all required fields are configured, click Create rule to add the rule to the policy.

Note: On successful configuration, create a user and assign the user to the appropriate group in the IdP application.


Troubleshooting

Scenario 1: User Not Assigned to OIDC Application

Description:
The IdP is configured and verified in the Web Console. The OIDC app is created and configured in Okta, but the user is created without being assigned to the OIDC application.

Error Message:

Resolution:

Scenario 2: Access Policy Not Configured

Description:
The user is assigned to the OIDC application, but no access policy or rule is configured in Okta.

Error Message:

Resolution: