@azure/msal-node 5.2.2 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/NodeStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
- package/dist/cache/serializer/Deserializer.mjs +1 -1
- package/dist/cache/serializer/Serializer.mjs +1 -1
- package/dist/client/BaseClient.mjs +1 -1
- package/dist/client/ClientApplication.mjs +1 -1
- package/dist/client/ClientAssertion.mjs +1 -1
- package/dist/client/ClientCredentialClient.mjs +1 -1
- package/dist/client/ConfidentialClientApplication.mjs +1 -1
- package/dist/client/DeviceCodeClient.mjs +1 -1
- package/dist/client/ManagedIdentityApplication.mjs +1 -1
- package/dist/client/ManagedIdentityClient.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
- package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
- package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
- package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
- package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
- package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
- package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
- package/dist/client/OnBehalfOfClient.mjs +1 -1
- package/dist/client/PublicClientApplication.mjs +1 -1
- package/dist/client/UsernamePasswordClient.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/config/ManagedIdentityId.mjs +1 -1
- package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
- package/dist/crypto/CryptoProvider.mjs +1 -1
- package/dist/crypto/GuidGenerator.mjs +1 -1
- package/dist/crypto/HashUtils.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/error/ClientAuthErrorCodes.mjs +1 -1
- package/dist/error/ManagedIdentityError.mjs +1 -1
- package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
- package/dist/error/NodeAuthError.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internals.mjs +1 -1
- package/dist/network/HttpClient.mjs +1 -1
- package/dist/network/HttpClientWithRetries.mjs +1 -1
- package/dist/network/LoopbackClient.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
- package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
- package/dist/retry/ImdsRetryPolicy.mjs +1 -1
- package/dist/retry/LinearRetryStrategy.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/EncodingUtils.mjs +1 -1
- package/dist/utils/TimeUtils.mjs +1 -1
- package/lib/msal-node.cjs +87 -74
- package/lib/msal-node.cjs.map +1 -1
- package/package.json +2 -2
- package/src/packageMetadata.ts +1 -1
- package/types/packageMetadata.d.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v5.2.
|
|
1
|
+
/*! @azure/msal-node v5.2.3 2026-06-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -150,7 +150,7 @@ class Serializer {
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
/*! @azure/msal-common v16.
|
|
153
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
154
154
|
/*
|
|
155
155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
156
156
|
* Licensed under the MIT License.
|
|
@@ -398,7 +398,7 @@ const EncodingTypes = {
|
|
|
398
398
|
UTF8: "utf-8",
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
-
/*! @azure/msal-common v16.
|
|
401
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
402
402
|
/*
|
|
403
403
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
404
404
|
* Licensed under the MIT License.
|
|
@@ -451,7 +451,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
451
451
|
const RESOURCE = "resource";
|
|
452
452
|
const CLI_DATA = "clidata";
|
|
453
453
|
|
|
454
|
-
/*! @azure/msal-common v16.
|
|
454
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
455
455
|
/*
|
|
456
456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
457
457
|
* Licensed under the MIT License.
|
|
@@ -482,7 +482,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
482
482
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage(code));
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
/*! @azure/msal-common v16.
|
|
485
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
486
486
|
|
|
487
487
|
/*
|
|
488
488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -502,7 +502,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
502
502
|
return new ClientConfigurationError(errorCode);
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
/*! @azure/msal-common v16.
|
|
505
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
506
506
|
/*
|
|
507
507
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
508
508
|
* Licensed under the MIT License.
|
|
@@ -582,7 +582,7 @@ class StringUtils {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
|
|
585
|
-
/*! @azure/msal-common v16.
|
|
585
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
586
586
|
|
|
587
587
|
/*
|
|
588
588
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -605,7 +605,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
605
605
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
/*! @azure/msal-common v16.
|
|
608
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
609
609
|
/*
|
|
610
610
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
611
611
|
* Licensed under the MIT License.
|
|
@@ -663,7 +663,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
663
663
|
urlParseError: urlParseError
|
|
664
664
|
});
|
|
665
665
|
|
|
666
|
-
/*! @azure/msal-common v16.
|
|
666
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
667
667
|
/*
|
|
668
668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
669
669
|
* Licensed under the MIT License.
|
|
@@ -751,7 +751,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
751
751
|
userCanceled: userCanceled
|
|
752
752
|
});
|
|
753
753
|
|
|
754
|
-
/*! @azure/msal-common v16.
|
|
754
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
755
755
|
|
|
756
756
|
/*
|
|
757
757
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -946,7 +946,7 @@ class ScopeSet {
|
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
/*! @azure/msal-common v16.
|
|
949
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
950
950
|
|
|
951
951
|
/*
|
|
952
952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1353,7 +1353,7 @@ function addResource(parameters, resource) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
|
-
/*! @azure/msal-common v16.
|
|
1356
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1357
1357
|
/**
|
|
1358
1358
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
1359
1359
|
* @param hashString
|
|
@@ -1406,7 +1406,7 @@ function mapToQueryString(parameters) {
|
|
|
1406
1406
|
return queryParameterArray.join("&");
|
|
1407
1407
|
}
|
|
1408
1408
|
|
|
1409
|
-
/*! @azure/msal-common v16.
|
|
1409
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1410
1410
|
|
|
1411
1411
|
/*
|
|
1412
1412
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1445,7 +1445,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
1445
1445
|
},
|
|
1446
1446
|
};
|
|
1447
1447
|
|
|
1448
|
-
/*! @azure/msal-common v16.
|
|
1448
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1449
1449
|
/*
|
|
1450
1450
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1451
1451
|
* Licensed under the MIT License.
|
|
@@ -1706,12 +1706,12 @@ class Logger {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
|
|
1709
|
-
/*! @azure/msal-common v16.
|
|
1709
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1710
1710
|
/* eslint-disable header/header */
|
|
1711
1711
|
const name$1 = "@azure/msal-common";
|
|
1712
|
-
const version$1 = "16.
|
|
1712
|
+
const version$1 = "16.7.0";
|
|
1713
1713
|
|
|
1714
|
-
/*! @azure/msal-common v16.
|
|
1714
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1715
1715
|
/*
|
|
1716
1716
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1717
1717
|
* Licensed under the MIT License.
|
|
@@ -1731,7 +1731,7 @@ const AzureCloudInstance = {
|
|
|
1731
1731
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1732
1732
|
};
|
|
1733
1733
|
|
|
1734
|
-
/*! @azure/msal-common v16.
|
|
1734
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1735
1735
|
/*
|
|
1736
1736
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1737
1737
|
* Licensed under the MIT License.
|
|
@@ -1814,7 +1814,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1814
1814
|
return updatedAccountInfo;
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
/*! @azure/msal-common v16.
|
|
1817
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1818
1818
|
|
|
1819
1819
|
/*
|
|
1820
1820
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1894,7 +1894,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
1896
|
|
|
1897
|
-
/*! @azure/msal-common v16.
|
|
1897
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
1898
1898
|
|
|
1899
1899
|
/*
|
|
1900
1900
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2051,7 +2051,7 @@ class UrlString {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
|
|
2054
|
-
/*! @azure/msal-common v16.
|
|
2054
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2055
2055
|
|
|
2056
2056
|
/*
|
|
2057
2057
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2217,7 +2217,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2217
2217
|
return null;
|
|
2218
2218
|
}
|
|
2219
2219
|
|
|
2220
|
-
/*! @azure/msal-common v16.
|
|
2220
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2221
2221
|
/*
|
|
2222
2222
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2223
2223
|
* Licensed under the MIT License.
|
|
@@ -2225,7 +2225,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2225
2225
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2226
2226
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2227
2227
|
|
|
2228
|
-
/*! @azure/msal-common v16.
|
|
2228
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2229
2229
|
|
|
2230
2230
|
/*
|
|
2231
2231
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2263,7 +2263,7 @@ function createCacheError(e) {
|
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
2265
|
|
|
2266
|
-
/*! @azure/msal-common v16.
|
|
2266
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2267
2267
|
|
|
2268
2268
|
/*
|
|
2269
2269
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2301,7 +2301,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
2301
2301
|
};
|
|
2302
2302
|
}
|
|
2303
2303
|
|
|
2304
|
-
/*! @azure/msal-common v16.
|
|
2304
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2305
2305
|
/*
|
|
2306
2306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2307
2307
|
* Licensed under the MIT License.
|
|
@@ -2316,7 +2316,7 @@ const AuthorityType = {
|
|
|
2316
2316
|
Ciam: 3,
|
|
2317
2317
|
};
|
|
2318
2318
|
|
|
2319
|
-
/*! @azure/msal-common v16.
|
|
2319
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2320
2320
|
/*
|
|
2321
2321
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2322
2322
|
* Licensed under the MIT License.
|
|
@@ -2338,7 +2338,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2338
2338
|
return null;
|
|
2339
2339
|
}
|
|
2340
2340
|
|
|
2341
|
-
/*! @azure/msal-common v16.
|
|
2341
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2342
2342
|
/*
|
|
2343
2343
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2344
2344
|
* Licensed under the MIT License.
|
|
@@ -2362,7 +2362,7 @@ const ProtocolMode = {
|
|
|
2362
2362
|
EAR: "EAR",
|
|
2363
2363
|
};
|
|
2364
2364
|
|
|
2365
|
-
/*! @azure/msal-common v16.
|
|
2365
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Returns the AccountInfo interface for this account.
|
|
2368
2368
|
*/
|
|
@@ -2505,7 +2505,7 @@ function isAccountEntity(entity) {
|
|
|
2505
2505
|
entity.hasOwnProperty("authorityType"));
|
|
2506
2506
|
}
|
|
2507
2507
|
|
|
2508
|
-
/*! @azure/msal-common v16.
|
|
2508
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
2509
2509
|
|
|
2510
2510
|
/*
|
|
2511
2511
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2645,8 +2645,8 @@ class CacheManager {
|
|
|
2645
2645
|
return false;
|
|
2646
2646
|
}
|
|
2647
2647
|
if (!!tenantProfileFilter.username &&
|
|
2648
|
-
!
|
|
2649
|
-
|
|
2648
|
+
!this.matchUsername(tenantProfile.username, tenantProfileFilter.username) &&
|
|
2649
|
+
!this.matchUsername(tenantProfile.upn, tenantProfileFilter.username)) {
|
|
2650
2650
|
return false;
|
|
2651
2651
|
}
|
|
2652
2652
|
if (!!tenantProfileFilter.loginHint &&
|
|
@@ -3636,7 +3636,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
|
-
/*! @azure/msal-common v16.
|
|
3639
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3640
3640
|
/*
|
|
3641
3641
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3642
3642
|
* Licensed under the MIT License.
|
|
@@ -3650,7 +3650,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3650
3650
|
const PerformanceEventStatus = {
|
|
3651
3651
|
InProgress: 1};
|
|
3652
3652
|
|
|
3653
|
-
/*! @azure/msal-common v16.
|
|
3653
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3654
3654
|
|
|
3655
3655
|
/*
|
|
3656
3656
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3705,7 +3705,7 @@ class StubPerformanceClient {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
}
|
|
3707
3707
|
|
|
3708
|
-
/*! @azure/msal-common v16.
|
|
3708
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3709
3709
|
|
|
3710
3710
|
/*
|
|
3711
3711
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3800,7 +3800,7 @@ function isOidcProtocolMode(config) {
|
|
|
3800
3800
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3801
3801
|
}
|
|
3802
3802
|
|
|
3803
|
-
/*! @azure/msal-common v16.
|
|
3803
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3804
3804
|
/*
|
|
3805
3805
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3806
3806
|
* Licensed under the MIT License.
|
|
@@ -3827,7 +3827,7 @@ function isOidcProtocolMode(config) {
|
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
-
/*! @azure/msal-common v16.
|
|
3830
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3831
3831
|
/*
|
|
3832
3832
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3833
3833
|
* Licensed under the MIT License.
|
|
@@ -3882,7 +3882,7 @@ function delay(t, value) {
|
|
|
3882
3882
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
3883
3883
|
}
|
|
3884
3884
|
|
|
3885
|
-
/*! @azure/msal-common v16.
|
|
3885
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
3886
3886
|
|
|
3887
3887
|
/*
|
|
3888
3888
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4141,7 +4141,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4141
4141
|
return metadata.expiresAt <= nowSeconds();
|
|
4142
4142
|
}
|
|
4143
4143
|
|
|
4144
|
-
/*! @azure/msal-common v16.
|
|
4144
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4145
4145
|
/*
|
|
4146
4146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4147
4147
|
* Licensed under the MIT License.
|
|
@@ -4203,7 +4203,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
4203
4203
|
*/
|
|
4204
4204
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
4205
4205
|
|
|
4206
|
-
/*! @azure/msal-common v16.
|
|
4206
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4207
4207
|
/*
|
|
4208
4208
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4209
4209
|
* Licensed under the MIT License.
|
|
@@ -4296,7 +4296,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4296
4296
|
};
|
|
4297
4297
|
};
|
|
4298
4298
|
|
|
4299
|
-
/*! @azure/msal-common v16.
|
|
4299
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4300
4300
|
|
|
4301
4301
|
/*
|
|
4302
4302
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4376,7 +4376,7 @@ class PopTokenGenerator {
|
|
|
4376
4376
|
}
|
|
4377
4377
|
}
|
|
4378
4378
|
|
|
4379
|
-
/*! @azure/msal-common v16.
|
|
4379
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4380
4380
|
/*
|
|
4381
4381
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4382
4382
|
* Licensed under the MIT License.
|
|
@@ -4400,7 +4400,7 @@ const refreshTokenExpired = "refresh_token_expired";
|
|
|
4400
4400
|
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
4401
4401
|
* @public
|
|
4402
4402
|
*/
|
|
4403
|
-
const
|
|
4403
|
+
const uiNotAllowed = "ui_not_allowed";
|
|
4404
4404
|
/**
|
|
4405
4405
|
* Server-originated error code indicating interaction is required to complete the request.
|
|
4406
4406
|
* @public
|
|
@@ -4437,10 +4437,10 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
4437
4437
|
nativeAccountUnavailable: nativeAccountUnavailable,
|
|
4438
4438
|
noTokensFound: noTokensFound,
|
|
4439
4439
|
refreshTokenExpired: refreshTokenExpired,
|
|
4440
|
-
|
|
4440
|
+
uiNotAllowed: uiNotAllowed
|
|
4441
4441
|
});
|
|
4442
4442
|
|
|
4443
|
-
/*! @azure/msal-common v16.
|
|
4443
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4444
4444
|
|
|
4445
4445
|
/*
|
|
4446
4446
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4454,7 +4454,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
4454
4454
|
consentRequired,
|
|
4455
4455
|
loginRequired,
|
|
4456
4456
|
badToken,
|
|
4457
|
-
|
|
4457
|
+
uiNotAllowed,
|
|
4458
4458
|
interruptedUser,
|
|
4459
4459
|
];
|
|
4460
4460
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
@@ -4464,7 +4464,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
4464
4464
|
"user_password_expired",
|
|
4465
4465
|
"consent_required",
|
|
4466
4466
|
"bad_token",
|
|
4467
|
-
"
|
|
4467
|
+
"ui_not_allowed",
|
|
4468
4468
|
"interrupted_user",
|
|
4469
4469
|
];
|
|
4470
4470
|
/**
|
|
@@ -4508,7 +4508,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
4508
4508
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
4509
4509
|
}
|
|
4510
4510
|
|
|
4511
|
-
/*! @azure/msal-common v16.
|
|
4511
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4512
4512
|
|
|
4513
4513
|
/*
|
|
4514
4514
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4527,7 +4527,7 @@ class ServerError extends AuthError {
|
|
|
4527
4527
|
}
|
|
4528
4528
|
}
|
|
4529
4529
|
|
|
4530
|
-
/*! @azure/msal-common v16.
|
|
4530
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4531
4531
|
/**
|
|
4532
4532
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
4533
4533
|
* @param base64Decode
|
|
@@ -4559,7 +4559,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
4559
4559
|
}
|
|
4560
4560
|
}
|
|
4561
4561
|
|
|
4562
|
-
/*! @azure/msal-common v16.
|
|
4562
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4563
4563
|
|
|
4564
4564
|
/*
|
|
4565
4565
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4907,7 +4907,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4907
4907
|
return baseAccount;
|
|
4908
4908
|
}
|
|
4909
4909
|
|
|
4910
|
-
/*! @azure/msal-common v16.
|
|
4910
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4911
4911
|
/*
|
|
4912
4912
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4913
4913
|
* Licensed under the MIT License.
|
|
@@ -4917,7 +4917,7 @@ const CcsCredentialType = {
|
|
|
4917
4917
|
UPN: "UPN",
|
|
4918
4918
|
};
|
|
4919
4919
|
|
|
4920
|
-
/*! @azure/msal-common v16.
|
|
4920
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4921
4921
|
/*
|
|
4922
4922
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4923
4923
|
* Licensed under the MIT License.
|
|
@@ -4935,7 +4935,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
4935
4935
|
}
|
|
4936
4936
|
}
|
|
4937
4937
|
|
|
4938
|
-
/*! @azure/msal-common v16.
|
|
4938
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4939
4939
|
/*
|
|
4940
4940
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4941
4941
|
* Licensed under the MIT License.
|
|
@@ -4956,7 +4956,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4956
4956
|
};
|
|
4957
4957
|
}
|
|
4958
4958
|
|
|
4959
|
-
/*! @azure/msal-common v16.
|
|
4959
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
4960
4960
|
|
|
4961
4961
|
/*
|
|
4962
4962
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5042,7 +5042,7 @@ class ThrottlingUtils {
|
|
|
5042
5042
|
}
|
|
5043
5043
|
}
|
|
5044
5044
|
|
|
5045
|
-
/*! @azure/msal-common v16.
|
|
5045
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5046
5046
|
|
|
5047
5047
|
/*
|
|
5048
5048
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5073,7 +5073,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5073
5073
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5074
5074
|
}
|
|
5075
5075
|
|
|
5076
|
-
/*! @azure/msal-common v16.
|
|
5076
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5077
5077
|
|
|
5078
5078
|
/*
|
|
5079
5079
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5187,7 +5187,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5187
5187
|
return response;
|
|
5188
5188
|
}
|
|
5189
5189
|
|
|
5190
|
-
/*! @azure/msal-common v16.
|
|
5190
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5191
5191
|
/*
|
|
5192
5192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5193
5193
|
* Licensed under the MIT License.
|
|
@@ -5199,7 +5199,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
5199
5199
|
response.hasOwnProperty("jwks_uri"));
|
|
5200
5200
|
}
|
|
5201
5201
|
|
|
5202
|
-
/*! @azure/msal-common v16.
|
|
5202
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5203
5203
|
/*
|
|
5204
5204
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5205
5205
|
* Licensed under the MIT License.
|
|
@@ -5209,7 +5209,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
5209
5209
|
response.hasOwnProperty("metadata"));
|
|
5210
5210
|
}
|
|
5211
5211
|
|
|
5212
|
-
/*! @azure/msal-common v16.
|
|
5212
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5213
5213
|
/*
|
|
5214
5214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5215
5215
|
* Licensed under the MIT License.
|
|
@@ -5219,7 +5219,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
5219
5219
|
response.hasOwnProperty("error_description"));
|
|
5220
5220
|
}
|
|
5221
5221
|
|
|
5222
|
-
/*! @azure/msal-common v16.
|
|
5222
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5223
5223
|
|
|
5224
5224
|
/*
|
|
5225
5225
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5324,7 +5324,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5324
5324
|
},
|
|
5325
5325
|
};
|
|
5326
5326
|
|
|
5327
|
-
/*! @azure/msal-common v16.
|
|
5327
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
5328
5328
|
|
|
5329
5329
|
/*
|
|
5330
5330
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5883,7 +5883,7 @@ class Authority {
|
|
|
5883
5883
|
}
|
|
5884
5884
|
}
|
|
5885
5885
|
// If cloudDiscoveryMetadata is empty or does not contain the host, check knownAuthorities
|
|
5886
|
-
if (this.isInKnownAuthorities()) {
|
|
5886
|
+
if (this.isInKnownAuthorities(this.hostnameAndPort)) {
|
|
5887
5887
|
this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host.", this.correlationId);
|
|
5888
5888
|
return Authority.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);
|
|
5889
5889
|
}
|
|
@@ -5951,13 +5951,14 @@ class Authority {
|
|
|
5951
5951
|
return match;
|
|
5952
5952
|
}
|
|
5953
5953
|
/**
|
|
5954
|
-
* Helper function to determine if
|
|
5954
|
+
* Helper function to determine if a host is included in the knownAuthorities config option.
|
|
5955
5955
|
*/
|
|
5956
|
-
isInKnownAuthorities() {
|
|
5956
|
+
isInKnownAuthorities(host) {
|
|
5957
|
+
const normalizedHost = host.toLowerCase();
|
|
5957
5958
|
const matches = this.authorityOptions.knownAuthorities.filter((authority) => {
|
|
5958
5959
|
return (authority &&
|
|
5959
5960
|
UrlString.getDomainFromUrl(authority).toLowerCase() ===
|
|
5960
|
-
|
|
5961
|
+
normalizedHost);
|
|
5961
5962
|
});
|
|
5962
5963
|
return matches.length > 0;
|
|
5963
5964
|
}
|
|
@@ -6034,6 +6035,10 @@ class Authority {
|
|
|
6034
6035
|
* 4. Same as (2), but the issuer host matches the CIAM tenant pattern
|
|
6035
6036
|
* `{tenant}.ciamlogin.com` with an optional `/{tenant}[.onmicrosoft.com][/v2.0]`
|
|
6036
6037
|
* path.
|
|
6038
|
+
* 5. The issuer host is HTTPS and is explicitly listed in the
|
|
6039
|
+
* developer-configured `knownAuthorities`. This covers scenarios where
|
|
6040
|
+
* the OIDC discovery document returns an issuer host that differs from
|
|
6041
|
+
* the authority (e.g., a GUID-based issuer for a name-based CIAM authority).
|
|
6037
6042
|
*
|
|
6038
6043
|
* @param issuer The `issuer` value returned in the OIDC discovery document.
|
|
6039
6044
|
* @throws ClientConfigurationError("issuer_validation_failed") on failure.
|
|
@@ -6070,11 +6075,19 @@ class Authority {
|
|
|
6070
6075
|
* have "{tenant}.ciamlogin.com" as the host, even when using a custom domain.
|
|
6071
6076
|
*/
|
|
6072
6077
|
const matchesCiamTenantPattern = this.matchesCiamTenantPattern(issuerUrl, authorityHost, this.canonicalAuthorityUrlComponents.PathSegments);
|
|
6078
|
+
/*
|
|
6079
|
+
* Rule 5: The issuer host is explicitly listed in the developer-configured
|
|
6080
|
+
* knownAuthorities. This covers scenarios where the OIDC discovery document
|
|
6081
|
+
* returns an issuer with a different host than the authority
|
|
6082
|
+
* (e.g., a GUID-based issuer for a name-based authority).
|
|
6083
|
+
*/
|
|
6084
|
+
const matchesKnownAuthority = issuerScheme === "https:" && this.isInKnownAuthorities(issuerHost);
|
|
6073
6085
|
// Each rule is an independent boolean; the issuer is valid if ANY rule matches.
|
|
6074
6086
|
if (matchesAuthorityOrigin ||
|
|
6075
6087
|
matchesKnownMicrosoftHost ||
|
|
6076
6088
|
matchesRegionalMicrosoftHost ||
|
|
6077
|
-
matchesCiamTenantPattern
|
|
6089
|
+
matchesCiamTenantPattern ||
|
|
6090
|
+
matchesKnownAuthority) {
|
|
6078
6091
|
return;
|
|
6079
6092
|
}
|
|
6080
6093
|
// issuer validation fails if none of the above rules are satisfied
|
|
@@ -6282,7 +6295,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6282
6295
|
};
|
|
6283
6296
|
}
|
|
6284
6297
|
|
|
6285
|
-
/*! @azure/msal-common v16.
|
|
6298
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
6286
6299
|
|
|
6287
6300
|
/*
|
|
6288
6301
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6316,7 +6329,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6316
6329
|
}
|
|
6317
6330
|
}
|
|
6318
6331
|
|
|
6319
|
-
/*! @azure/msal-common v16.
|
|
6332
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
6320
6333
|
|
|
6321
6334
|
/*
|
|
6322
6335
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6573,7 +6586,7 @@ class AuthorizationCodeClient {
|
|
|
6573
6586
|
}
|
|
6574
6587
|
}
|
|
6575
6588
|
|
|
6576
|
-
/*! @azure/msal-common v16.
|
|
6589
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
6577
6590
|
|
|
6578
6591
|
/*
|
|
6579
6592
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6794,7 +6807,7 @@ class RefreshTokenClient {
|
|
|
6794
6807
|
}
|
|
6795
6808
|
}
|
|
6796
6809
|
|
|
6797
|
-
/*! @azure/msal-common v16.
|
|
6810
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
6798
6811
|
|
|
6799
6812
|
/*
|
|
6800
6813
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6910,7 +6923,7 @@ class SilentFlowClient {
|
|
|
6910
6923
|
}
|
|
6911
6924
|
}
|
|
6912
6925
|
|
|
6913
|
-
/*! @azure/msal-common v16.
|
|
6926
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
6914
6927
|
|
|
6915
6928
|
/*
|
|
6916
6929
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7059,7 +7072,7 @@ function extractLoginHint(account) {
|
|
|
7059
7072
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7060
7073
|
}
|
|
7061
7074
|
|
|
7062
|
-
/*! @azure/msal-common v16.
|
|
7075
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
7063
7076
|
|
|
7064
7077
|
/*
|
|
7065
7078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7092,7 +7105,7 @@ function containsResourceParam(params) {
|
|
|
7092
7105
|
return Object.prototype.hasOwnProperty.call(params, "resource");
|
|
7093
7106
|
}
|
|
7094
7107
|
|
|
7095
|
-
/*! @azure/msal-common v16.
|
|
7108
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
7096
7109
|
/*
|
|
7097
7110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7098
7111
|
* Licensed under the MIT License.
|
|
@@ -7109,7 +7122,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
7109
7122
|
unexpectedError: unexpectedError
|
|
7110
7123
|
});
|
|
7111
7124
|
|
|
7112
|
-
/*! @azure/msal-common v16.
|
|
7125
|
+
/*! @azure/msal-common v16.7.0 2026-06-05 */
|
|
7113
7126
|
|
|
7114
7127
|
/*
|
|
7115
7128
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9317,7 +9330,7 @@ class ClientAssertion {
|
|
|
9317
9330
|
|
|
9318
9331
|
/* eslint-disable header/header */
|
|
9319
9332
|
const name = "@azure/msal-node";
|
|
9320
|
-
const version = "5.2.
|
|
9333
|
+
const version = "5.2.3";
|
|
9321
9334
|
|
|
9322
9335
|
/*
|
|
9323
9336
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|