> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Okta SSO Implicit Flow | OpenMetadata Authentication Integration

> Use Okta’s implicit flow for browser-based apps to issue ID tokens directly to the frontend, enabling fast, lightweight user authentication.

# Implicit Flow

### Step 1: Configuring the App

* Once you are in the **Create a new app integration** page, select **OIDC - OpenID Connect**.
* Next, select the **Application type -> Single-Page Application**.
* Once selected, click **Next**.

![configuring-the-app](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/configuring-the-app.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=3dfac91ef7ca65f09c78d1c1f9e37c6c)

* From the **General Settings** page,
  * Enter an **App integration name**
  * Select the following in **Grant type**:
    * **Authorization Code**
    * **Refresh Token** - For the refresh token behavior, it is recommended to select the option to 'Rotate token after every use'.
    * **Implicit (hybrid)** - Select the options to allow ID Token and Access Token with implicit grant type.
  * Enter the **Sign-in redirect URIs**
    * `http://localhost:8585/callback`
    * `http://localhost:8585/silent-callback`
  * Enter the **Sign-out redirect URIs**
  * Enter the **Base URIs**
  * Select the required option for **Controlled access**
* Click **Save**.

![general-settings-click-save](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/general-settings-click-save.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=0fc7795815954f730b87585232790041)

* The app is now configured.

![app-is-configured](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/app-is-configured.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=2df43828380a3a6db40a6591ee554fb8)

### Step 2: Add Authorization Server to get the Issuer URL

#### New Authorization Server

It is recommended to create a separate authorization server for different applications. The authorization server needs an endpoint, which'll be the Issuer URL.

* Click on **Security -> API** in the left navigation panel.

![click-security-api](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-security-api.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=9612bed4d6c39782f480b0f9ccd68b0b)

* From the **Authorization Servers** tab, click on **Add Authorization Server** button.

![click-add-authorization-server](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-add-authorization-server.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=e83bac4e6502984371be1459d3422373)

* Enter a Name and Description.
* While creating the authorization server, an **Audience** must be provided for the server. The Audience is the **Client ID** of the single page application that was created. Refer the next Step 7 to locate the Client ID.
* **Save** the changes.

![add-auth-server-save-changes](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/add-auth-server-save-changes.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=905ebb7816fafa2b1d6173384f5d5480)

This will generate the Issuer URL.

#### Default Authorization Server (not recommended )

It is recommended to create a separate authorization server for different applications. The authorization server needs an endpoint, which'll be the Issuer URL.

* Click on **Security -> API** in the left navigation panel.

![click-security-api](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-security-api.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=9612bed4d6c39782f480b0f9ccd68b0b)

* From the **Authorization Servers** tab, click on **default** server.

![default-server](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/default-server.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=c1400a9244f12e6c21335ea030ec2de6)

### Step 3: Change the Issuer URL from Dynamic to Okta URL

Once the Authorization Server has been added, navigate to Security >> API >> Authorization Servers and click on the authorization server created in the previous step.

![click-auth-server-from-prev-step](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-auth-server-from-prev-step.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=0a3c39d67ebd154dd1d97079d778bdb2)

The Issuer URL shows up as Dynamic by default. Change the Issuer URL to Okta URL and save the changes.

![change-issuer-url](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/change-issuer-url.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=e82bc604b822b3b8e34afda2b515036f)

### Step 4: Create a Default Scope

* To create a default scope from **Security -> API**, click on the required **Authorization Server**.

![click-req-auth-server](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-req-auth-server.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=66f9d7b773b7e28eb51560c1e064c8fb)

* In the resulting page, click on the **Scopes** tab
* Click on **Add Scope**

![add-scope](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/add-scope.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=760f1261b66501daf1fa2b1605b2f3d7)

* Set as a **Default Scope**.

![set-default-scope](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/set-default-scope.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=9b608668d9ddf18e9d9279f31b6841df)

### Step 5: Add New Access Policy and Rule

* From **Security -> API**, click on the required **Authorization Server**
* Navigate to the **Access Policies Tab**
* Click on **Add New Access Policy**

![add-new-access-policy](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/add-new-access-policy.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=946f8c2e26821fceefda038abecfc13c)

* To create a policy, add a Name and Description.
* Assign the policy to the required clients.

![](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/assign-policy.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=96a3a681edca4f8194e4870c4340dbf7)

* Add a new **Rule** inside the policy as required. Rules can be created with just a few grant type details, such as Client Credentials, Authorization Code, Device Authorization, and Token Exchange.
* Click on **Create Rule** to save the changes.

![add-rule](https://mintcdn.com/openmetadata/4v9U2L_k1HcJVnXe/public/images/deployment/security/okta/add-rule.png?fit=max\&auto=format\&n=4v9U2L_k1HcJVnXe\&q=85\&s=274f702c67efc1843a528fc6cfe8c363)

### Step 6: Where to Find the Credentials

* Once the app is configured, the **Client ID** can be used.
* You can also go to **Application -> Application** as in step 2.
* You should be able to see your application in the list.

![see-your-application](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/see-your-application.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=77eb21c9dd2adcd71589f1e14cb8a1b9)

* Click on your application.
* You will find your **Client ID** and **Okta domain**.
* The **Client authentication** is enabled by default.
* By clicking on the Edit \*\*\*\* option for General Settings, you can deselect the option for **User consent**. Save the changes.

![deselect-user-consent](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/deselect-user-consent.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=07317913f4c3112bd5b92cdd70da4670)

* Click on the **Sign On** tab from the top navigation bar.
* Click on Edit for **OpenID Connect ID Token**.
* For **Issuer**, change from the Dynamic (based on request domain) option to the **Okta URL** option.
* The **Audience** is the same as the Client ID.

![click-edit-token](https://mintcdn.com/openmetadata/wxU3MWLfPXUnxtaP/public/images/deployment/security/okta/click-edit-token.png?fit=max\&auto=format\&n=wxU3MWLfPXUnxtaP\&q=85\&s=97bd33d3bc5b400e239244663c2503cc)

After the applying these steps, you can update the configuration of your deployment:

> [card] [Docker](https://docs.open-metadata.org/v2.1.x/deployment/security/okta/docker)
>
> Configure Okta SSO for Docker deployment.

> [card] [Kubernetes](https://docs.open-metadata.org/v2.1.x/deployment/security/okta/kubernetes)
>
> Configure Okta SSO for Kubernetes deployment.

> [card] [Bare Metal](https://docs.open-metadata.org/v2.1.x/deployment/security/okta/bare-metal)
>
> Configure Okta SSO for Bare Metal deployment.

> [card] [OKTA](https://docs.open-metadata.org/v2.1.x/deployment/security/okta.md)
>
> Go to okta Configuration


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.