Exploring keycloak instead of dex #3097
Replies: 1 comment 4 replies
-
Hello! Indeed, MetalK8s includes Dex as an OIDC provider or bridge. Coincidentally, we're integrating Keycloak with the product we build around MetalK8s, so it's definitely feasible. We decided, however, not to include Keycloak with MetalK8s because it adds a database dependency, and we try to keep MetalK8s as simple and versatile as possible. You could indeed remove Dex from your cluster and reconfigure all services to authenticate with Keycloak directly (keep in mind, however, these changes could be overwritten when upgrading the system). Another alternative is to keep Dex and configure its OIDC Connector, which is then backed by Keycloak. You can reconfigure Dex using the 'service customization' functionality part of MetalK8s, see Dex Default Configuration and Dex Configuration Customization. Hope this answers your question. |
Beta Was this translation helpful? Give feedback.
-
Hi !
I see dex is coupled with grafana and metalk8s-ui and also used with kubernetes API. So, if I want to replace it with keycloak, how loosely/tightly coupled is it ? Would replacing the static user created in dex with one in keycloak work (assuming nginx ingress and routing modifications inplace) or am I missing some use case here?
Thank you !
Beta Was this translation helpful? Give feedback.
All reactions