MomenSherif / react-oauth

Google OAuth2 using the new Google Identity Services SDK for React 🚀
https://www.npmjs.com/package/@react-oauth/google
MIT License
1.13k stars 141 forks source link

about nonOAuthError #340

Open ya3ya6 opened 8 months ago

ya3ya6 commented 8 months ago

Hey. i created a google console project, i tested in one local project, it worked fine. i then moved to my another project, it didn't work there. but there wasn't any error, or success, or ... it's not clearly stated that there is a nonOAuthError. developer will get alot confused (hopeless), becase nothing will happen (popup opens, account is selected, then nothing will happen, no error, no success.). so i think:

ya3ya6 commented 8 months ago

Hey. the solution was: sometimes when you test multiple times (between multiple projects), or etc, google stop issuing token. it fixed by