I have the same issue. I raised this on the keycloak forum a few weeks back
but did not get a reply. Please refer to this post as it gives some
possible reasons.
On Thu, 1 Oct 2015 at 17:58 Revanth Ayalasomayajula <
revanth(a)arvindinternet.com> wrote:
Hi,
In the server log, this is the json that i see.
User Profile JSON Data for provider facebook: {"name":"Revanth
Ayalasomayajula","id":"897360963633861"}
On Thu, Oct 1, 2015 at 1:16 PM, Revanth Ayalasomayajula <
revanth(a)arvindinternet.com> wrote:
> Hi,
>
> Thanks for the quick reply. It did show the email address and the public
> profile in the consent screen.
>
> On Thu, Oct 1, 2015 at 1:13 PM, Stian Thorgersen <sthorger(a)redhat.com>
> wrote:
>
>> 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(a)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(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user