# Auth0 swift facebook login error

**URL:** <https://community.auth0.com/t/auth0-swift-facebook-login-error/6481>\
**Category:** Get Help\
**Tags:** swift, auth0\
**Created:** [May 4, 2017, 4:11pm UTC](https://community.auth0.com/t/auth0-swift-facebook-login-error/6481 "2017-05-04T16:11:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VedaKo\_App](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@VedaKo\_App](https://community.auth0.com/u/VedaKo_App)\
**Post date:** [May 4, 2017, 4:11pm UTC](https://community.auth0.com/t/auth0-swift-facebook-login-error/6481/1 "2017-05-04T16:11:53Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 13, 2018, 6:14pm UTC](https://community.auth0.com/t/auth0-swift-facebook-login-error/6481/2 "2018-02-13T18:14:51Z")

</div>

For some reason, facebook is not allowing the connection. Following [the documentation](https://auth0.com/docs/connections/social/facebook), 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/](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](https://developers.facebook.com/docs/facebook-login/security/#strict_mode)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/auth0-swift-facebook-login-error/6481/3 "2018-03-02T05:53:41Z")

</div>


