Add custom fields to keycloak user creation

Viewed 1592

I need to add some additional parameters to the user profile in keycloak, also it should be possible to add when create user via rest and retrieve the details, please help me with an idea about this.

1 Answers

Please check the 'Custom User Attributes' section in the Keycloak Developer Guide

All attributes can be retrieved and stored via the REST API. There is a map of attributes holding all attributes in the UserRepresentation

Edit:

Keycloak now has a User Profile (currently Technology Preview) for declarative definition of user attributes. For details please see the Server Administration Guide

Related