Hello Marek,

 

Thanks for your answer.

 

The address example does not cover exactly what I would like to have, as it modifies the existing account.ftl

 

I would like to leave the account.ftl as it is, but having a custom form to manage only the custom attributes.

 

In other words, when I access the /auth/realms/abc/account page, I can see there is a sidebar menu on the left with options like: “Account”, “Password”, “Authenticator”, and so on. I would like to add a new item in that sidebar and be able to access through something like /auth/realms/abc/account/custom

 

Is there an example for that?

 

 

Regards,

Federico

 

From: Marek Posolda <mposolda@redhat.com>
Date: Friday 16 September 2016 at 11:55
To: Federico Navarro Polo <federico@info.nl>, "keycloak-user@lists.jboss.org" <keycloak-user@lists.jboss.org>
Subject: Re: [keycloak-user] How to add new custom form for additional user management

 

We have theme SPI, which allows to override themes. See our "theme" examples in the keycloak-examples, especially address theme, which looks to be exactly what you want.

Marek

On 16/09/16 11:51, Federico Navarro Polo - Info.nl wrote:

Hello,

 

In my Keycloak configuration, there are a number of custom attributes defined for each user. I would like to offer the possibility to manage these attributes in a form similar to the “account profile” form, not using and modifying the existing account.ftl itself, but creating a new template for that (eg: secondary_account.ftl).

 

What is the recommended approach to do this?

 

I would assume I need to create a new SPI, but I am not sure what would be the next steps to configure it and make it work. I think what I need is something in the same direction as the domain-extension example, but it’s not exactly the same, as I want to 1) create a new form and 2) base that form data in the existing domain of the user.

 

Could someone give some pointers?

 

Thanks in advance!




_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user