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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ final response = await http.post('https://www.googleapis.com/oauth2/v4/token', b
68
68
final accessToken = jsonDecode(response.body)['access_token'] as String;
69
69
```
70
70
71
+
**Note:** To use multiple scopes with Google, you need to encode them as a single string, separated by spaces. For example, `scope: 'email https://www.googleapis.com/auth/userinfo.profile'`. Here is [a list of all supported scopes](https://developers.google.com/identity/protocols/oauth2/scopes).
72
+
71
73
## Setup
72
74
73
75
Setup works as for any Flutter plugin, expect the Android and Web caveats outlined below:
0 commit comments