From 917f73dad2cc3cb4de1c54782cb6ddbec41217af Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Mon, 6 Dec 2021 12:28:17 +0530 Subject: [PATCH] token logs changes --- lib/main.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index e6496609..e43867f0 100644 --- a/lib/main.js +++ b/lib/main.js @@ -141,7 +141,7 @@ function main() { if (environment != "azurecloud") throw new Error(`Your current environment - "${environment}" is not supported for OIDC login.`); let [issuer, subjectClaim] = yield jwtParser(federatedToken); - console.log("Federated token details: \n issuer- " + issuer + " \n subject claim - " + subjectClaim); + console.log("Federated token details: \n issuer - " + issuer + " \n subject claim - " + subjectClaim); } else { throw new Error("Could not get ID token for authentication."); diff --git a/src/main.ts b/src/main.ts index 0a953c08..7de834fb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -119,7 +119,7 @@ async function main() { if (environment != "azurecloud") throw new Error(`Your current environment - "${environment}" is not supported for OIDC login.`); let [issuer, subjectClaim] = await jwtParser(federatedToken); - console.log("Federated token details: \n issuer- " + issuer + " \n subject claim - " + subjectClaim); + console.log("Federated token details: \n issuer - " + issuer + " \n subject claim - " + subjectClaim); } else { throw new Error("Could not get ID token for authentication.");