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

useGoogleLogin returns incorrecte scopes (?) #308

Open Maozerhouni opened 1 year ago

Maozerhouni commented 1 year ago

I am trying to build a connector with google drive. I set a project where I am asking the user for the right autorization (.../auth/drive). However, when I log in using useGoogleLogin, I receive just his non-sensitive data scopes in the console (/auth/userinfo.email, /auth/userinfo.profile). I don't understand why ?