[keycloak-user] How to configure what claim will be used as the user name in SpringSecurity adapter?

Sebastien Blanc sblanc at redhat.com
Tue Dec 13 06:31:34 EST 2016


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list