Auth0 swift facebook login error

Cannot login to Facebook. even cannot login in the sample app.

FYI - I have put the callback URL.

Error - Can’t load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings
![alt text][1]

For some reason, facebook is not allowing the connection. Following the documentation, make sure the correct callback URL is put under Valid OAuth redirect URIs. If should be something like https://{YOUR_TENANT}.auth0.com/login/callback.

There is also a warning from facebook on their [developers page] (https://developers.facebook.com/), under your app’s Facebook Login settings:

In March, we’re making a security
update to your app settings that will
invalidate calls from URIs not listed
in the Valid OAuth redirect URIs field
below.This update comes in response to
malicious activity we saw on our
platform, and we want to protect your
app or website by requiring a new
strict mode for redirect URIs. Learn more

1 Like