Skip to content

Commit 87f732a

Browse files
committed
Add more information about multiple Google scopes
Information from #126 (comment)
1 parent ee68003 commit 87f732a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flutter_web_auth_2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ final response = await http.post(url, body: {
8080
final accessToken = jsonDecode(response.body)['access_token'] as String;
8181
```
8282

83-
**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).
83+
**Note:** To use multiple scopes with Google, you need to encode them as a single string, separated by spaces (`%20`). 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).
8484

8585
## Migration
8686

0 commit comments

Comments
 (0)