Complete Facebook Login api cannot work with token returned from facebook login api
-
Hi Sir
I need to customize my own login window in my website. and I want to add the facebook login to it also integrated with FusionAuth.
Here is the case, in my website, I use facebook javascript SDK to login and got the response including facebook name, email and access tocken. then I try to complete the facebook login in with fusion API here: https://fusionauth.io/docs/v1/tech/apis/identity-providers/facebook#complete-the-facebook-loginbut I always got the 401 as the status in response as folllowing:
this is facebook login response I got succesfully:
what's more, I finished the google login integration with the same way, and it works well.
Could you let me know if there is something different on facebook login integration?
Co
-
Hiya,
Sorry to hear you're having trouble getting this set up. A few questions:
What version of FusionAuth are you running?
Have you created a Facebook identity provider/added a Facebook application/configured Facebook login as documented here: https://fusionauth.io/docs/v1/tech/identity-providers/facebook?
-
Hi Dan
Thanks a lot. It's fixed. The reason is the wrong configuration in facebook account.
Regards
Co