mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-07 17:18:23 +00:00
1.6 KiB
1.6 KiB
title | slug | collate |
---|---|---|
Custom OIDC SSO for Kubernetes | /deployment/security/custom-oidc/kubernetes | false |
Custom OIDC SSO for Kubernetes
Check the Helm information here.
Once the Client Id
is generated, see the snippet below for an example of where to
place the client id value and update the authorizer configurations in the values.yaml
.
global:
authorizer:
className: "org.openmetadata.service.security.DefaultAuthorizer"
containerRequestFilter: "org.openmetadata.service.security.JwtFilter"
initialAdmins:
- "user1"
- "user2"
principalDomain: "open-metadata.org"
authentication:
provider: "custom-oidc"
publicKeys:
- "{your domain}/api/v1/system/config/jwks" # Update with your Domain and Make sure this "/api/v1/system/config/jwks" is always configured to enable JWT tokens
- "http://localhost:8080/realms/myrealm/protocol/openid-connect/certs"
authority: "http://localhost:8080/realms/myrealm"
clientId: "{Client ID}"
callbackUrl: "http://localhost:8585/callback"
{% partial file="/v1.6/deployment/configure-ingestion.md" /%}
Troubleshooting
- If you are seeing the below trace in the logs, you need to add the discovery URL
org.pac4j.core.exception.TechnicalException: You must define either the discovery URL or directly the provider metadata
To resolve the error regarding the discovery URL, you need to set the AUTHENTICATION_DISCOVERY_URI
in your configuration. This URI is used to discover the OpenID Connect provider's configuration.