you can enable DEBUG level logger org.keycloak.social.user_profile_dump in
the standalone-ha.xml
http://www.keycloak.org/docs/latest/server_admin/index.html#_mappers
On Fri, Mar 16, 2018 at 2:41 PM, Paolo Tedesco <Paolo.Tedesco(a)cern.ch>
wrote:
Hi all,
I've configured Google and Github as Identity Providers.
I would like to have one of the user attributes, the email, mapped to a
custom claim, called "userPrincipalName".
I tried creating an Attribute Importer mapper, with
Social Profile JSON Field Path = emailaddress
User Attribute Name = userPrincipalName
but this does not seem to work.
Is there a way to log the JSON token obtained from the identity provider,
so that I can have an idea of what should go in the " Social Profile JSON
Field Path" field?
Thanks,
Paolo
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user