From 87f732acd8307bc9dfe1e170f4019713f9ea2b21 Mon Sep 17 00:00:00 2001 From: Nico Mexis Date: Fri, 22 Nov 2024 09:14:34 +0100 Subject: [PATCH] Add more information about multiple Google scopes Information from https://github.com/ThexXTURBOXx/flutter_web_auth_2/issues/126#issuecomment-2493009250 --- flutter_web_auth_2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_web_auth_2/README.md b/flutter_web_auth_2/README.md index e18ebf1..c8864a7 100644 --- a/flutter_web_auth_2/README.md +++ b/flutter_web_auth_2/README.md @@ -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