Add log statement to see environment (#285220)

This commit is contained in:
Tyler James Leonhardt
2025-12-28 00:28:57 -06:00
committed by GitHub
parent d878ca94f9
commit 8244c9f6b9

View File

@@ -510,6 +510,7 @@ export class MsalAuthProvider implements AuthenticationProvider {
if (cachedPca.isBrokerAvailable && process.platform === 'darwin') {
redirectUri = Config.macOSBrokerRedirectUri;
}
this._logger.trace(`[getAllSessionsForPca] [${scopeData.scopeStr}] [${account.environment}] [${account.username}] acquiring token silently with${forceRefresh ? ' ' : 'out '}force refresh${claims ? ' and claims' : ''}...`);
const result = await cachedPca.acquireTokenSilent({
account,
authority,