Open NeodymiumFerBore opened 8 months ago
Latest commit: c9915c67ce1bd2f29ccd0013b3c9c8ffb842611a
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Was wondering why my app was requesting user info by default.
Both implicit and code flow interfaces have this prop. It is optional, so defaults to
false
.useGoogleLogin
set requested scopes regarding the givenscope
andoverrideScope
props. IfoverrideScope
is false, thenemail
,profile
andopenid
are included in requested scopes. https://github.com/MomenSherif/react-oauth/blob/5c5ab23e93945bea9d372cdb05e8ff17b944fe30/packages/%40react-oauth/google/src/hooks/useGoogleLogin.ts#L99-L102This PR adds
overrideScope
in theuseGoogleLogin
table in README.