Skip to content
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

google and twitter login issue #34

Open
Hari-Bonda opened this issue Sep 11, 2021 · 4 comments
Open

google and twitter login issue #34

Hari-Bonda opened this issue Sep 11, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@Hari-Bonda
Copy link

Bug Report

Current Behavior
when users signup using google and try to log in using Twitter at 2nd time or 3rd-time social login is not working.

Received HTTP status code [401] with message "{"errors":[{"code":32,"message":"Could not authenticate you."}]}" when getting temporary credentials.

Expected Behavior

login is getting failed

https://discuss.flarum.org/d/25182-friendsofflarum-oauth/171
https://discuss.flarum.org/d/28653-twitter-login-in-fofoauth-shows-401

Environment

  • Flarum version: 1.0.4
  • Extension version: 1.02
  • Website URL: N/A
  • Webserver: apache
  • Hosting environment: vps
  • PHP version: 7.4+
  • Browser: chrome 67+
@Hari-Bonda Hari-Bonda added the bug Something isn't working label Sep 11, 2021
@clarkwinkelmann
Copy link
Member

It always works the first time for every user?

@Hari-Bonda
Copy link
Author

Hari-Bonda commented Sep 16, 2021

image

after your reply, I have double-checked this again it is showing an error during the first signup too
I've also tested the app key and secret using WordPress social login and it was working.

@zerosonesfun
Copy link

zerosonesfun commented Sep 26, 2021

Thanks @Hari-Bonda for testing and reporting this! It was making me crazy yesterday. I couldn’t figure it out.

I had the same issue with Facebook in Safari. I switched to a brand new installation of Chrome on my Mac. First try, Facebook still didn’t work. I logged in with username and password instead and since I use the PWA extension it asked if I want to enable browser alerts. I said yes. I logged out. Tried the Facebook login again, and it worked. 🥸

@DavideIadeluca
Copy link
Member

@Hari-Bonda Are you still facing the same issues right now on the latest version of fof/oauth ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants