@azure/msal-node 7.0.1 → 7.1.0

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.
Files changed (64) hide show
  1. package/dist/cache/CacheHelpers.mjs +1 -1
  2. package/dist/cache/NodeStorage.mjs +1 -1
  3. package/dist/cache/TokenCache.mjs +1 -1
  4. package/dist/cache/distributed/DistributedCachePlugin.mjs +1 -1
  5. package/dist/cache/serializer/Deserializer.mjs +1 -1
  6. package/dist/cache/serializer/Serializer.mjs +1 -1
  7. package/dist/client/BaseClient.mjs +1 -1
  8. package/dist/client/ClientApplication.mjs +1 -1
  9. package/dist/client/ClientAssertion.mjs +1 -1
  10. package/dist/client/ClientCredentialClient.mjs +1 -1
  11. package/dist/client/ConfidentialClientApplication.mjs +29 -1
  12. package/dist/client/ConfidentialClientApplication.mjs.map +1 -1
  13. package/dist/client/DeviceCodeClient.mjs +1 -1
  14. package/dist/client/ManagedIdentityApplication.mjs +1 -1
  15. package/dist/client/ManagedIdentityClient.mjs +1 -1
  16. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  17. package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
  18. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
  19. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  20. package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
  21. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
  22. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  23. package/dist/client/OnBehalfOfClient.mjs +1 -1
  24. package/dist/client/PublicClientApplication.mjs +1 -1
  25. package/dist/client/SilentRequestCoalescer.mjs +1 -1
  26. package/dist/client/UserFederatedIdentityCredentialClient.mjs +1 -1
  27. package/dist/client/UsernamePasswordClient.mjs +1 -1
  28. package/dist/config/Configuration.mjs +1 -1
  29. package/dist/config/ManagedIdentityId.mjs +1 -1
  30. package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
  31. package/dist/crypto/CryptoProvider.mjs +1 -1
  32. package/dist/crypto/GuidGenerator.mjs +1 -1
  33. package/dist/crypto/HashUtils.mjs +1 -1
  34. package/dist/crypto/PkceGenerator.mjs +1 -1
  35. package/dist/error/ClientAuthErrorCodes.mjs +1 -1
  36. package/dist/error/ManagedIdentityError.mjs +1 -1
  37. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  38. package/dist/error/NodeAuthError.mjs +11 -1
  39. package/dist/error/NodeAuthError.mjs.map +1 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/internals.mjs +1 -1
  42. package/dist/network/HttpClient.mjs +1 -1
  43. package/dist/network/HttpClientWithRetries.mjs +1 -1
  44. package/dist/network/LoopbackClient.mjs +1 -1
  45. package/dist/packageMetadata.mjs +2 -2
  46. package/dist/protocol/Authorize.mjs +1 -1
  47. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
  48. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  49. package/dist/retry/ImdsRetryPolicy.mjs +1 -1
  50. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  51. package/dist/utils/Constants.mjs +1 -1
  52. package/dist/utils/EncodingUtils.mjs +1 -1
  53. package/dist/utils/TimeUtils.mjs +1 -1
  54. package/lib/msal-node.cjs +105 -68
  55. package/lib/msal-node.cjs.map +1 -1
  56. package/package.json +1 -1
  57. package/src/client/ConfidentialClientApplication.ts +50 -0
  58. package/src/error/NodeAuthError.ts +17 -0
  59. package/src/packageMetadata.ts +1 -1
  60. package/types/client/ConfidentialClientApplication.d.ts +11 -1
  61. package/types/client/ConfidentialClientApplication.d.ts.map +1 -1
  62. package/types/error/NodeAuthError.d.ts +8 -0
  63. package/types/error/NodeAuthError.d.ts.map +1 -1
  64. package/types/packageMetadata.d.ts +1 -1
package/lib/msal-node.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v7.0.1 2026-10-02 */
1
+ /*! @azure/msal-node v7.1.0 2026-10-13 */
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.2 2026-10-02 */
154
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
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.2 2026-10-02 */
212
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
213
213
  /*
214
214
  * Copyright (c) Microsoft Corporation. All rights reserved.
215
215
  * Licensed under the MIT License.
@@ -467,7 +467,7 @@ const EncodingTypes = {
467
467
  UTF8: "utf-8",
468
468
  };
469
469
 
470
- /*! @azure/msal-common v16.14.2 2026-10-02 */
470
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
471
471
  /*
472
472
  * Copyright (c) Microsoft Corporation. All rights reserved.
473
473
  * Licensed under the MIT License.
@@ -496,7 +496,7 @@ function createAuthError(code, correlationId, additionalMessage) {
496
496
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage(code));
497
497
  }
498
498
 
499
- /*! @azure/msal-common v16.14.2 2026-10-02 */
499
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
500
500
 
