-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook OAuth not working #374
Comments
hey! same happens with Google provider in my case. |
taking a look, thanks for the great repro steps and vid @adrianhorning08 |
hey @matepapp and @adrianhorning08, we have investigated the issue with this error The reason this happens is because we started setting the tokens in the cookies as of this PR which resulted in the header size exceeding the limits enforced by the API gateway. We're working on a fix for this and will notify you guys once it's out! |
hey @kangmingtay, thanks for the quick and detailed response and also for the investigation. take your time and let us know how it goes 💪 |
hey @matepapp and @adrianhorning08, could you please email |
@kangmingtay I actually switched to firebase for the auth 😅 Project was time sensitive. Thanks so much for investigating this. |
hey @kangmingtay, I didn't have a lot of time since my latest comment but I just checked in my side project, and seems like the issue got resolved 👍 I could log in & log out with Google without any issue. thanks for the help! I'll make sure to send an email in case it happens again. |
Hey all, It seems like this issue has been resolved for now so we're going to close this issue. Feel free to let us know if you have any concerns or if you run into this issue again. Thanks! |
Bug report
Describe the bug
When using Facebook OAuth to login with a test user (someone other than the admin who created the Facebook App), I am getting an error and unable to login.
Either I receive:
{ "message":"An invalid response was received from the upstream server" }
Or: "error=server_error&error_description=Error+getting+user+email+from+external+provider"
I know that the the issue with the latter error is a user not having an email address (#214 ), but if you create a test user in Facebook, they do have email addresses.
I have tested this with another Facebook account I have created that wasn't a "test user" per se, and same thing happened.
To Reproduce
You will have to create your own Facebook App. *You can see the error locally, so no need to deploy it yourself.
I just followed these guides to create a quick app and Facebook Login:
Next.js App
Facebook Login
So the steps would be...
Heres a loom video
Expected behavior
Should not see error and should redirect you to /accounts page. And when you revisit the home page, it should remember your session and not prompt you to login.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
@supabase/supabase-js": "^1.30.0
Additional context
The text was updated successfully, but these errors were encountered: