8000 KEYCLOAK-17689 - Add the same defaultValue property loading mechanism of client mappers to IdP mappers (console UI) by laskasn · Pull Request #7919 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
< 8000 div style="--spacing:var(--spacing-none)" class="prc-PageLayout-PageLayoutRoot--KH-d" data-component="SplitPageLayout" data-has-sidebar="true">

KEYCLOAK-17689 - Add the same defaultValue property loading mechanism of client mappers to IdP mappers (console UI) - #7919

Closed
laskasn wants to merge 1 commit into
keycloak:mainfrom
eosc-kc:63_ui_enhancement
Closed

laskasn wants to merge 1 commit into
keycloak:mainfrom
eosc-kc:63_ui_enhancement

Conversation

@laskasn
@laskasn laskasn commented Apr 8, 2021 •
Copy link
Copy Markdown
Contributor

The mappers have a ProviderConfigProperty which defines their additional properties (for both UI and backend). One of the parameters this class has is the "defaultValue". This can be set for both the client and the identity provider mapper config properties. The "defaultValue" is intended to be used as the default value of the property, whenever the keycloak admin tries to create a new mapper of that kind.
For the client mappers there is some angular.js code to load the default value of the properties of the selected mapper, but that doesn't happen for the Identity Provider mappers. The code just ignores the fact that someone might have set a defaultValue for the property.
We added the exact same logic for IdP mapper default values, borrowed from the client mappers and we are contributing this to the community.

@stianst
stianst commented Jul 17, 2023
Copy link
Copy Markdown
Contributor

Closing as the old admin console has been deleted. If still relevant to the new admin console please consider opening a new PR.

@stianst stianst closed this Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0