Note:

Configure OCI Search with OpenSearch SAML Authentication Using Okta

Introduction

In modern enterprise environments, Single Sign-On (SSO) simplifies user access management and enhances security. Oracle Cloud Infrastructure OCI Search with OpenSearch supports SAML 2.0 authentication, allowing seamless integration with identity providers such as Okta.

This tutorial walks you through configuring Okta as an SSO provider for OCI Search with OpenSearch Dashboard using SAML 2.0 authentication.

Objectives

By the end of this tutorial, you will be able to:

Prerequisites

Before you begin, ensure the following:

Tip: Keep your <DS_URL> handy—you will reuse it across multiple steps.

Task 1: Retrieve Your OCI Search with OpenSearch Dashboard URL

  1. Log in to the OCI Console.
  2. Navigate to your OCI Search with OpenSearch cluster details page.
  3. Copy the Dashboard URL — refer to this as <DS_URL> throughout this tutorial.

    OpenSearch dashboard url

Task 2: Configure Okta SAML Application

Step 1: Create a SAML 2.0 Application

  1. Log in to the Okta Admin Console.
  2. Click Create App Integration.
  3. Select SAML 2.0 as the application type.
  4. Provide a descriptive application name.

Step 2: Configure SAML Settings

Enter the following values:

Step 3: Configure Attributes

User Attributes

Group Attributes

Step 4: Assign Users and Get Metadata

  1. Assign the application to the opensearch-admins group.
  2. Navigate to the Sign On tab.
  3. Click View SAML setup instructions.
  4. Keep this page open for the next step.

Step 5: Configure OCI Search with OpenSearch SAML

Task 3: Test the Integration

  1. Open your OCI Search with OpenSearch Dashboard URL (<DS_URL>).
  2. You will be redirected to Okta for login.
  3. Log in using a user from the opensearch-admins group.
  4. Upon successful authentication, you will gain admin access to the OCI Search with OpenSearch Dashboard.

Troubleshooting and Tips

Note: If you encounter the error “No roles available for this user,” verify that:

Tip: After enabling SAML, the OCI Search with OpenSearch Dashboard may restart. Wait a few minutes and retry. If issues persist, clear browser cache or use an incognito window.

Note: Switching the OCI Search with OpenSearch security mode to ENFORCING after SAML setup resets existing configuration. Always enable this mode before integrating with Okta.

Next Steps

After successfully configuring SAML authentication between Okta and OCI Search with OpenSearch, consider the following:

Related Links

Acknowledgements

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.