Repository navigation
Feature flags 🔥 #29711
Replies: 2 comments 3 replies
|
How about integrating Keycloak with Unleash? https://github.com/Unleash/unleash?tab=readme-ov-file |
|
We have feature flags at the server level already, but not all that many features. Going forwards new features will mostly be wrapped as a feature. We are also considering supporting setting features at the realm level. Not all features will support this, but some will. This will also brings some consistency as currently we have some options throughout the realm that does this kinda thing, but not in a consistent way. For example the new organizations can be enabled/disable on the server level through a feature flag, but at the realm level there is a separate organization option. Not sure about client and user level, that does make sense, but only for some specific features. I think we'll focus on realm level first, and see where to go next. With regard to unleash I don't think we should integrate directly with that, but we could do an SPI that allows creating custom logic to decide if a feature should be enabled or not. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Feature flags
a software development concept that allow you to enable or disable a feature without modifying the source code or requiring a redeploy.
Introduction
As Keycloak acts as the main system for all organizations that operate and depend mainly on it, I think one of the really needed features is feature flags. Centralizing the control of many aspects of the system from one place is very important, specially for SaaS and Multi-tenant projects, which Keycloak already fits in perfectly.
Pros
Adding Feature flags to Keycloak will logically add an authorization layer above, so you won't have many roundtrips between the application and Keycloak for checking whether a user has the permission or not.
Feature flags can be applied on all levels
Feature flags can be a one level switch or nested, this will help fit all kinds of systems from simple to complex ones
Feature flags might have dependencies, so for example if feature X is enabled, feature Y is enabled/available.
This is a simple idea, if accepted I think it will have more and more ideas from the community
Thanks
All reactions