UNSOLVED Login with facebook does not set user's name and picture
I am creating a PoC to see if FusionAuth is a good solution for a app, I've got facebook identity provider setup and login generaly works.
For permissions field, I've set up public_profile,email and for Fields field I have first_name,last_name,name,picture,email.
FusionAuth does not do the initial redirect, It is done by third app and code is sent to /api/identity-provider/login, which correctly fetches email and creates user, but user is missing profile picture and name inside FusiionAuth dashboard.
I see the docs for facebook login specifying fetching profile picture, so I assume it should have linked it and should have mapped facebook name to FusionAuth name?
dan last edited by
So it sounds like you are not using FusionAuth's hosted login pages, but are building your own integration with Facebook. And then you are calling https://fusionauth.io/docs/v1/tech/apis/identity-providers/facebook#complete-the-facebook-login
Is that correct?
If so, I think you'd need to make the additional calls to Facebook to get the name and picture and then to update the FusionAuth user profile.
When you use the hosted login pages, we handle that for you, but when you build your own integration, all we do is log the user in (and possible create them and register them for your application, if configured to do so).