<div dir="ltr">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.<div><br></div><div><a href="http://lists.jboss.org/pipermail/keycloak-user/2015-August/002939.html">http://lists.jboss.org/pipermail/keycloak-user/2015-August/002939.html</a><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 1 Oct 2015 at 17:58 Revanth Ayalasomayajula <<a href="mailto:revanth@arvindinternet.com">revanth@arvindinternet.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>In the server log, this is the json that i see.<br></div><div><br></div><div>User Profile JSON Data for provider facebook: {"name":"Revanth Ayalasomayajula","id":"897360963633861"}<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 1:16 PM, Revanth Ayalasomayajula <span dir="ltr"><<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Thanks for the quick reply. It did show the email address and the public profile in the consent screen.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 1, 2015 at 1:13 PM, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 30 September 2015 at 14:57, Revanth Ayalasomayajula <span dir="ltr"><<a href="mailto:revanth@arvindinternet.com" target="_blank">revanth@arvindinternet.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>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. </div><div><br></div><div>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. </div><div><br></div><div>Could anyone please help me on how to return more details from facebook and also store those details using mappers.</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></blockquote></div>