501
501
  /*
502
502
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -519,7 +519,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
519
519
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
520
520
  }
521
521
 
522
- /*! @azure/msal-common v16.14.2 2026-10-02 */
522
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
523
523
  /*
524
524
  * Copyright (c) Microsoft Corporation. All rights reserved.
525
525
  * Licensed under the MIT License.
@@ -605,7 +605,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
605
605
  userCanceled: userCanceled
606
606
  });
607
607
 
608
- /*! @azure/msal-common v16.14.2 2026-10-02 */
608
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
609
609
 
610
610
  /*
611
611
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -643,7 +643,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
643
643
  };
644
644
  }
645
645
 
646
- /*! @azure/msal-common v16.14.2 2026-10-02 */
646
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
647
647
 
648
648
  /*
649
649
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -709,7 +709,7 @@ function getJWSPayload(authToken, correlationId) {
709
709
  return matches[2];
710
710
  }
711
711
 
712
- /*! @azure/msal-common v16.14.2 2026-10-02 */
712
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
713
713
 
714
714
  /*
715
715
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -797,7 +797,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
797
797
  return updatedAccountInfo;
798
798
  }
799
799
 
800
- /*! @azure/msal-common v16.14.2 2026-10-02 */
800
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
801
801
  /*
802
802
  * Copyright (c) Microsoft Corporation. All rights reserved.
803
803
  * Licensed under the MIT License.
@@ -811,7 +811,7 @@ const AuthorityType = {
811
811
  Ciam: 3,
812
812
  };
813
813
 
814
- /*! @azure/msal-common v16.14.2 2026-10-02 */
814
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
815
815
  /*
816
816
  * Copyright (c) Microsoft Corporation. All rights reserved.
817
817
  * Licensed under the MIT License.
@@ -833,7 +833,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
833
833
  return null;
834
834
  }
835
835
 
836
- /*! @azure/msal-common v16.14.2 2026-10-02 */
836
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
837
837
  /*
838
838
  * Copyright (c) Microsoft Corporation. All rights reserved.
839
839
  * Licensed under the MIT License.
@@ -857,7 +857,7 @@ const ProtocolMode = {
857
857
  EAR: "EAR",
858
858
  };
859
859
 
860
- /*! @azure/msal-common v16.14.2 2026-10-02 */
860
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
861
861
  /**
862
862
  * Returns the AccountInfo interface for this account.
863
863
  * @internal
@@ -1006,7 +1006,7 @@ function isAccountEntity(entity) {
1006
1006
  entity.hasOwnProperty("authorityType"));
1007
1007
  }
1008
1008
 
1009
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1009
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1010
1010
  /*
1011
1011
  * Copyright (c) Microsoft Corporation. All rights reserved.
1012
1012
  * Licensed under the MIT License.
@@ -1023,7 +1023,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
1023
1023
  unexpectedError: unexpectedError
1024
1024
  });
1025
1025
 
1026
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1026
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1027
1027
 
1028
1028
  /*
1029
1029
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1043,7 +1043,7 @@ function createClientConfigurationError(errorCode, correlationId) {
1043
1043
  return new ClientConfigurationError(errorCode, correlationId);
1044
1044
  }
1045
1045
 
1046
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1046
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1047
1047
  /*
1048
1048
  * Copyright (c) Microsoft Corporation. All rights reserved.
1049
1049
  * Licensed under the MIT License.
@@ -1113,7 +1113,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1113
1113
  urlParseError: urlParseError
1114
1114
  });
1115
1115
 
1116
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1116
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1117
1117
  /*
1118
1118
  * Copyright (c) Microsoft Corporation. All rights reserved.
1119
1119
  * Licensed under the MIT License.
@@ -1125,7 +1125,7 @@ function isOpenIdConfigResponse(response) {
1125
1125
  response.hasOwnProperty("jwks_uri"));
1126
1126
  }
1127
1127
 
1128
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1128
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1129
1129
  /*
1130
1130
  * Copyright (c) Microsoft Corporation. All rights reserved.
1131
1131
  * Licensed under the MIT License.
@@ -1205,7 +1205,7 @@ class StringUtils {
1205
1205
  }
1206
1206
  }
1207
1207
 
1208
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1208
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1209
1209
 
1210
1210
  /*
1211
1211
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1363,7 +1363,7 @@ class UrlString {
1363
1363
  }
1364
1364
  }
1365
1365
 
1366
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1366
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1367
1367
 
1368
1368
  /*
1369
1369
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1517,7 +1517,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1517
1517
  return null;
1518
1518
  }
1519
1519
 
1520
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1520
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1521
1521
  /*
1522
1522
  * Copyright (c) Microsoft Corporation. All rights reserved.
1523
1523
  * Licensed under the MIT License.
@@ -1535,7 +1535,7 @@ const AzureCloudInstance = {
1535
1535
  AzureUsGovernment: "https://login.microsoftonline.us",
1536
1536
  };
1537
1537
 
1538
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1538
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1539
1539
  /*
1540
1540
  * Copyright (c) Microsoft Corporation. All rights reserved.
1541
1541
  * Licensed under the MIT License.
@@ -1545,7 +1545,7 @@ function isCloudInstanceDiscoveryResponse(response) {
1545
1545
  response.hasOwnProperty("metadata"));
1546
1546
  }
1547
1547
 
1548
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1548
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1549
1549
  /*
1550
1550
  * Copyright (c) Microsoft Corporation. All rights reserved.
1551
1551
  * Licensed under the MIT License.
@@ -1555,7 +1555,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
1555
1555
  response.hasOwnProperty("error_description"));
1556
1556
  }
1557
1557
 
1558
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1558
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1559
1559
  /*
1560
1560
  * Copyright (c) Microsoft Corporation. All rights reserved.
1561
1561
  * Licensed under the MIT License.
@@ -1617,7 +1617,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
1617
1617
  */
