You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow requesting additional scopes via the google_sign_in plugin #50208
The GoogleSignIn APIs for Android, iOS, and Web all provide a mechanism to request additional scopes after sign-in. It would be helpful for the google_sign_in plugin to also provide a mechanism to check granted scopes and grant new scopes (i.e. optional scopes or scopes for new features).
Proposal
Offer two new APIs on GoogleSignIn: Future<bool> hasGrantedScope(String scope); Which indicates if scope has already been granted by currentUser. Future<bool> requestScope(String scope); Which requests scope be granted by the currentUser.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
emerssso commentedon Feb 5, 2020
I'll try to put together a PR which adds these to the plugin, just wanted to start a conversation about the proposal first.
emerssso commentedon Apr 23, 2020
Feature is available on pub now.
BoonJunTan commentedon Jun 28, 2021
Hey can I check if this is implemented and if there is a documentation for this as I couldn't find it anywhere online.
github-actions commentedon Jul 31, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.