@azure/msal-node 3.8.5 → 3.8.7

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 (54) 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/ClientApplication.mjs +1 -1
  8. package/dist/client/ClientAssertion.mjs +1 -1
  9. package/dist/client/ClientCredentialClient.mjs +1 -1
  10. package/dist/client/ConfidentialClientApplication.mjs +1 -1
  11. package/dist/client/DeviceCodeClient.mjs +1 -1
  12. package/dist/client/ManagedIdentityApplication.mjs +1 -1
  13. package/dist/client/ManagedIdentityClient.mjs +1 -1
  14. package/dist/client/ManagedIdentitySources/AppService.mjs +1 -1
  15. package/dist/client/ManagedIdentitySources/AzureArc.mjs +1 -1
  16. package/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs +1 -1
  17. package/dist/client/ManagedIdentitySources/CloudShell.mjs +1 -1
  18. package/dist/client/ManagedIdentitySources/Imds.mjs +1 -1
  19. package/dist/client/ManagedIdentitySources/MachineLearning.mjs +1 -1
  20. package/dist/client/ManagedIdentitySources/ServiceFabric.mjs +1 -1
  21. package/dist/client/OnBehalfOfClient.mjs +1 -1
  22. package/dist/client/PublicClientApplication.mjs +1 -1
  23. package/dist/client/UsernamePasswordClient.mjs +1 -1
  24. package/dist/config/Configuration.mjs +1 -1
  25. package/dist/config/ManagedIdentityId.mjs +1 -1
  26. package/dist/config/ManagedIdentityRequestParameters.mjs +1 -1
  27. package/dist/crypto/CryptoProvider.mjs +1 -1
  28. package/dist/crypto/GuidGenerator.mjs +1 -1
  29. package/dist/crypto/HashUtils.mjs +1 -1
  30. package/dist/crypto/PkceGenerator.mjs +1 -1
  31. package/dist/error/ManagedIdentityError.mjs +1 -1
  32. package/dist/error/ManagedIdentityErrorCodes.mjs +1 -1
  33. package/dist/error/NodeAuthError.mjs +1 -1
  34. package/dist/index.mjs +1 -1
  35. package/dist/internals.mjs +1 -1
  36. package/dist/network/HttpClient.mjs +1 -1
  37. package/dist/network/HttpClientWithRetries.mjs +1 -1
  38. package/dist/network/LoopbackClient.mjs +1 -1
  39. package/dist/packageMetadata.d.ts +1 -1
  40. package/dist/packageMetadata.mjs +2 -2
  41. package/dist/protocol/Authorize.mjs +1 -1
  42. package/dist/retry/DefaultManagedIdentityRetryPolicy.mjs +1 -1
  43. package/dist/retry/ExponentialRetryStrategy.mjs +1 -1
  44. package/dist/retry/ImdsRetryPolicy.mjs +1 -1
  45. package/dist/retry/LinearRetryStrategy.mjs +1 -1
  46. package/dist/utils/Constants.mjs +1 -1
  47. package/dist/utils/EncodingUtils.mjs +1 -1
  48. package/dist/utils/NetworkUtils.mjs +1 -1
  49. package/dist/utils/TimeUtils.mjs +1 -1
  50. package/lib/msal-node.cjs +121 -66
  51. package/lib/msal-node.cjs.map +1 -1
  52. package/lib/types/packageMetadata.d.ts +1 -1
  53. package/package.json +2 -2
  54. package/src/packageMetadata.ts +1 -1
package/lib/msal-node.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node v3.8.5 2026-01-13 */
1
+ /*! @azure/msal-node v3.8.7 2026-02-10 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
@@ -153,7 +153,7 @@ class Serializer {
153
153
  }
154
154
  }
155
155
 
156
- /*! @azure/msal-common v15.14.0 2026-01-13 */
156
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
157
157
  /*
158
158
  * Copyright (c) Microsoft Corporation. All rights reserved.
159
159
  * Licensed under the MIT License.
@@ -433,7 +433,7 @@ const EncodingTypes = {
433
433
  UTF8: "utf-8",
434
434
  };
435
435
 
436
- /*! @azure/msal-common v15.14.0 2026-01-13 */
436
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
437
437
  /*
438
438
  * Copyright (c) Microsoft Corporation. All rights reserved.
439
439
  * Licensed under the MIT License.
@@ -450,7 +450,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
450
450
  unexpectedError: unexpectedError
451
451
  });
452
452
 
453
- /*! @azure/msal-common v15.14.0 2026-01-13 */
453
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
454
454
 
