From 17cffdf8cf098d3d51151a04168ac934334d532d Mon Sep 17 00:00:00 2001 From: Anran Zhang Date: Fri, 17 Jun 2022 10:17:10 +0800 Subject: [PATCH] Change permission scope separator to space --- CommunityToolkit.Authentication.Uwp/WindowsProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommunityToolkit.Authentication.Uwp/WindowsProvider.cs b/CommunityToolkit.Authentication.Uwp/WindowsProvider.cs index a918efc..234521f 100644 --- a/CommunityToolkit.Authentication.Uwp/WindowsProvider.cs +++ b/CommunityToolkit.Authentication.Uwp/WindowsProvider.cs @@ -543,7 +543,7 @@ async void OnAccountCommandsRequested(AccountsSettingsPane sender, AccountsSetti private WebTokenRequest GetWebTokenRequest(WebAccountProvider provider, string clientId, string[] scopes) { - string scopesString = string.Join(',', scopes); + string scopesString = string.Join(' ', scopes); WebTokenRequest webTokenRequest = string.IsNullOrWhiteSpace(clientId) ? new WebTokenRequest(provider, scopesString)