[keycloak-user] Unable to get required user data from facebook and store the data in keycloak

Stian Thorgersen sthorger at redhat.com
Thu Oct 1 03:43:05 EDT 2015


When you logged in via Facebook did the consent screen from Facebook
display your email address? Facebook users can prevent applications from
seeing the email both in account settings, but also selectively remove this
from the consent screen.

On 30 September 2015 at 14:57, Revanth Ayalasomayajula <
revanth at arvindinternet.com> wrote:

> Hi,
>
> I am using keycloak 1.5.0 and want to use login via facebook. So i created
> a facebook app and provided all the details in the keycloak facebook
> identity provider settings. When i login from facebook, the user is created
> if not existing in keycloak and is authenticated.
>
> But the created user details are all null and in the server log, the
> response from facebook contains only the name and id but not the email but
> the default scope of my application is email. Also, when trying to store
> the returned details using mappers is not happening.
>
> Could anyone please help me on how to return more details from facebook
> and also store those details using mappers.
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151001/b49b4470/attachment.html 


More information about the keycloak-user mailing list