Open fabio914 opened 5 months ago
I wonder if this is related to this extra parameter: include_granted_scopes=true
https://github.com/google/GoogleSignIn-iOS/pull/70
I managed to rebuild the framework without include_granted_scopes=true
and confirm that this change in behaviour is because of that flag. Would it be ok to make that configurable?
This isn't how our Sign-in with Google flow behaves on the web and our Android app, we'd prefer to keep that consistent and only request the email and profile scopes.
Hey @fabio914. Thanks for the issue. It's been this way for quite some time - this commit https://github.com/google/GoogleSignIn-iOS/pull/70/commits/1f87abd217864c292224df362cd998dd9b582c73 was included in GSI 6.1.0, released in December 2021.
We will take this as a feature request and will consider it for the future.
We ran into the same issue. There is no way for us to temporarily add scopes for a one-off operation, without having to ask the user to reconfirm those scopes every time they log in. Please allow for the option not to request all previously granted scopes as we may not need them at login
Describe the bug I was updating Google Sign-In in our app from version 6.0.2 to version 7.1.0 and I noticed that even though we're not requesting any additional scopes,
GIDSignIn.sharedInstance.signIn(...)
is presenting a page after login asking the user to give additional permissions before completing the Sign-In flow.This wasn't happening previously when we were using version 6.0.2.
To Reproduce Steps to reproduce the behavior:
Expected behavior No additional scopes should be requested after completing Sign-In with Google.
Environment