Rokko_11
Rokko_11

Reputation: 937

Keycloak: Update custom user attribute from "Edit Account"-page

when I add a custom attribute to a user, I can access this programmatically in my client application using custom mappers. But when a user logs into its account settings (URL /auth/realms//account/), he or she does not see or update this attribute. Only the required ones first and last name and email are visible.

How can I make a custom attribute visible and updateable on the account page?

Upvotes: 3

Views: 3256

Answers (1)

Vadim Ashikhman
Vadim Ashikhman

Reputation: 10126

You have to create custom theme and override account.ftl template to add custom attributes.

Read through Theme Creation, it's really easy to create custom theme.

Upvotes: 3

Related Questions