455
455
  /*
456
456
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -499,7 +499,7 @@ function createAuthError(code, additionalMessage) {
499
499
  : AuthErrorMessages[code]);
500
500
  }
501
501
 
502
- /*! @azure/msal-common v15.14.0 2026-01-13 */
502
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
503
503
  /*
504
504
  * Copyright (c) Microsoft Corporation. All rights reserved.
505
505
  * Licensed under the MIT License.
@@ -599,7 +599,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
599
599
  userTimeoutReached: userTimeoutReached
600
600
  });
601
601
 
602
- /*! @azure/msal-common v15.14.0 2026-01-13 */
602
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
603
603
 
604
604
  /*
605
605
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -856,7 +856,7 @@ function createClientAuthError(errorCode, additionalMessage) {
856
856
  return new ClientAuthError(errorCode, additionalMessage);
857
857
  }
858
858
 
859
- /*! @azure/msal-common v15.14.0 2026-01-13 */
859
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
860
860
 
861
861
  /*
862
862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -895,7 +895,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
895
895
  },
896
896
  };
897
897
 
898
- /*! @azure/msal-common v15.14.0 2026-01-13 */
898
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
899
899
 
900
900
  /*
901
901
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1086,12 +1086,12 @@ class Logger {
1086
1086
  }
1087
1087
  }
1088
1088
 
1089
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1089
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1090
1090
  /* eslint-disable header/header */
1091
1091
  const name$1 = "@azure/msal-common";
1092
- const version$1 = "15.14.0";
1092
+ const version$1 = "15.14.2";
1093
1093
 
1094
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1094
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1095
1095
  /*
1096
1096
  * Copyright (c) Microsoft Corporation. All rights reserved.
1097
1097
  * Licensed under the MIT License.
@@ -1111,7 +1111,7 @@ const AzureCloudInstance = {
1111
1111
  AzureUsGovernment: "https://login.microsoftonline.us",
1112
1112
  };
1113
1113
 
1114
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1114
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1115
1115
  /*
1116
1116
  * Copyright (c) Microsoft Corporation. All rights reserved.
1117
1117
  * Licensed under the MIT License.
@@ -1169,7 +1169,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1169
1169
  urlParseError: urlParseError
1170
1170
  });
1171
1171
 
1172
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1172
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1173
1173
 
1174
1174
  /*
1175
1175
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1317,7 +1317,7 @@ function createClientConfigurationError(errorCode) {
1317
1317
  return new ClientConfigurationError(errorCode);
1318
1318
  }
1319
1319
 
1320
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1320
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1321
1321
  /*
1322
1322
  * Copyright (c) Microsoft Corporation. All rights reserved.
1323
1323
  * Licensed under the MIT License.
@@ -1414,7 +1414,7 @@ class StringUtils {
1414
1414
  }
1415
1415
  }
1416
1416
 
1417
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1417
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1418
1418
 
1419
1419
  /*
1420
1420
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1609,7 +1609,7 @@ class ScopeSet {
1609
1609
  }
1610
1610
  }
1611
1611
 
1612
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1612
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1613
1613
 
1614
1614
  /*
1615
1615
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1649,7 +1649,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1649
1649
  };
1650
1650
  }
1651
1651
 
1652
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1652
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1653
1653
  /*
1654
1654
  * Copyright (c) Microsoft Corporation. All rights reserved.
1655
1655
  * Licensed under the MIT License.
@@ -1731,7 +1731,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1731
1731
  return updatedAccountInfo;
1732
1732
  }
1733
1733
 
1734
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1734
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1735
1735
  /*
1736
1736
  * Copyright (c) Microsoft Corporation. All rights reserved.
1737
1737
  * Licensed under the MIT License.
@@ -1746,7 +1746,7 @@ const AuthorityType = {
1746
1746
  Ciam: 3,
1747
1747
  };
1748
1748
 
1749
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1749
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1750
1750
  /*
1751
1751
  * Copyright (c) Microsoft Corporation. All rights reserved.
1752
1752
  * Licensed under the MIT License.
@@ -1768,7 +1768,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1768
1768
  return null;
1769
1769
  }
1770
1770
 
1771
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1771
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1772
1772
  /*
1773
1773
  * Copyright (c) Microsoft Corporation. All rights reserved.
1774
1774
  * Licensed under the MIT License.
@@ -1792,7 +1792,7 @@ const ProtocolMode = {
1792
1792
  EAR: "EAR",
1793
1793
  };
1794
1794
 
1795
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1795
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
1796
1796
 
1797
1797
  /*
1798
1798
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1826,6 +1826,13 @@ class AccountEntity {
1826
1826
  * Returns the AccountInfo interface for this account.
1827
1827
  */
