CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

Not able to change scopes

Open dreenot opened this issue 4 years ago • 3 comments

Hello, my app has two different stages of authentication. It is an Ionic tabs ionic-angular capacitor project.

The first with scopes for read only and the second with scopes for taking actions in the user's account. This may be the case of other developers too, who doesn't want to ask for all the permissions at once.

The problem is that all the configuration for this plugin are passed in capacitor.config.json

I've spent the last days trying to figure out a way to workaround it, with no results. It would be a great improvement if you could pass the config as a parameter in GoogleAuth.signIn()

If you know some way to do it, please let me know, even if it is not elegant.

dreenot avatar Apr 11 '21 12:04 dreenot

I'm also facing same issue, can i know how to overcome this..

iruthaya avatar Aug 27 '21 14:08 iruthaya

yes, please, I don't need to have user's profile, and it could drive away many privacy conscious users

DexterHuang avatar Sep 07 '21 08:09 DexterHuang

same issue, any workaround?

DilipTharuka avatar Dec 29 '21 12:12 DilipTharuka