mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-22 17:01:41 +00:00
1.3 KiB
1.3 KiB
title | slug | collate |
---|---|---|
Auth code flow of Keyclock | /deployment/security/keycloak/auth-code-flow | false |
Auth Code Flow
Step 1: Create OpenMetadata as a new Client
- Click on
Clients
in the menu. - Click on
Create Client
button. - Select the
Client type
. - Enter the
Client ID
. - Enter the Name and Description
(Optional)
. - Click on
Next
button.
{% image src="/images/v1.5/deployment/security/keycloak/keycloak-step-3.png" alt="add-client" /%}
Step 2: Edit Configs of the client
- Enable
Client authentication
andAuthorization
. - Select
Standard flow
as anAuthentication flow
. - Click
Next
.
{% image src="/images/v1.5/deployment/security/keycloak/keycloak-step-4.png" alt="compatibility configs" /%}
Step 3: Add Login Settings
- fill the required options
{% image src="/images/v1.5/deployment/security/keycloak/keycloak-step-5.png" alt="edit-settings-url.png" /%}
- Click on
Save
button.
{% note %}
Note: Scopes openid
, email
& profile
are required to fetch the user details so you will have to add these scopes in your client.
{% /note %}
Step 3: Where to Find the Credentials
- Navigate to the
Credentials
tab. - You will find your
Client Secret
related to the Client id "open-metadata"
{% image src="/images/v1.5/deployment/security/keycloak/keycloak-step-6.png" alt="client-credentials" /%}