1618
1618
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1619
1619
 
1620
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1620
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1621
1621
  /*
1622
1622
  * Copyright (c) Microsoft Corporation. All rights reserved.
1623
1623
  * Licensed under the MIT License.
@@ -1710,7 +1710,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
1710
1710
  };
1711
1711
  };
1712
1712
 
1713
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1713
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1714
1714
 
1715
1715
  /*
1716
1716
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1821,7 +1821,7 @@ RegionDiscovery.IMDS_OPTIONS = {
1821
1821
  },
1822
1822
  };
1823
1823
 
1824
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1824
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1825
1825
  /*
1826
1826
  * Copyright (c) Microsoft Corporation. All rights reserved.
1827
1827
  * Licensed under the MIT License.
@@ -1876,7 +1876,7 @@ function delay(t, value) {
1876
1876
  return new Promise((resolve) => setTimeout(() => resolve(value), t));
1877
1877
  }
1878
1878
 
1879
- /*! @azure/msal-common v16.14.2 2026-10-02 */
1879
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
1880
1880
 
1881
1881
  /*
1882
1882
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2163,7 +2163,7 @@ function serializeAttributeTokens(attributeTokens) {
2163
2163
  return [...attributeTokens].sort().join(" ");
2164
2164
  }
2165
2165
 
2166
- /*! @azure/msal-common v16.14.2 2026-10-02 */
2166
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
2167
2167
 
2168
2168
  /*
2169
2169
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3131,7 +3131,7 @@ function buildStaticAuthorityOptions(authOptions) {
3131
3131
  };
3132
3132
  }
3133
3133
 
3134
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3134
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3135
3135
 
3136
3136
  /*
3137
3137
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3165,7 +3165,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
3165
3165
  }
3166
3166
  }
3167
3167
 
3168
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3168
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3169
3169
 
3170
3170
  /*
3171
3171
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3361,7 +3361,7 @@ class ScopeSet {
3361
3361
  }
3362
3362
  }
3363
3363
 
3364
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3364
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3365
3365
 
3366
3366
  /*
3367
3367
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3865,7 +3865,7 @@ function addAttributeTokens(parameters, attributeTokens) {
3865
3865
  }
3866
3866
  }
3867
3867
 
3868
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3868
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3869
3869
 
3870
3870
  /*
3871
3871
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3923,7 +3923,7 @@ function mapToQueryString(parameters) {
3923
3923
  return queryParameterArray.join("&");
3924
3924
  }
3925
3925
 
3926
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3926
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3927
3927
 
3928
3928
  /*
3929
3929
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3971,7 +3971,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
3971
3971
  },
3972
3972
  };
3973
3973
 
3974
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3974
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3975
3975
 
3976
3976
  /*
3977
3977
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3994,7 +3994,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
3994
3994
  },
3995
3995
  };
3996
3996
 
3997
- /*! @azure/msal-common v16.14.2 2026-10-02 */
3997
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
3998
3998
  /*
3999
3999
  * Copyright (c) Microsoft Corporation. All rights reserved.
4000
4000
  * Licensed under the MIT License.
@@ -4269,12 +4269,12 @@ class Logger {
4269
4269
  }
4270
4270
  }
4271
4271
 
4272
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4272
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
4273
4273
  /* eslint-disable header/header */
