Auth0 Home Blog Docs

Auth0 error page after the first Facebook login attempt

login
facebook
facebook-login

#1

We are using an Auth0 hosted custom login page. The page uses the latest Auth0.js library (v.9.8.2) and we use the webAuth.authorize() method for facebook logins.
This worked consistently for us for over a year but suddenly stopped working in early November (Nov 12 possibly).
Now, when we login with facebook , instead of being taken to the page specified by our redirect uri, we get the Auth0 error page:

_Oops!, something went wrong _
You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn’t find your session. Try logging in again from the application and if the problem persists please contact the administrator.

Login works as expected when we already logged in to Facebook(so after the first attempt it will work fine).


#2

Hello @andreamontoya. On the “Oops” page there’s a link to show additional details. Can you expand that and report the details here? Not sure I can help you but the details may be useful to others.


#3

**invalid_request** : You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn't find your session. Try logging in again from the application and if the problem persists please contact the administrator.


#4

That’s not very helpful at all! :slight_smile:

Any corresponding log events?


#6

Hey there @andreamontoya, like @markd mentioned we would like to see if you have any additional log information or details on the error you are receiving on the challenge you’ve been experiencing? Thanks in advance!


#7

The Auth0 logs show both a Success Login and a Failure Login (with the error shown above) whenever we attempt to login with Facebook.

What we see in the network tab: After Facebook redirects to Auth0 and Auth0 redirects to our site, we for some reason get redirected to Facebook which attempts to do an exchange with Auth0 again.

We assumed there was some issue in the callback on our own site but after testing this locally, we found that we see the Auth0 error page before even entering that function.


#8

When you get a chance @andreamontoya can you snag us a HAR file when reproducing the workflow that produces the error. Once you got it please DM it over to me and I’ll be happy to take a deeper look at what may be going on. Thanks!