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
{{ message }}
Repository navigation
Provide an option to create user profile attributes that are hidden from the UI
#36497
Provide an option to create user profile attributes that are hidden from the UI.
Motivation
In our Keycloak theme, we have embedded code into the registration form to capture UTM parameters . These parameters are stored in the session storage when a user visits our landing page prior to registration. During registration, we retrieve these parameters and populate hidden input fields in the registration form.
This setup works seamlessly in Keycloak versions before 24 or when the unmanagedAttributePolicy is set to ENABLED. However, starting with Keycloak version 24, when we explicitly define these attributes and allow users to edit them (which is necessary for the attributes to be set during registration), Keycloak renders visible input fields on the registration page. This is not desirable, as we intend these fields to remain hidden.
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.
Uh oh!
There was an error while loading. Please reload this page.
Provide an option to create user profile attributes that are hidden from the UI.
Motivation
In our Keycloak theme, we have embedded code into the registration form to capture UTM parameters . These parameters are stored in the session storage when a user visits our landing page prior to registration. During registration, we retrieve these parameters and populate hidden input fields in the registration form.
This setup works seamlessly in Keycloak versions before 24 or when the
unmanagedAttributePolicyis set toENABLED. However, starting with Keycloak version 24, when we explicitly define these attributes and allow users to edit them (which is necessary for the attributes to be set during registration), Keycloak renders visible input fields on the registration page. This is not desirable, as we intend these fields to remain hidden.Similar, but not identical discussion: #25621
All reactions