4274
4274
  const name$1 = "@azure/msal-common";
4275
4275
  const version$1 = "16.14.2";
4276
4276
 
4277
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4277
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
4278
4278
  /*
4279
4279
  * Copyright (c) Microsoft Corporation. All rights reserved.
4280
4280
  * Licensed under the MIT License.
@@ -4282,7 +4282,7 @@ const version$1 = "16.14.2";
4282
4282
  const cacheQuotaExceeded = "cache_quota_exceeded";
4283
4283
  const cacheErrorUnknown = "cache_error_unknown";
4284
4284
 
4285
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4285
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
4286
4286
 
4287
4287
  /*
4288
4288
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4320,7 +4320,7 @@ function createCacheError(e) {
4320
4320
  }
4321
4321
  }
4322
4322
 
4323
- /*! @azure/msal-common v16.14.2 2026-10-02 */
4323
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
4324
4324
 
4325
4325
  /*
4326
4326
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5507,7 +5507,7 @@ class DefaultStorageClass extends CacheManager {
5507
5507
  }
5508
5508
  }
5509
5509
 
5510
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5510
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5511
5511
  /*
5512
5512
  * Copyright (c) Microsoft Corporation. All rights reserved.
5513
5513
  * Licensed under the MIT License.
@@ -5521,7 +5521,7 @@ class DefaultStorageClass extends CacheManager {
5521
5521
  const PerformanceEventStatus = {
5522
5522
  InProgress: 1};
5523
5523
 
5524
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5524
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5525
5525
 
5526
5526
  /*
5527
5527
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5579,7 +5579,7 @@ class StubPerformanceClient {
5579
5579
  }
5580
5580
  }
5581
5581
 
5582
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5582
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5583
5583
 
5584
5584
  /*
5585
5585
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5677,7 +5677,7 @@ function isOidcProtocolMode(config) {
5677
5677
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5678
5678
  }
5679
5679
 
5680
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5680
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5681
5681
  /*
5682
5682
  * Copyright (c) Microsoft Corporation. All rights reserved.
5683
5683
  * Licensed under the MIT License.
@@ -5704,7 +5704,7 @@ function isOidcProtocolMode(config) {
5704
5704
  }
5705
5705
  }
5706
5706
 
5707
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5707
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5708
5708
 
5709
5709
  /*
5710
5710
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5725,7 +5725,7 @@ function createJoseHeaderError(code, correlationId) {
5725
5725
  return new JoseHeaderError(code, correlationId);
5726
5726
  }
5727
5727
 
5728
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5728
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5729
5729
  /*
5730
5730
  * Copyright (c) Microsoft Corporation. All rights reserved.
5731
5731
  * Licensed under the MIT License.
@@ -5750,7 +5750,7 @@ function isPlainObject(value) {
5750
5750
  return Object.getPrototypeOf(value) === proto;
5751
5751
  }
5752
5752
 
5753
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5753
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5754
5754
  /*
5755
5755
  * Copyright (c) Microsoft Corporation. All rights reserved.
5756
5756
  * Licensed under the MIT License.
@@ -5760,7 +5760,7 @@ const missingAlgError = "missing_alg_error";
5760
5760
  const missingJwkError = "missing_jwk_error";
5761
5761
  const invalidJwkError = "invalid_jwk_error";
5762
5762
 
5763
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5763
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5764
5764
 
5765
5765
  /*
5766
5766
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5826,7 +5826,7 @@ class JoseHeader {
5826
5826
  }
5827
5827
  }
5828
5828
 
5829
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5829
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5830
5830
 
5831
5831
  /*
5832
5832
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5927,7 +5927,7 @@ class PopTokenGenerator {
5927
5927
  }
5928
5928
  }
5929
5929
 
5930
- /*! @azure/msal-common v16.14.2 2026-10-02 */
5930
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
5931
5931
 
