GoogleLogin to accept scope attribute
Hey, Thanks for the package. Its really helpful. One thing I came across is the GoogleLogin that doesn't have scope attribute. Is there a way you could add scope attribute to it? That way it will be same as useGoogleLogin hook.
<GoogleLogin
onSuccess={credentialResponse => {
console.log(credentialResponse);
}}
onError={() => {
console.log('Login Failed');
}}
useOneTap
/>;
Hello,
GoogleLogin used for seamless authentication, the personalized button from google isn't allowed to pass scopes for authorization
you will need to use the custom hook, with your custom button to use scopes
@MomenSherif Thanks lot for the update to google auth package, I have same issue how do i pass the scopes and get the access token and reference token ?
@adventuretocode you will need to use the custom hook for authorization scopes