1828
1828
  static getAccountInfo(accountEntity) {
1829
+ const tenantProfiles = accountEntity.tenantProfiles || [];
1830
+ // Ensure at least the home tenant profile exists
1831
+ if (tenantProfiles.length === 0 &&
1832
+ accountEntity.realm &&
1833
+ accountEntity.localAccountId) {
1834
+ tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
1835
+ }
1829
1836
  return {
1830
1837
  homeAccountId: accountEntity.homeAccountId,
1831
1838
  environment: accountEntity.environment,
@@ -1837,7 +1844,7 @@ class AccountEntity {
1837
1844
  nativeAccountId: accountEntity.nativeAccountId,
1838
1845
  authorityType: accountEntity.authorityType,
1839
1846
  // Deserialize tenant profiles array into a Map
1840
- tenantProfiles: new Map((accountEntity.tenantProfiles || []).map((tenantProfile) => {
1847
+ tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
1841
1848
  return [tenantProfile.tenantId, tenantProfile];
1842
1849
  })),
1843
1850
  dataBoundary: accountEntity.dataBoundary,
@@ -1938,7 +1945,14 @@ class AccountEntity {
1938
1945
  account.cloudGraphHostName = cloudGraphHostName;
1939
1946
  account.msGraphHost = msGraphHost;
1940
1947
  // Serialize tenant profiles map into an array
1941
- account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1948
+ const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1949
+ // Ensure at least the home tenant profile exists
1950
+ if (tenantProfiles.length === 0 &&
1951
+ accountInfo.tenantId &&
1952
+ accountInfo.localAccountId) {
1953
+ tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
1954
+ }
1955
+ account.tenantProfiles = tenantProfiles;
1942
1956
  account.dataBoundary = accountInfo.dataBoundary;
1943
1957
  return account;
1944
1958
  }
@@ -2013,7 +2027,7 @@ class AccountEntity {
2013
2027
  }
2014
2028
  }
2015
2029
 
2016
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2030
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2017
2031
 
2018
2032
  /*
2019
2033
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2094,7 +2108,7 @@ function checkMaxAge(authTime, maxAge) {
2094
2108
  }
2095
2109
  }
2096
2110
 
2097
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2111
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2098
2112
  /**
2099
2113
  * Parses hash string from given string. Returns empty string if no hash symbol is found.
2100
2114
  * @param hashString
@@ -2154,7 +2168,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
2154
2168
  return queryParameterArray.join("&");
2155
2169
  }
2156
2170
 
2157
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2171
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2158
2172
 
2159
2173
  /*
2160
2174
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2318,7 +2332,7 @@ class UrlString {
2318
2332
  }
2319
2333
  }
2320
2334
 
2321
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2335
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2322
2336
 
2323
2337
  /*
2324
2338
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2347,6 +2361,27 @@ const rawMetdataJSON = {
2347
2361
  authorization_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",
2348
2362
  end_session_endpoint: "https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout",
2349
2363
  },
2364
+ "login.sovcloud-identity.fr": {
2365
+ token_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/token",
2366
+ jwks_uri: "https://login.sovcloud-identity.fr/{tenantid}/discovery/v2.0/keys",
2367
+ issuer: "https://login.sovcloud-identity.fr/{tenantid}/v2.0",
2368
+ authorization_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/authorize",
2369
+ end_session_endpoint: "https://login.sovcloud-identity.fr/{tenantid}/oauth2/v2.0/logout",
2370
+ },
2371
+ "login.sovcloud-identity.de": {
2372
+ token_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/token",
2373
+ jwks_uri: "https://login.sovcloud-identity.de/{tenantid}/discovery/v2.0/keys",
2374
+ issuer: "https://login.sovcloud-identity.de/{tenantid}/v2.0",
2375
+ authorization_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/authorize",
2376
+ end_session_endpoint: "https://login.sovcloud-identity.de/{tenantid}/oauth2/v2.0/logout",
2377
+ },
2378
+ "login.sovcloud-identity.sg": {
2379
+ token_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/token",
2380
+ jwks_uri: "https://login.sovcloud-identity.sg/common/discovery/v2.0/keys",
2381
+ issuer: "https://login.sovcloud-identity.sg/{tenantid}/v2.0",
2382
+ authorization_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/authorize",
2383
+ end_session_endpoint: "https://login.sovcloud-identity.sg/common/oauth2/v2.0/logout",
2384
+ },
2350
2385
  },
2351
2386
  instanceDiscoveryMetadata: {
2352
2387
  metadata: [
@@ -2386,6 +2421,21 @@ const rawMetdataJSON = {
2386
2421
  preferred_cache: "login-us.microsoftonline.com",
2387
2422
  aliases: ["login-us.microsoftonline.com"],
2388
2423
  },
2424
+ {
2425
+ preferred_network: "login.sovcloud-identity.fr",
2426
+ preferred_cache: "login.sovcloud-identity.fr",
2427
+ aliases: ["login.sovcloud-identity.fr"],
2428
+ },
2429
+ {
2430
+ preferred_network: "login.sovcloud-identity.de",
2431
+ preferred_cache: "login.sovcloud-identity.de",
2432
+ aliases: ["login.sovcloud-identity.de"],
2433
+ },
2434
+ {
2435
+ preferred_network: "login.sovcloud-identity.sg",
2436
+ preferred_cache: "login.sovcloud-identity.sg",
2437
+ aliases: ["login.sovcloud-identity.sg"],
2438
+ },
2389
2439
  ],
2390
2440
  },
2391
2441
  };
@@ -2457,7 +2507,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2457
2507
  return null;
2458
2508
  }
2459
2509
 
2460
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2510
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2461
2511
  /*
2462
2512
  * Copyright (c) Microsoft Corporation. All rights reserved.
2463
2513
  * Licensed under the MIT License.
@@ -2465,7 +2515,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2465
2515
  const cacheQuotaExceeded = "cache_quota_exceeded";
2466
2516
  const cacheErrorUnknown = "cache_error_unknown";
2467
2517
 
2468
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2518
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2469
2519
 
2470
2520
  /*
2471
2521
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2510,7 +2560,7 @@ function createCacheError(e) {
2510
2560
  }
2511
2561
  }
2512
2562
 
2513
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2563
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
2514
2564
 
2515
2565
  /*
2516
2566
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3620,7 +3670,7 @@ class DefaultStorageClass extends CacheManager {
3620
3670
  }
3621
3671
  }
3622
3672
 
3623
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3673
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
3624
3674
  /*
3625
3675
  * Copyright (c) Microsoft Corporation. All rights reserved.
3626
3676
  * Licensed under the MIT License.
@@ -3892,7 +3942,7 @@ const PerformanceEvents = {
3892
3942
  const PerformanceEventStatus = {
3893
3943
  InProgress: 1};
3894
3944
 
3895
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3945
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
3896
3946
 
3897
3947
  /*
3898
3948
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3971,7 +4021,7 @@ class StubPerformanceClient {
3971
4021
  }
3972
4022
  }
3973
4023
 
3974
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4024
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
3975
4025
 
3976
4026
  /*
3977
4027
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4071,7 +4121,7 @@ function isOidcProtocolMode(config) {
4071
4121
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4072
4122
  }
4073
4123
 
4074
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4124
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4075
4125
  /*
4076
4126
  * Copyright (c) Microsoft Corporation. All rights reserved.
4077
4127
  * Licensed under the MIT License.
@@ -4081,7 +4131,7 @@ const CcsCredentialType = {
4081
4131
  UPN: "UPN",
4082
4132
  };
4083
4133
 
4084
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4134
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4085
4135
  /*
4086
4136
  * Copyright (c) Microsoft Corporation. All rights reserved.
4087
4137
  * Licensed under the MIT License.
@@ -4132,7 +4182,7 @@ const BROKER_CLIENT_ID = "brk_client_id";
4132
4182
  const BROKER_REDIRECT_URI = "brk_redirect_uri";
4133
4183
  const INSTANCE_AWARE = "instance_aware";
4134
4184
 
4135
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4185
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4136
4186
 
4137
4187
  /*
4138
4188
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4518,7 +4568,7 @@ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
4518
4568
  }
4519
4569
  }
4520
4570
 
4521
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4571
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4522
4572
  /*
4523
4573
  * Copyright (c) Microsoft Corporation. All rights reserved.
4524
4574
  * Licensed under the MIT License.
@@ -4530,7 +4580,7 @@ function isOpenIdConfigResponse(response) {
4530
4580
  response.hasOwnProperty("jwks_uri"));
4531
4581
  }
4532
4582
 
4533
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4583
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4534
4584
  /*
4535
4585
  * Copyright (c) Microsoft Corporation. All rights reserved.
4536
4586
  * Licensed under the MIT License.
@@ -4540,7 +4590,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4540
4590
  response.hasOwnProperty("metadata"));
4541
4591
  }
4542
4592
 
4543
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4593
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4544
4594
  /*
4545
4595
  * Copyright (c) Microsoft Corporation. All rights reserved.
4546
4596
  * Licensed under the MIT License.
@@ -4550,7 +4600,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4550
4600
  response.hasOwnProperty("error_description"));
4551
4601
  }
4552
4602
 
4553
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4603
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4554
4604
  /*
4555
4605
  * Copyright (c) Microsoft Corporation. All rights reserved.
4556
4606
  * Licensed under the MIT License.
@@ -4646,7 +4696,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4646
4696
  };
4647
4697
  };
4648
4698
 
4649
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4699
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4650
4700
 
4651
4701
  /*
4652
4702
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4752,7 +4802,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4752
4802
  },
4753
4803
  };
4754
4804
 
4755
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4805
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4756
4806
  /*
4757
4807
  * Copyright (c) Microsoft Corporation. All rights reserved.
4758
4808
  * Licensed under the MIT License.
@@ -4807,7 +4857,7 @@ function delay(t, value) {
4807
4857
  return new Promise((resolve) => setTimeout(() => resolve(value), t));
4808
4858
  }
4809
4859
 
4810
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4860
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
4811
4861
 
4812
4862
  /*
4813
4863
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5069,7 +5119,7 @@ function isAuthorityMetadataExpired(metadata) {
5069
5119
  return metadata.expiresAt <= nowSeconds();
5070
5120
  }
5071
5121
 
5072
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5122
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
5073
5123
 
5074
5124
  /*
5075
5125
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5908,7 +5958,7 @@ function buildStaticAuthorityOptions(authOptions) {
5908
5958
  };
5909
5959
  }
5910
5960
 
5911
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5961
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
5912
5962
 
5913
5963
  /*
5914
5964
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5939,7 +5989,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5939
5989
  }
5940
5990
  }
5941
5991
 
5942
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5992
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
5943
5993
 
5944
5994
  /*
5945
5995
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5958,7 +6008,7 @@ class ServerError extends AuthError {
5958
6008
  }
5959
6009
  }
5960
6010
 
5961
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6011
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
5962
6012
  /*
5963
6013
  * Copyright (c) Microsoft Corporation. All rights reserved.
5964
6014
  * Licensed under the MIT License.
@@ -5979,7 +6029,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5979
6029
  };
5980
6030
  }
5981
6031
 
5982
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6032
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
5983
6033
 
5984
6034
  /*
5985
6035
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6066,7 +6116,7 @@ class ThrottlingUtils {
6066
6116
  }
6067
6117
  }
6068
6118
 
6069
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6119
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6070
6120
 
6071
6121
  /*
6072
6122
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6086,7 +6136,7 @@ class NetworkError extends AuthError {
6086
6136
  }
6087
6137
  }
6088
6138
 
6089
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6139
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6090
6140
 
6091
6141
  /*
6092
6142
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6234,7 +6284,7 @@ class BaseClient {
6234
6284
  }
6235
6285
  }
6236
6286
 
6237
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6287
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6238
6288
  /*
6239
6289
  * Copyright (c) Microsoft Corporation. All rights reserved.
6240
6290
  * Licensed under the MIT License.
@@ -6262,7 +6312,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6262
6312
  uxNotAllowed: uxNotAllowed
6263
6313
  });
6264
6314
 
6265
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6315
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6266
6316
 
6267
6317
  /*
6268
6318
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6352,7 +6402,7 @@ function createInteractionRequiredAuthError(errorCode) {
6352
6402
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6353
6403
  }
6354
6404
 
6355
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6405
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6356
6406
 
6357
6407
  /*
6358
6408
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6424,7 +6474,7 @@ class ProtocolUtils {
6424
6474
  }
6425
6475
  }
6426
6476
 
6427
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6477
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6428
6478
 
6429
6479
  /*
6430
6480
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6506,7 +6556,7 @@ class PopTokenGenerator {
6506
6556
  }
6507
6557
  }
6508
6558
 
6509
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6559
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6510
6560
  /*
6511
6561
  * Copyright (c) Microsoft Corporation. All rights reserved.
6512
6562
  * Licensed under the MIT License.
@@ -6533,7 +6583,7 @@ class PopTokenGenerator {
6533
6583
  }
6534
6584
  }
6535
6585
 
6536
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6586
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6537
6587
 
6538
6588
  /*
6539
6589
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6645,10 +6695,15 @@ class ResponseHandler {
6645
6695
  if (handlingRefreshTokenResponse &&
6646
6696
  !forceCacheRefreshTokenResponse &&
6647
6697
  cacheRecord.account) {
6648
- const key = this.cacheStorage.generateAccountKey(AccountEntity.getAccountInfo(cacheRecord.account));
6649
- const account = this.cacheStorage.getAccount(key, request.correlationId);
6650
- if (!account) {
6698
+ const cachedAccounts = this.cacheStorage.getAllAccounts({
6699
+ homeAccountId: cacheRecord.account.homeAccountId,
6700
+ environment: cacheRecord.account.environment,
6701
+ }, request.correlationId);
6702
+ if (cachedAccounts.length < 1) {
6651
6703
  this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
6704
+ this.performanceClient?.addFields({
6705
+ acntLoggedOut: true,
6706
+ }, request.correlationId);
6652
6707
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
6653
6708
  }
6654
6709
  }
@@ -6867,7 +6922,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6867
6922
  return baseAccount;
6868
6923
  }
6869
6924
 
6870
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6925
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6871
6926
  /*
6872
6927
  * Copyright (c) Microsoft Corporation. All rights reserved.
6873
6928
  * Licensed under the MIT License.
@@ -6885,7 +6940,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
6885
6940
  }
6886
6941
  }
6887
6942
 
6888
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6943
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
6889
6944
 
6890
6945
  /*
6891
6946
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7121,7 +7176,7 @@ class AuthorizationCodeClient extends BaseClient {
7121
7176
  }
7122
7177
  }
7123
7178
 
7124
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7179
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
7125
7180
 
7126
7181
  /*
7127
7182
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7333,7 +7388,7 @@ class RefreshTokenClient extends BaseClient {
7333
7388
  }
7334
7389
  }
7335
7390
 
7336
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7391
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
7337
7392
 
7338
7393
  /*
7339
7394
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7431,7 +7486,7 @@ class SilentFlowClient extends BaseClient {
7431
7486
  }
7432
7487
  }
7433
7488
 
7434
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7489
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
7435
7490
 
7436
7491
  /*
7437
7492
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7581,7 +7636,7 @@ function extractLoginHint(account) {
7581
7636
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7582
7637
  }
7583
7638
 
7584
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7639
+ /*! @azure/msal-common v15.14.2 2026-02-10 */
7585
7640
 
7586
7641
  /*
7587
7642
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8222,7 +8277,7 @@ class NetworkUtils {
8222
8277
 
8223
8278
  /* eslint-disable header/header */
8224
8279
  const name = "@azure/msal-node";
8225
- const version = "3.8.5";
8280
+ const version = "3.8.7";
8226
8281
 
8227
8282
  /*
8228
8283
  * Copyright (c) Microsoft Corporation. All rights reserved.