5932
5932
  /*
5933
5933
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6072,7 +6072,7 @@ class DpopProofGenerator {
6072
6072
  }
6073
6073
  }
6074
6074
 
6075
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6075
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6076
6076
  /*
6077
6077
  * Copyright (c) Microsoft Corporation. All rights reserved.
6078
6078
  * Licensed under the MIT License.
@@ -6136,7 +6136,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6136
6136
  uiNotAllowed: uiNotAllowed
6137
6137
  });
6138
6138
 
6139
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6139
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6140
6140
 
6141
6141
  /*
6142
6142
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6203,7 +6203,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
6203
6203
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
6204
6204
  }
6205
6205
 
6206
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6206
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6207
6207
 
6208
6208
  /*
6209
6209
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6222,7 +6222,7 @@ class ServerError extends AuthError {
6222
6222
  }
6223
6223
  }
6224
6224
 
6225
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6225
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6226
6226
  /**
6227
6227
  * Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
6228
6228
  * @param base64Decode
@@ -6255,7 +6255,7 @@ function parseRequestState(base64Decode, state, correlationId) {
6255
6255
  }
6256
6256
  }
6257
6257
 
6258
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6258
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6259
6259
 
6260
6260
  /*
6261
6261
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6683,7 +6683,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6683
6683
  return baseAccount;
6684
6684
  }
6685
6685
 
6686
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6686
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6687
6687
  /*
6688
6688
  * Copyright (c) Microsoft Corporation. All rights reserved.
6689
6689
  * Licensed under the MIT License.
@@ -6693,7 +6693,7 @@ const CcsCredentialType = {
6693
6693
  UPN: "UPN",
6694
6694
  };
6695
6695
 
6696
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6696
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6697
6697
  /*
6698
6698
  * Copyright (c) Microsoft Corporation. All rights reserved.
6699
6699
  * Licensed under the MIT License.
@@ -6712,7 +6712,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
6712
6712
  }
6713
6713
  }
6714
6714
 
6715
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6715
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6716
6716
 
6717
6717
  /*
6718
6718
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6736,7 +6736,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6736
6736
  };
6737
6737
  }
6738
6738
 
6739
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6739
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6740
6740
 
6741
6741
  /*
6742
6742
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6822,7 +6822,7 @@ class ThrottlingUtils {
6822
6822
  }
6823
6823
  }
6824
6824
 
6825
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6825
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6826
6826
 
6827
6827
  /*
6828
6828
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6853,7 +6853,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6853
6853
  return new NetworkError(error, httpStatus, responseHeaders);
6854
6854
  }
6855
6855
 
6856
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6856
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6857
6857
 
6858
6858
  /*
6859
6859
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6986,7 +6986,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
6986
6986
  return response;
6987
6987
  }
6988
6988
 
6989
- /*! @azure/msal-common v16.14.2 2026-10-02 */
6989
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
6990
6990
 
6991
6991
  /*
6992
6992
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7250,7 +7250,7 @@ class AuthorizationCodeClient {
7250
7250
  }
7251
7251
  }
7252
7252
 
7253
- /*! @azure/msal-common v16.14.2 2026-10-02 */
7253
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
7254
7254
 
7255
7255
  /*
7256
7256
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7401,7 +7401,7 @@ function extractLoginHint(account) {
7401
7401
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7402
7402
  }
7403
7403
 
7404
- /*! @azure/msal-common v16.14.2 2026-10-02 */
7404
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
7405
7405
 
7406
7406
  /*
7407
7407
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7636,7 +7636,7 @@ class RefreshTokenClient {
7636
7636
  }
7637
7637
  }
7638
7638
 
7639
- /*! @azure/msal-common v16.14.2 2026-10-02 */
7639
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
7640
7640
 
7641
7641
  /*
7642
7642
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7902,7 +7902,7 @@ class ServerTelemetryManager {
7902
7902
  }
7903
7903
  }
7904
7904
 
7905
- /*! @azure/msal-common v16.14.2 2026-10-02 */
7905
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
7906
7906
 
