Skip to content

Commit

Permalink
Add more information about multiple Google scopes
Browse files Browse the repository at this point in the history
Information from #126 (comment)
  • Loading branch information
ThexXTURBOXx committed Nov 22, 2024
1 parent ee68003 commit 87f732a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter_web_auth_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ final response = await http.post(url, body: {
final accessToken = jsonDecode(response.body)['access_token'] as String;
```

**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).
**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).

## Migration

Expand Down

0 comments on commit 87f732a

Please sign in to comment.