[keycloak-user] Fw: Custom attributes on login page.

Ishwar Kanse ishwar.kanse at protonmail.com
Tue Mar 28 05:49:50 EDT 2017


Hi,
I've created a client template in which I've mapped the custom attribute birthyear and selected it to be added to id token. Then I've attached this template to the account and myapp clients. How do I add a field in login screen which will validate this attribute ?

Thanks

-------- Original Message --------
Subject: Custom attributes on login page.
Local Time: 26 March 2017 10:35 PM
UTC Time: 26 March 2017 17:05
From: ishwar.kanse at protonmail.com
To: keycloak-user <keycloak-user at lists.jboss.org>

Hi,

We have added a custom attribute birthyear for all our Keycloak users. Our requirement is to ask the user his username, password and birth year when he logs in. Can you guide us on how to achieve this ?

Thanks


More information about the keycloak-user mailing list