> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/tools/enterprise/control-center/admin-guide/open-id/okta-authentication.md).

# How to Integrate Control Center With Okta

Configure GridGain Control Center to authenticate users through an Okta OpenID Connect authorization server, using a free Okta developer account.

{% hint style="info" %}
This guide applies to Control Center connected to **GridGain 8** clusters. GridGain 9 uses a different security configuration and is out of scope.
{% endhint %}

## Prerequisites

* A free [**Okta**](https://developer.okta.com/signup/) developer account. Okta provides a development environment that is free and can be used for testing.
* A **GridGain 8 Control Center** installation

## Overview

OpenID is an open-standard, decentralized authentication protocol. It enables users to authenticate to collaborating sites that use third-party services. Thus, it eliminates the need for webmasters to provide their own login systems and enables users to log in to multiple unrelated websites without providing a unique identifier and password for each site.

GridGain Control Center supports this mechanism. Control Center can be configured to use third-party authentication servers such as Google and Okta. This guide uses Okta because Okta provides a development environment that is free and can be used for testing.

This guide walks you through the process of integrating Control Center with Okta OpenID in two stages:

1. [OpenID authentication cluster configuration](#openid-authentication-cluster-configuration)
2. [Control Center configuration](#control-center-configuration)

## OpenID Authentication Cluster Configuration

First, create your own free development account:

1. Navigate to <https://developer.okta.com/signup/>.
2. Complete the form.
3. Verify that you are not a robot.
4. Click **Sign up**.

![Okta Sign Up](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-54df61ba93a1968e6918202ee9179008972a42e0%2Fokta_sign_up.png?alt=media)

After logging in to the developer UI portal, create an authentication server:

1. Navigate to the **Security** menu.
2. Select the **API** tab.
3. Select **Add Authorization Server**.
4. Specify a name, audience, and description for the server.

![Okta Add Auth Server](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-08209ec1b6aeceb13700deb8bc8f706dc6bc75bf%2Fokta_add_server.png?alt=media)

After you create the server, you must create at least one access policy. If there is no access policy, all user login attempts fail. For this test, you can use the default policy, as shown below:

![Okta Access Policy](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-599f9393356287810a8dedba0fa508ef7029a882%2Fokta_access_policy.png?alt=media)

For other parts of the configuration, you can also use the defaults. Then, navigate to the **Settings** tab and click the **Metadata URI** link to get authentication cluster metadata.

![Okta Metadata URI](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-b5230b88b8841393a26231003730a43502bbb321%2Fokta_metadata.png?alt=media)

You use the metadata later, to configure Control Center. The following is a metadata output example:

![Okta Metadata Output](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-35290c60a18f9a60f21f1cef4e90fba4269f8561%2Fokta_metadata_output.png?alt=media)

Now, create the OpenID application that is used to authenticate Control Center:

1. Navigate to the **Applications** menu.
2. Select the **Applications** tab.
3. Click **Create App Integration**.

   ![Okta Applications](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-b0d71364be1b5de907eb4ad1e51eac0ef49576fb%2Fokta_create_new_app.png?alt=media)
4. In the **Create a new app integration** dialog, select **OpenID Connect**.
5. In the lower part of the dialog, select **Native app**.
6. Click **Next**.

   ![Okta Create New App Integration](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-59b67946aaf3638bc4eafe967064f1886e9e0e6d%2Fokta_create_new_int.png?alt=media)
7. Enter the following line in the **Sign-in redirect URIs** field, where you must set the Control Center host and port: `http://[Control Center host]:[Control Center port]/api/v1/oauth2/login/okta`.

   ![Okta Redirect URL](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-a2f3b619a98ca256497e1d85d0a37e2ba51b6f8b%2Fokta_redirect_url.png?alt=media)
8. Select **Skip group assignment for now**.
9. Click **Save**.

   ![Okta Group Assignment](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-75a77504a08ce65354b40bbe190196fb6eab3d29%2Fokta_group_assignment.png?alt=media)
10. In the **Client Credentials** screen, select the **Client secret** option under **Client authentication**.
11. Make sure the **PKCE** option is deselected.
12. Copy the `Client ID` and `Client secret` values: you will use them for Control Center configuration.

    ![Okta Client Data](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-b1597bc29e28fbb8f3e73573f7c0d86277e909bd%2Fokta_client_creds.png?alt=media)
13. Navigate to the **Directory** menu.
14. Open the **People** tab.

    ![Okta People Tab](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-b30e563d8f3b49cac37f37f58248c68a4feb2443%2Fokta_people_tab.png?alt=media)
15. Click **Add person** to create a new user.

    ![Okta Add Person](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-473a6a2060d5bf12f212c63a90c3c7543c0e6c61%2Fokta_add_person.png?alt=media)
16. Open your newly created application settings and edit the **Assignments** list to identify the people and groups who can access the Control Center UI.

    ![Okta Assignments](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-611f25a4022eeb5498c8b065de2414e2780a9b2f%2Fokta_assignments.png?alt=media)

You are now ready to use the OpenID authentication to log into Control Center.

## Control Center Configuration

Now, configure Control Center:

1. Download and unzip the Control Center binaries.
2. Move to the root folder of the unzipped directory and create the `application.yaml` file:

   ```yaml
   spring:
     security:
       oauth2:
         client:
           registration:
             okta:
               client-id: ****************************
               client-secret: *****************************
           provider:
             okta:
               authorization-uri: https://dev-33103116.okta.com/oauth2/aushxlyo9vuScUBOM5d7/v1/authorize
               token-uri: https://dev-33103116.okta.com/oauth2/aushxlyo9vuScUBOM5d7/v1/token
               jwk-set-uri: https://dev-33103116.okta.com/oauth2/aushxlyo9vuScUBOM5d7/v1/keys
   ```

{% hint style="info" %}
You find the Okta client ID and client-secret in the settings of the Okta application you have created - see [OpenID authentication cluster configuration](#openid-authentication-cluster-configuration). You find authorization-uri, token-uri, and jwk-set-uri in the metadata you have obtained earlier.
{% endhint %}

3. Start Control Center using the `control-center.sh` script.
4. Navigate to the Control Center UI and click the **Sign in** button:

   ![Okta Sign In With OpenID](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-1aa426790b174044a50da2fd572be2fa1b80f861%2Fokta_sign_in_with_openid.png?alt=media)
5. Make sure that you are logged off in the Okta developer portal.
6. Click the "target" button (framed in red in the screenshot above) to display the Okta login page.

   ![Okta Sign In](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-85f7c54f15e4e89338213e651d95d037ea5b0bc7%2Fokta_sign_in_bright.png?alt=media)
7. Enter your Okta credentials and click **Sign In**.

You are now logged into Okta.

![Okta Signed In](https://2850516351-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkuTXWg0NDbRx6XUeYpGD%2Fuploads%2Fgit-blob-772d94dc941c35285214eda779f3b8ceb58b1c79%2Fokta_signed_in.png?alt=media)

## Related

* [Control Center overview](https://mariadb.com/docs/tools/enterprise/control-center.md) - GridGain's cluster management and diagnostics tool.
* [Okta developer documentation](https://developer.okta.com/docs/) - OpenID Connect and authorization server reference.

<sub>*This page is: Copyright © 2026 MariaDB. All rights reserved.*</sub>

{% @marketo/form formId="4316" %}
