-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementstatus/triage
Description
Description
It would be very nice to have the current KeycloakSession and RealmModel availabe in the getConfigProperties() method in a UiPageProvider.
This would enable you to render the page differently depending on the current context (e.g. the selected realm).
Value Proposition
It would be possible to generate Select fields (ProviderConfigProperty.LIST_TYPE) with options fetched from e.g. the UPConfig.
Goals
Add a signature for getConfigProperties() like this:
public List<ProviderConfigProperty> getConfigProperties(KeycloakSession session){
}The KeycloakSession should be a session, like the one the create(KeycloakSession session) method of the RealmResourceProviderFactory gets.
Non-Goals
Discussion
Notes
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/enhancementCategorizes a PR related to an enhancementCategorizes a PR related to an enhancementstatus/triage