7907
7907
  /*
7908
7908
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8029,7 +8029,7 @@ class SilentFlowClient {
8029
8029
  }
8030
8030
  }
8031
8031
 
8032
- /*! @azure/msal-common v16.14.2 2026-10-02 */
8032
+ /*! @azure/msal-common v16.14.2 2026-10-13 */
8033
8033
 
8034
8034
  /*
8035
8035
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8728,6 +8728,10 @@ const NodeAuthErrorMessage = {
8728
8728
  code: "redirect_uri_not_supported",
8729
8729
  desc: "RedirectUri is not supported in this scenario. Please remove redirectUri from the request.",
8730
8730
  },
8731
+ unsupportedCcaInstanceAware: {
8732
+ code: "unsupported_cca_instance_aware",
8733
+ desc: "Instance-aware configuration is not supported by ConfidentialClientApplication.",
8734
+ },
8731
8735
  };
8732
8736
  class NodeAuthError extends AuthError {
8733
8737
  constructor(errorCode, correlationId, errorMessage) {
@@ -8794,6 +8798,12 @@ class NodeAuthError extends AuthError {
8794
8798
  static createRedirectUriNotSupportedError(correlationId = "") {
8795
8799
  return new NodeAuthError(NodeAuthErrorMessage.redirectUriNotSupported.code, correlationId, NodeAuthErrorMessage.redirectUriNotSupported.desc);
8796
8800
  }
8801
+ /**
8802
+ * Creates an error thrown when instance-aware behavior is requested for a confidential client.
8803
+ */
8804
+ static createUnsupportedCcaInstanceAwareError(correlationId = "") {
8805
+ return new NodeAuthError(NodeAuthErrorMessage.unsupportedCcaInstanceAware.code, correlationId, NodeAuthErrorMessage.unsupportedCcaInstanceAware.desc);
8806
+ }
8797
8807
  }
8798
8808
 
8799
8809
  /*
@@ -10069,7 +10079,7 @@ class ClientAssertion {
10069
10079
 
10070
10080
  /* eslint-disable header/header */
10071
10081
  const name = "@azure/msal-node";
10072
- const version = "7.0.1";
10082
+ const version = "7.1.0";
10073
10083
 
10074
10084
  /*
10075
10085
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12036,6 +12046,10 @@ class ConfidentialClientApplication extends ClientApplication {
12036
12046
  * @param Configuration - configuration object for the MSAL ConfidentialClientApplication instance
12037
12047
  */
12038
12048
  constructor(configuration) {
12049
+ if ("instanceAware" in configuration.auth &&
12050
+ configuration.auth.instanceAware === true) {
12051
+ throw NodeAuthError.createUnsupportedCcaInstanceAwareError();
12052
+ }
12039
12053
  super(configuration);
12040
12054
  const clientSecretNotEmpty = !!this.config.auth.clientSecret;
12041
12055
  const clientAssertionNotEmpty = !!this.config.auth.clientAssertion;
@@ -12077,6 +12091,29 @@ class ConfidentialClientApplication extends ClientApplication {
12077
12091
  }
12078
12092
  this.appTokenProvider = undefined;
12079
12093
  }
12094
+ /**
12095
+ * Creates the URL of the authorization request.
12096
+ */
12097
+ async getAuthCodeUrl(request) {
12098
+ if (request.extraQueryParameters &&
12099
+ Object.prototype.hasOwnProperty.call(request.extraQueryParameters, "instance_aware")) {
12100
+ throw NodeAuthError.createUnsupportedCcaInstanceAwareError(request.correlationId);
12101
+ }
12102
+ return super.getAuthCodeUrl(request);
12103
+ }
12104
+ /**
12105
+ * Acquires a token by exchanging an authorization code.
12106
+ */
12107
+ async acquireTokenByCode(request, authCodePayload) {
12108
+ const sanitizedAuthCodePayload = authCodePayload
12109
+ ? {
12110
+ code: request.code,
12111
+ state: authCodePayload.state,
12112
+ nonce: request.nonce,
12113
+ }
12114
+ : undefined;
12115
+ return super.acquireTokenByCode(request, sanitizedAuthCodePayload);
12116
+ }
12080
12117
  /**
12081
12118
  * This extensibility point only works for the client_credential flow, i.e. acquireTokenByClientCredential and
12082
12119
  * is meant for Azure SDK to enhance Managed Identity support.