Isn't this already the case ? If you go to your client settings and look at
the mappers you can see that username has the token claim name
"preferred_username"
On Tue, Dec 13, 2016 at 11:56 AM, Michael Furman <michael_furman(a)hotmail.com
wrote:
Hi all,
I want to configure the claim preferred_username will be used as the user
name after SpringSecurity adapter authentication.
How can I configure it?
Any help will be appreciated.
Best regards,
Michael
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user