Rather looks like Facebook issue than Keycloak issue? I guess if you
look at Facebook documentation around their supported scopes, it may help?
On 26/07/17 04:16, Scott Dunbar wrote:
Sorry - mailing list question etiquette 101 violated - this is with
"Keycloak 3.2.0.Final (WildFly Core 2.0.10.Final)" under Ubuntu with
On Tue, Jul 25, 2017 at 8:11 PM, Scott Dunbar <scott(a)xigole.com> wrote:
> Hi all,
> I've not dealt with a Facebook integration in a while and am ultimately
> trying to get the "picture" attribute of a Facebook user. However, while
> see the code in
> FacebookIdentityProvider.java that asks for some fields it is unclear how
> I add "picture" via the admin console in "Identity Providers ->
> Default Scopes". If I put the word "picture" in "Default
Scopes" I get an
> error from Facebook:
> "Unsupported scope: 'picture'. Supported scopes: ads_management
> email offline_access user_friends"
> I've tried "public_profile" and, while it doesn't give an error, it
> not return what I'm looking for:
> 2017-07-25 20:06:27,595 DEBUG [org.keycloak.social.user_profile_dump]
> (default task-84) User Profile JSON Data for provider facebook:
> I'm obviously missing something - how do I add some "scopes" to what
> requested from Facebook?
> Thanks for any help. I'll be doing the same for at least the Google
> adapter next - any hints there?
> Scott Dunbar