From b2c6bee10a0ba70b5d82caef5ac21278e36648bc Mon Sep 17 00:00:00 2001 From: TingluoHuang Date: Wed, 25 Aug 2021 17:35:01 -0400 Subject: [PATCH] encoding. --- packages/core/src/oidc-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/oidc-utils.ts b/packages/core/src/oidc-utils.ts index d8a4cdc8..68d3a370 100644 --- a/packages/core/src/oidc-utils.ts +++ b/packages/core/src/oidc-utils.ts @@ -68,7 +68,7 @@ export class OidcClient { // New ID Token is requested from action service let id_token_url: string = OidcClient.getIDTokenUrl() if (audience) { - id_token_url = `${id_token_url}&audience=${audience}` + id_token_url = `${id_token_url}&audience=${encodeURIComponent(audience)}` } debug(`ID token url is ${id_token_url}`)