@azure/msal-node 6.0.0 → 6.0.1
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 +9 -8
- package/dist/client/ClientApplication.mjs.map +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/UserFederatedIdentityCredentialClient.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 +97 -81
- package/lib/msal-node.cjs.map +1 -1
- package/package.json +2 -2
- package/src/client/ClientApplication.ts +9 -7
- package/src/packageMetadata.ts +1 -1
- package/src/request/AuthorizationCodeRequest.ts +1 -1
- package/types/client/ClientApplication.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/request/AuthorizationCodeRequest.d.ts +1 -1
package/lib/msal-node.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node v6.0.
|
|
1
|
+
/*! @azure/msal-node v6.0.1 2026-09-15 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -151,7 +151,7 @@ class Serializer {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
/*! @azure/msal-common v16.14.
|
|
154
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
155
155
|
/*
|
|
156
156
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
157
157
|
* Licensed under the MIT License.
|
|
@@ -209,7 +209,7 @@ const USER_ID = "user_id";
|
|
|
209
209
|
const FMI_PATH = "fmi_path";
|
|
210
210
|
const ATTRIBUTE_TOKENS = "attribute_tokens";
|
|
211
211
|
|
|
212
|
-
/*! @azure/msal-common v16.14.
|
|
212
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
213
213
|
/*
|
|
214
214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
215
215
|
* Licensed under the MIT License.
|
|
@@ -468,7 +468,7 @@ const EncodingTypes = {
|
|
|
468
468
|
UTF8: "utf-8",
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
/*! @azure/msal-common v16.14.
|
|
471
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
472
472
|
/*
|
|
473
473
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
474
474
|
* Licensed under the MIT License.
|
|
@@ -497,7 +497,7 @@ function createAuthError(code, correlationId, additionalMessage) {
|
|
|
497
497
|
return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage(code));
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
/*! @azure/msal-common v16.14.
|
|
500
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
501
501
|
|
|
502
502
|
/*
|
|
503
503
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -520,7 +520,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
|
|
|
520
520
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
/*! @azure/msal-common v16.14.
|
|
523
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
524
524
|
/*
|
|
525
525
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
526
526
|
* Licensed under the MIT License.
|
|
@@ -606,7 +606,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
606
606
|
userCanceled: userCanceled
|
|
607
607
|
});
|
|
608
608
|
|
|
609
|
-
/*! @azure/msal-common v16.14.
|
|
609
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
610
610
|
|
|
611
611
|
/*
|
|
612
612
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -644,7 +644,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
/*! @azure/msal-common v16.14.
|
|
647
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
648
648
|
|
|
649
649
|
/*
|
|
650
650
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -710,7 +710,7 @@ function getJWSPayload(authToken, correlationId) {
|
|
|
710
710
|
return matches[2];
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
/*! @azure/msal-common v16.14.
|
|
713
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
714
714
|
|
|
715
715
|
/*
|
|
716
716
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -798,7 +798,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
798
798
|
return updatedAccountInfo;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
/*! @azure/msal-common v16.14.
|
|
801
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
802
802
|
/*
|
|
803
803
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
804
804
|
* Licensed under the MIT License.
|
|
@@ -812,7 +812,7 @@ const AuthorityType = {
|
|
|
812
812
|
Ciam: 3,
|
|
813
813
|
};
|
|
814
814
|
|
|
815
|
-
/*! @azure/msal-common v16.14.
|
|
815
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
816
816
|
/*
|
|
817
817
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
818
818
|
* Licensed under the MIT License.
|
|
@@ -834,7 +834,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
834
834
|
return null;
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
/*! @azure/msal-common v16.14.
|
|
837
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
838
838
|
/*
|
|
839
839
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
840
840
|
* Licensed under the MIT License.
|
|
@@ -858,7 +858,7 @@ const ProtocolMode = {
|
|
|
858
858
|
EAR: "EAR",
|
|
859
859
|
};
|
|
860
860
|
|
|
861
|
-
/*! @azure/msal-common v16.14.
|
|
861
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
862
862
|
/**
|
|
863
863
|
* Returns the AccountInfo interface for this account.
|
|
864
864
|
* @internal
|
|
@@ -1007,7 +1007,7 @@ function isAccountEntity(entity) {
|
|
|
1007
1007
|
entity.hasOwnProperty("authorityType"));
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
/*! @azure/msal-common v16.14.
|
|
1010
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1011
1011
|
/*
|
|
1012
1012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1013
1013
|
* Licensed under the MIT License.
|
|
@@ -1024,7 +1024,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1024
1024
|
unexpectedError: unexpectedError
|
|
1025
1025
|
});
|
|
1026
1026
|
|
|
1027
|
-
/*! @azure/msal-common v16.14.
|
|
1027
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1028
1028
|
|
|
1029
1029
|
/*
|
|
1030
1030
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1044,7 +1044,7 @@ function createClientConfigurationError(errorCode, correlationId) {
|
|
|
1044
1044
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
-
/*! @azure/msal-common v16.14.
|
|
1047
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1048
1048
|
/*
|
|
1049
1049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1050
1050
|
* Licensed under the MIT License.
|
|
@@ -1114,7 +1114,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1114
1114
|
urlParseError: urlParseError
|
|
1115
1115
|
});
|
|
1116
1116
|
|
|
1117
|
-
/*! @azure/msal-common v16.14.
|
|
1117
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1118
1118
|
/*
|
|
1119
1119
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1120
1120
|
* Licensed under the MIT License.
|
|
@@ -1126,7 +1126,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
1126
1126
|
response.hasOwnProperty("jwks_uri"));
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
/*! @azure/msal-common v16.14.
|
|
1129
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1130
1130
|
/*
|
|
1131
1131
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1132
1132
|
* Licensed under the MIT License.
|
|
@@ -1206,7 +1206,7 @@ class StringUtils {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
-
/*! @azure/msal-common v16.14.
|
|
1209
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1210
1210
|
|
|
1211
1211
|
/*
|
|
1212
1212
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1364,7 +1364,7 @@ class UrlString {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
|
-
/*! @azure/msal-common v16.14.
|
|
1367
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1368
1368
|
|
|
1369
1369
|
/*
|
|
1370
1370
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1518,7 +1518,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1518
1518
|
return null;
|
|
1519
1519
|
}
|
|
1520
1520
|
|
|
1521
|
-
/*! @azure/msal-common v16.14.
|
|
1521
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1522
1522
|
/*
|
|
1523
1523
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1524
1524
|
* Licensed under the MIT License.
|
|
@@ -1536,7 +1536,7 @@ const AzureCloudInstance = {
|
|
|
1536
1536
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1537
1537
|
};
|
|
1538
1538
|
|
|
1539
|
-
/*! @azure/msal-common v16.14.
|
|
1539
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1540
1540
|
/*
|
|
1541
1541
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1542
1542
|
* Licensed under the MIT License.
|
|
@@ -1546,7 +1546,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
1546
1546
|
response.hasOwnProperty("metadata"));
|
|
1547
1547
|
}
|
|
1548
1548
|
|
|
1549
|
-
/*! @azure/msal-common v16.14.
|
|
1549
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1550
1550
|
/*
|
|
1551
1551
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1552
1552
|
* Licensed under the MIT License.
|
|
@@ -1556,7 +1556,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
1556
1556
|
response.hasOwnProperty("error_description"));
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
/*! @azure/msal-common v16.14.
|
|
1559
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1560
1560
|
/*
|
|
1561
1561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1562
1562
|
* Licensed under the MIT License.
|
|
@@ -1618,7 +1618,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
1618
1618
|
*/
|
|
1619
1619
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1620
1620
|
|
|
1621
|
-
/*! @azure/msal-common v16.14.
|
|
1621
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1622
1622
|
/*
|
|
1623
1623
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1624
1624
|
* Licensed under the MIT License.
|
|
@@ -1711,7 +1711,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
1711
1711
|
};
|
|
1712
1712
|
};
|
|
1713
1713
|
|
|
1714
|
-
/*! @azure/msal-common v16.14.
|
|
1714
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1715
1715
|
|
|
1716
1716
|
/*
|
|
1717
1717
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1822,7 +1822,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
1822
1822
|
},
|
|
1823
1823
|
};
|
|
1824
1824
|
|
|
1825
|
-
/*! @azure/msal-common v16.14.
|
|
1825
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1826
1826
|
/*
|
|
1827
1827
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1828
1828
|
* Licensed under the MIT License.
|
|
@@ -1877,7 +1877,7 @@ function delay(t, value) {
|
|
|
1877
1877
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
-
/*! @azure/msal-common v16.14.
|
|
1880
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
1881
1881
|
|
|
1882
1882
|
/*
|
|
1883
1883
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2164,7 +2164,7 @@ function serializeAttributeTokens(attributeTokens) {
|
|
|
2164
2164
|
return [...attributeTokens].sort().join(" ");
|
|
2165
2165
|
}
|
|
2166
2166
|
|
|
2167
|
-
/*! @azure/msal-common v16.14.
|
|
2167
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
2168
2168
|
|
|
2169
2169
|
/*
|
|
2170
2170
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3132,7 +3132,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
3132
3132
|
};
|
|
3133
3133
|
}
|
|
3134
3134
|
|
|
3135
|
-
/*! @azure/msal-common v16.14.
|
|
3135
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3136
3136
|
|
|
3137
3137
|
/*
|
|
3138
3138
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3166,7 +3166,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
3166
3166
|
}
|
|
3167
3167
|
}
|
|
3168
3168
|
|
|
3169
|
-
/*! @azure/msal-common v16.14.
|
|
3169
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3170
3170
|
|
|
3171
3171
|
/*
|
|
3172
3172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3362,7 +3362,7 @@ class ScopeSet {
|
|
|
3362
3362
|
}
|
|
3363
3363
|
}
|
|
3364
3364
|
|
|
3365
|
-
/*! @azure/msal-common v16.14.
|
|
3365
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3366
3366
|
|
|
3367
3367
|
/*
|
|
3368
3368
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3866,7 +3866,7 @@ function addAttributeTokens(parameters, attributeTokens) {
|
|
|
3866
3866
|
}
|
|
3867
3867
|
}
|
|
3868
3868
|
|
|
3869
|
-
/*! @azure/msal-common v16.14.
|
|
3869
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3870
3870
|
|
|
3871
3871
|
/*
|
|
3872
3872
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3924,7 +3924,7 @@ function mapToQueryString(parameters) {
|
|
|
3924
3924
|
return queryParameterArray.join("&");
|
|
3925
3925
|
}
|
|
3926
3926
|
|
|
3927
|
-
/*! @azure/msal-common v16.14.
|
|
3927
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3928
3928
|
|
|
3929
3929
|
/*
|
|
3930
3930
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3972,7 +3972,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
3972
3972
|
},
|
|
3973
3973
|
};
|
|
3974
3974
|
|
|
3975
|
-
/*! @azure/msal-common v16.14.
|
|
3975
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3976
3976
|
|
|
3977
3977
|
/*
|
|
3978
3978
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3995,7 +3995,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
|
|
|
3995
3995
|
},
|
|
3996
3996
|
};
|
|
3997
3997
|
|
|
3998
|
-
/*! @azure/msal-common v16.14.
|
|
3998
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
3999
3999
|
/*
|
|
4000
4000
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4001
4001
|
* Licensed under the MIT License.
|
|
@@ -4270,12 +4270,12 @@ class Logger {
|
|
|
4270
4270
|
}
|
|
4271
4271
|
}
|
|
4272
4272
|
|
|
4273
|
-
/*! @azure/msal-common v16.14.
|
|
4273
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4274
4274
|
/* eslint-disable header/header */
|
|
4275
4275
|
const name$1 = "@azure/msal-common";
|
|
4276
|
-
const version$1 = "16.14.
|
|
4276
|
+
const version$1 = "16.14.1";
|
|
4277
4277
|
|
|
4278
|
-
/*! @azure/msal-common v16.14.
|
|
4278
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4279
4279
|
/*
|
|
4280
4280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4281
4281
|
* Licensed under the MIT License.
|
|
@@ -4283,7 +4283,7 @@ const version$1 = "16.14.0";
|
|
|
4283
4283
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
4284
4284
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
4285
4285
|
|
|
4286
|
-
/*! @azure/msal-common v16.14.
|
|
4286
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4287
4287
|
|
|
4288
4288
|
/*
|
|
4289
4289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4321,7 +4321,7 @@ function createCacheError(e) {
|
|
|
4321
4321
|
}
|
|
4322
4322
|
}
|
|
4323
4323
|
|
|
4324
|
-
/*! @azure/msal-common v16.14.
|
|
4324
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
4325
4325
|
|
|
4326
4326
|
/*
|
|
4327
4327
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5508,7 +5508,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
5508
5508
|
}
|
|
5509
5509
|
}
|
|
5510
5510
|
|
|
5511
|
-
/*! @azure/msal-common v16.14.
|
|
5511
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5512
5512
|
/*
|
|
5513
5513
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5514
5514
|
* Licensed under the MIT License.
|
|
@@ -5522,7 +5522,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
5522
5522
|
const PerformanceEventStatus = {
|
|
5523
5523
|
InProgress: 1};
|
|
5524
5524
|
|
|
5525
|
-
/*! @azure/msal-common v16.14.
|
|
5525
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5526
5526
|
|
|
5527
5527
|
/*
|
|
5528
5528
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5580,7 +5580,7 @@ class StubPerformanceClient {
|
|
|
5580
5580
|
}
|
|
5581
5581
|
}
|
|
5582
5582
|
|
|
5583
|
-
/*! @azure/msal-common v16.14.
|
|
5583
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5584
5584
|
|
|
5585
5585
|
/*
|
|
5586
5586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5678,7 +5678,7 @@ function isOidcProtocolMode(config) {
|
|
|
5678
5678
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
5679
5679
|
}
|
|
5680
5680
|
|
|
5681
|
-
/*! @azure/msal-common v16.14.
|
|
5681
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5682
5682
|
/*
|
|
5683
5683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5684
5684
|
* Licensed under the MIT License.
|
|
@@ -5705,7 +5705,7 @@ function isOidcProtocolMode(config) {
|
|
|
5705
5705
|
}
|
|
5706
5706
|
}
|
|
5707
5707
|
|
|
5708
|
-
/*! @azure/msal-common v16.14.
|
|
5708
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5709
5709
|
|
|
5710
5710
|
/*
|
|
5711
5711
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5726,7 +5726,7 @@ function createJoseHeaderError(code, correlationId) {
|
|
|
5726
5726
|
return new JoseHeaderError(code, correlationId);
|
|
5727
5727
|
}
|
|
5728
5728
|
|
|
5729
|
-
/*! @azure/msal-common v16.14.
|
|
5729
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5730
5730
|
/*
|
|
5731
5731
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5732
5732
|
* Licensed under the MIT License.
|
|
@@ -5751,7 +5751,7 @@ function isPlainObject(value) {
|
|
|
5751
5751
|
return Object.getPrototypeOf(value) === proto;
|
|
5752
5752
|
}
|
|
5753
5753
|
|
|
5754
|
-
/*! @azure/msal-common v16.14.
|
|
5754
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5755
5755
|
/*
|
|
5756
5756
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5757
5757
|
* Licensed under the MIT License.
|
|
@@ -5761,7 +5761,7 @@ const missingAlgError = "missing_alg_error";
|
|
|
5761
5761
|
const missingJwkError = "missing_jwk_error";
|
|
5762
5762
|
const invalidJwkError = "invalid_jwk_error";
|
|
5763
5763
|
|
|
5764
|
-
/*! @azure/msal-common v16.14.
|
|
5764
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5765
5765
|
|
|
5766
5766
|
/*
|
|
5767
5767
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5827,7 +5827,7 @@ class JoseHeader {
|
|
|
5827
5827
|
}
|
|
5828
5828
|
}
|
|
5829
5829
|
|
|
5830
|
-
/*! @azure/msal-common v16.14.
|
|
5830
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5831
5831
|
|
|
5832
5832
|
/*
|
|
5833
5833
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5928,7 +5928,7 @@ class PopTokenGenerator {
|
|
|
5928
5928
|
}
|
|
5929
5929
|
}
|
|
5930
5930
|
|
|
5931
|
-
/*! @azure/msal-common v16.14.
|
|
5931
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
5932
5932
|
|
|
5933
5933
|
/*
|
|
5934
5934
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6073,7 +6073,7 @@ class DpopProofGenerator {
|
|
|
6073
6073
|
}
|
|
6074
6074
|
}
|
|
6075
6075
|
|
|
6076
|
-
/*! @azure/msal-common v16.14.
|
|
6076
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6077
6077
|
/*
|
|
6078
6078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6079
6079
|
* Licensed under the MIT License.
|
|
@@ -6137,7 +6137,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6137
6137
|
uiNotAllowed: uiNotAllowed
|
|
6138
6138
|
});
|
|
6139
6139
|
|
|
6140
|
-
/*! @azure/msal-common v16.14.
|
|
6140
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6141
6141
|
|
|
6142
6142
|
/*
|
|
6143
6143
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6204,7 +6204,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
|
|
|
6204
6204
|
return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
|
|
6205
6205
|
}
|
|
6206
6206
|
|
|
6207
|
-
/*! @azure/msal-common v16.14.
|
|
6207
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6208
6208
|
|
|
6209
6209
|
/*
|
|
6210
6210
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6223,7 +6223,7 @@ class ServerError extends AuthError {
|
|
|
6223
6223
|
}
|
|
6224
6224
|
}
|
|
6225
6225
|
|
|
6226
|
-
/*! @azure/msal-common v16.14.
|
|
6226
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6227
6227
|
/**
|
|
6228
6228
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
6229
6229
|
* @param base64Decode
|
|
@@ -6256,7 +6256,7 @@ function parseRequestState(base64Decode, state, correlationId) {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
}
|
|
6258
6258
|
|
|
6259
|
-
/*! @azure/msal-common v16.14.
|
|
6259
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6260
6260
|
|
|
6261
6261
|
/*
|
|
6262
6262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6329,11 +6329,26 @@ class ResponseHandler {
|
|
|
6329
6329
|
let idTokenClaims;
|
|
6330
6330
|
if (serverTokenResponse.id_token) {
|
|
6331
6331
|
idTokenClaims = extractTokenClaims(serverTokenResponse.id_token || "", this.cryptoObj.base64Decode, request.correlationId);
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6332
|
+
}
|
|
6333
|
+
/*
|
|
6334
|
+
* Callers opt in to strict nonce-presence validation by including
|
|
6335
|
+
* the nonce property, even when its value is undefined.
|
|
6336
|
+
*/
|
|
6337
|
+
if (authCodePayload &&
|
|
6338
|
+
Object.prototype.hasOwnProperty.call(authCodePayload, "nonce")) {
|
|
6339
|
+
const expectedNonce = authCodePayload.nonce;
|
|
6340
|
+
const tokenNonce = idTokenClaims?.nonce;
|
|
6341
|
+
// Warn when the ID Token nonce cannot be bound to the request.
|
|
6342
|
+
if (tokenNonce !== undefined && expectedNonce === undefined) {
|
|
6343
|
+
this.logger.warning("Authorization code response contains an ID Token nonce, but no expected nonce was supplied. Rejecting the response.", request.correlationId);
|
|
6344
|
+
throw createClientAuthError(nonceMismatch, request.correlationId);
|
|
6345
|
+
}
|
|
6346
|
+
// If the request supplies a nonce, the ID Token value must be a matching string.
|
|
6347
|
+
if (expectedNonce !== undefined &&
|
|
6348
|
+
(typeof expectedNonce !== "string" ||
|
|
6349
|
+
typeof tokenNonce !== "string" ||
|
|
6350
|
+
expectedNonce !== tokenNonce)) {
|
|
6351
|
+
throw createClientAuthError(nonceMismatch, request.correlationId);
|
|
6337
6352
|
}
|
|
6338
6353
|
}
|
|
6339
6354
|
// generate homeAccountId
|
|
@@ -6669,7 +6684,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6669
6684
|
return baseAccount;
|
|
6670
6685
|
}
|
|
6671
6686
|
|
|
6672
|
-
/*! @azure/msal-common v16.14.
|
|
6687
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6673
6688
|
/*
|
|
6674
6689
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6675
6690
|
* Licensed under the MIT License.
|
|
@@ -6679,7 +6694,7 @@ const CcsCredentialType = {
|
|
|
6679
6694
|
UPN: "UPN",
|
|
6680
6695
|
};
|
|
6681
6696
|
|
|
6682
|
-
/*! @azure/msal-common v16.14.
|
|
6697
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6683
6698
|
/*
|
|
6684
6699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6685
6700
|
* Licensed under the MIT License.
|
|
@@ -6698,7 +6713,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
|
|
|
6698
6713
|
}
|
|
6699
6714
|
}
|
|
6700
6715
|
|
|
6701
|
-
/*! @azure/msal-common v16.14.
|
|
6716
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6702
6717
|
|
|
6703
6718
|
/*
|
|
6704
6719
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6722,7 +6737,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6722
6737
|
};
|
|
6723
6738
|
}
|
|
6724
6739
|
|
|
6725
|
-
/*! @azure/msal-common v16.14.
|
|
6740
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6726
6741
|
|
|
6727
6742
|
/*
|
|
6728
6743
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6808,7 +6823,7 @@ class ThrottlingUtils {
|
|
|
6808
6823
|
}
|
|
6809
6824
|
}
|
|
6810
6825
|
|
|
6811
|
-
/*! @azure/msal-common v16.14.
|
|
6826
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6812
6827
|
|
|
6813
6828
|
/*
|
|
6814
6829
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6839,7 +6854,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
6839
6854
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6840
6855
|
}
|
|
6841
6856
|
|
|
6842
|
-
/*! @azure/msal-common v16.14.
|
|
6857
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6843
6858
|
|
|
6844
6859
|
/*
|
|
6845
6860
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6972,7 +6987,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
6972
6987
|
return response;
|
|
6973
6988
|
}
|
|
6974
6989
|
|
|
6975
|
-
/*! @azure/msal-common v16.14.
|
|
6990
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
6976
6991
|
|
|
6977
6992
|
/*
|
|
6978
6993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7236,7 +7251,7 @@ class AuthorizationCodeClient {
|
|
|
7236
7251
|
}
|
|
7237
7252
|
}
|
|
7238
7253
|
|
|
7239
|
-
/*! @azure/msal-common v16.14.
|
|
7254
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
7240
7255
|
|
|
7241
7256
|
/*
|
|
7242
7257
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7387,7 +7402,7 @@ function extractLoginHint(account) {
|
|
|
7387
7402
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7388
7403
|
}
|
|
7389
7404
|
|
|
7390
|
-
/*! @azure/msal-common v16.14.
|
|
7405
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
7391
7406
|
|
|
7392
7407
|
/*
|
|
7393
7408
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7621,7 +7636,7 @@ class RefreshTokenClient {
|
|
|
7621
7636
|
}
|
|
7622
7637
|
}
|
|
7623
7638
|
|
|
7624
|
-
/*! @azure/msal-common v16.14.
|
|
7639
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
7625
7640
|
|
|
7626
7641
|
/*
|
|
7627
7642
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7887,7 +7902,7 @@ class ServerTelemetryManager {
|
|
|
7887
7902
|
}
|
|
7888
7903
|
}
|
|
7889
7904
|
|
|
7890
|
-
/*! @azure/msal-common v16.14.
|
|
7905
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
7891
7906
|
|
|
7892
7907
|
/*
|
|
7893
7908
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8014,7 +8029,7 @@ class SilentFlowClient {
|
|
|
8014
8029
|
}
|
|
8015
8030
|
}
|
|
8016
8031
|
|
|
8017
|
-
/*! @azure/msal-common v16.14.
|
|
8032
|
+
/*! @azure/msal-common v16.14.1 2026-09-15 */
|
|
8018
8033
|
|
|
8019
8034
|
/*
|
|
8020
8035
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10044,7 +10059,7 @@ class ClientAssertion {
|
|
|
10044
10059
|
|
|
10045
10060
|
/* eslint-disable header/header */
|
|
10046
10061
|
const name = "@azure/msal-node";
|
|
10047
|
-
const version = "6.0.
|
|
10062
|
+
const version = "6.0.1";
|
|
10048
10063
|
|
|
10049
10064
|
/*
|
|
10050
10065
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10300,13 +10315,14 @@ class ClientApplication {
|
|
|
10300
10315
|
state: "",
|
|
10301
10316
|
};
|
|
10302
10317
|
}
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10318
|
+
const expectedNonce = request.nonce !== undefined
|
|
10319
|
+
? request.nonce
|
|
10320
|
+
: validatedAuthCodePayload?.nonce;
|
|
10321
|
+
validatedAuthCodePayload = {
|
|
10322
|
+
...validatedAuthCodePayload,
|
|
10323
|
+
code: request.code,
|
|
10324
|
+
nonce: expectedNonce,
|
|
10325
|
+
};
|
|
10310
10326
|
const validRequest = {
|
|
10311
10327
|
...request,
|
|
10312
10328
|
...(await this.initializeBaseRequest(request)),
|