Skip to content

Commit c5ee851

Browse files
authored
Remove additional string escape
1 parent a759ff2 commit c5ee851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Base/TokenHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ private static async Task<string> GetAccessTokenWithFederatedTokenAsync(string c
383383
var queryParams = new List<string>
384384
{
385385
"grant_type=client_credentials",
386-
$"scope={Uri.EscapeDataString(resource)}",
386+
$"scope={resource}",
387387
$"client_id={clientId}",
388388
$"client_assertion_type={Uri.EscapeDataString("urn:ietf:params:oauth:client-assertion-type:jwt-bearer")}",
389389
$"client_assertion={federatedToken}"

0 commit comments

Comments
 (0)