Facebook login function not available

Hi all,

I’m using Auth0 for react but for some reason its not working with Facebook. It works with Google though. It doesn’t even work when I try the connection in the Auth0 dashboard and go to Authentication → Social → Facebook → Try connection.

Is there something I’m missing?

Thank you in advance!

Hi @nlo,

Welcome to the Community!

Can you give us more information? Are you seeing errors? Have you checked the developer console or network requests in your browser when you use the Try function? How about your Auth0 Dashboard logs?

Hi @dan.woda thank you for your quick response! Unfortunately there is nothing Facebook related in my logs. Only Google and Twitter. (which work fine)

Could it be because my domain is currently localhost?

We still need more information on the problem to effectively debug.

What do you mean by “not working”?

It should still work on localhost. Are you using the Auth0 dev keys for the facebook connection, or did you set up a facebook developer account and are using your own dev keys?

I’ve tried my own keys as well as the Auth0 dev keys.

I’ve got the following message. (with http:localhost:3000 as my domain url setup at Facebook)

URL could not be loaded: The domain of this URL has not been added to the domains of this app. Add all of your app’s domains and subdomains to the App domains field in your app’s settings to allow this URL to load.

This is very important :grinning_face_with_smiling_eyes:

It sounds like you are trying to use your application domain when you should be using your Auth0 domain.

In the setup doc it describes how to find your Auth0 domain. Check out the doc, specifically the section titled Find your Auth0 domain name.

https://auth0.com/docs/connections/social/facebook#set-up-app-in-facebook

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.