We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c035667 commit 5d53854Copy full SHA for 5d53854
sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts
@@ -58,7 +58,10 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow {
58
protected defaultNodeMsalConfig(options: MsalNodeOptions): msalNode.Configuration {
59
const clientId = options.clientId || DeveloperSignOnClientId;
60
const tenantId = resolveTenantId(options.logger, options.tenantId, options.clientId);
61
- const authorityHost = getAuthorityHost(tenantId, options.authorityHost);
+ const authorityHost = getAuthorityHost(
62
+ tenantId,
63
+ options.authorityHost || process.env.AZURE_AUTHORITY_HOST
64
+ );
65
this.identityClient = new IdentityClient({
66
...options.tokenCredentialOptions,
67
authorityHost
0 commit comments