User Metadata - Custom Attributes.
It is clear to me on how to add custom attributes to an existing user.
What I am unclear on is the best practice recommended by Keycloak in terms of adding those attributes to ALL users and NEW users.
- Is there a best practice?
- This seems like something covered by a new user profile or template but I have not been able to locate existing documentation.
By way of simple fictitious example:
I want all users of Realm: CondoAssociation
to have custom attributes:
- hobbies
- favoriteMusicalArtists
- favoriteLocalRestaurants
How would I apply this to all existing users? (this one seems like an API / scripting thing).
More importantly, how would i ensure that all new users had these attributes by default?
Thank you in advance (and with apologies if I have missed a posting or obvious documentation)