You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 happer 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.
You can find the pull request here
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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 happer 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.
You can find the pull request here
Beta Was this translation helpful? Give feedback.
All reactions