[keycloak-user] OpenID Connect: userkey instead of username
Thomas Darimont
thomas.darimont at googlemail.com
Mon Mar 27 13:26:15 EDT 2017
Hello,
try setting "principal-attribute": "preferred_username" in your
keycloak.json
https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/java/java-adapter-config.html
Cheers,
Thomas
2017-03-27 15:56 GMT+02:00 Tech <tech at psynd.net>:
> Dear experts,
>
> we are working with an application that implements with a plugin OIDC.
>
> What we detected is that when we run the authentication for a local user
> present into Keycloak, the remote username appearing on the application
> is the Keycloak's userKey instead of the Keycloak's username.
>
> Is there anything that we should do to retrieve instead the username?
>
> Thanks!
>
> _______________________________________________
> 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