# Error while trying to login with facebook app (lock for web)

**URL:** <https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306>\
**Category:** Get Help\
**Tags:** auth0, lock, login\
**Created:** [June 13, 2018, 6:00pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306 "2018-06-13T18:00:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcaselles](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fcaselles/32/8173_2.png) [@fcaselles](https://community.auth0.com/u/fcaselles)\
**Post date:** [June 13, 2018, 6:00pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/1 "2018-06-13T18:00:21Z")

</div>

Hello everyone, we are having some issues while trying to login with auth0 lock with facebook… in desktop it works OK, but in mobile, in some devices it launches facebook app and then it opens a internal browser and it shows the following error.

 ![](https://global.discourse-cdn.com/auth0/original/2X/2/2b143dfd3c4438b516569a0d2dcdabbd50549544.jpg)

any idea how to sort out this error?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![mauricio](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mauricio/32/17809_2.png) [@mauricio](https://community.auth0.com/u/mauricio)\
**Post date:** [June 14, 2018, 4:40am UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/2 "2018-06-14T04:40:09Z")

</div>

Hi. Have you checked your [tenant logs](https://manage.auth0.com/#/logs) to see if there’s any error logs that might provide more details?

---

<div class="post-metadata">

**Author:** ![david.maxx](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david.maxx](https://community.auth0.com/u/david.maxx)\
**Post date:** [June 21, 2018, 5:00pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/3 "2018-06-21T17:00:26Z")

</div>

Hello, I have the same problem. Has anyone found a solution? The error occurs exclusively in Chome. I can not see any mistakes in my log.

the login via the Facebook app always has a Funktioneist. It has not worked for a few days.

---

<div class="post-metadata">

**Author:** ![david.maxx](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david.maxx](https://community.auth0.com/u/david.maxx)\
**Post date:** [June 21, 2018, 8:16pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/4 "2018-06-21T20:16:59Z")

</div>

I do not know if it helps but:  
To test, I have the Facebook login without Auth0 built into my website, with the Facebook PHP SDK. I have used this guide:  
[https://developers.facebook.com/docs/php/howto/example\_facebook\_login?locale=de\_DE](https://developers.facebook.com/docs/php/howto/example_facebook_login?locale=de_DE)

Below I found out. The same error occurs. If you log on to the Facebook app and not via the web browser, the login will not work.

I found out that when returning from Facebook to my server, the session / cookie data is lost …

I was able to avoid the error with the following link:

> <https://stackoverflow.com/questions/31520593/facebook-php-sdk-5-api-2-4-cross-site-request-forgery-validation-failed-r>

I think it’s a server issue with Auth0 or something with the Facebook app…

---

<div class="post-metadata">

**Author:** ![daninfpj](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@daninfpj](https://community.auth0.com/u/daninfpj)\
**Post date:** [June 21, 2018, 10:35pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/6 "2018-06-21T22:35:47Z")

</div>

I’m also having this issue. No useful info found tenant logs other than ”Permissions error”, but that’s not the only time the error happens.

---

<div class="post-metadata">

**Author:** ![david.maxx](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david.maxx](https://community.auth0.com/u/david.maxx)\
**Post date:** [June 22, 2018, 4:22pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/7 "2018-06-22T16:22:43Z")

</div>

New insights. Today there was a Facebook app update (177.0.0.57.105). Now the login works with Auth0 and Facebook again.  
To make sure that it was mainly due to the Facebook app, I have installed an older version of [apkmirror.com](http://apkmirror.com) (176.0.0.42.87). And yes, with the older version it comes back to the error, with the newer not.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 2:09pm UTC](https://community.auth0.com/t/error-while-trying-to-login-with-facebook-app-lock-for-web/12306/8 "2019-07-25T14:09:04Z")

</div>


