I'm using the Google Auth api in my app to allow users to sign in with their google credentials. Once they access certain parts of my applications, I want to prompt them for the specific permissions / scopes needed.
Looking at the documentation for Google Auth (https://developers.google.com/identity/sign-in/web/reference#googleusergrantoptions), I noticed that there's a grant
call which seems to allow me to ask for different permissions / scopes. However, when using this call, it seems to prompt the user to select an account again. Since I'm already logged into the application, this seems redundant. I've played with the different options I can find in the documentation, but nothing seems to skip the account selection step once you're logged in already.
Does anyone have a working solution or a work-around?