@azure/msal-browser 4.10.0 → 4.11.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 (87) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  6. package/dist/cache/AccountManager.mjs +1 -1
  7. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  8. package/dist/cache/BrowserCacheManager.mjs +1 -1
  9. package/dist/cache/CacheHelpers.mjs +1 -1
  10. package/dist/cache/CookieStorage.mjs +1 -1
  11. package/dist/cache/DatabaseStorage.mjs +1 -1
  12. package/dist/cache/LocalStorage.mjs +1 -1
  13. package/dist/cache/MemoryStorage.mjs +1 -1
  14. package/dist/cache/SessionStorage.mjs +1 -1
  15. package/dist/cache/TokenCache.mjs +1 -1
  16. package/dist/config/Configuration.d.ts +5 -0
  17. package/dist/config/Configuration.d.ts.map +1 -1
  18. package/dist/config/Configuration.mjs +2 -1
  19. package/dist/config/Configuration.mjs.map +1 -1
  20. package/dist/controllers/ControllerFactory.mjs +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  22. package/dist/controllers/StandardController.mjs +1 -1
  23. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  24. package/dist/crypto/BrowserCrypto.mjs +1 -1
  25. package/dist/crypto/CryptoOps.mjs +1 -1
  26. package/dist/crypto/PkceGenerator.mjs +1 -1
  27. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  28. package/dist/encode/Base64Decode.mjs +1 -1
  29. package/dist/encode/Base64Encode.mjs +1 -1
  30. package/dist/error/BrowserAuthError.mjs +1 -1
  31. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  32. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  33. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  34. package/dist/error/NativeAuthError.mjs +1 -1
  35. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  36. package/dist/error/NestedAppAuthError.mjs +1 -1
  37. package/dist/event/EventHandler.mjs +1 -1
  38. package/dist/event/EventMessage.mjs +1 -1
  39. package/dist/event/EventType.mjs +1 -1
  40. package/dist/index.mjs +1 -1
  41. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  42. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  43. package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
  44. package/dist/interaction_client/PopupClient.mjs +1 -1
  45. package/dist/interaction_client/RedirectClient.mjs +1 -1
  46. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  47. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  48. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  49. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  50. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  51. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  52. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  53. package/dist/naa/BridgeError.mjs +1 -1
  54. package/dist/naa/BridgeProxy.mjs +1 -1
  55. package/dist/naa/BridgeStatusCode.mjs +1 -1
  56. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  57. package/dist/navigation/NavigationClient.mjs +1 -1
  58. package/dist/network/FetchClient.mjs +1 -1
  59. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  60. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  61. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  62. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  63. package/dist/packageMetadata.d.ts +1 -1
  64. package/dist/packageMetadata.mjs +2 -2
  65. package/dist/protocol/Authorize.d.ts.map +1 -1
  66. package/dist/protocol/Authorize.mjs +3 -3
  67. package/dist/protocol/Authorize.mjs.map +1 -1
  68. package/dist/request/RequestHelpers.mjs +1 -1
  69. package/dist/response/ResponseHandler.mjs +1 -1
  70. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  71. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  72. package/dist/utils/BrowserConstants.mjs +1 -1
  73. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  74. package/dist/utils/BrowserUtils.mjs +1 -1
  75. package/lib/msal-browser.cjs +84 -75
  76. package/lib/msal-browser.cjs.map +1 -1
  77. package/lib/msal-browser.js +84 -75
  78. package/lib/msal-browser.js.map +1 -1
  79. package/lib/msal-browser.min.js +61 -61
  80. package/lib/types/config/Configuration.d.ts +5 -0
  81. package/lib/types/config/Configuration.d.ts.map +1 -1
  82. package/lib/types/packageMetadata.d.ts +1 -1
  83. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  84. package/package.json +2 -2
  85. package/src/config/Configuration.ts +6 -0
  86. package/src/packageMetadata.ts +1 -1
  87. package/src/protocol/Authorize.ts +12 -2
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { PerformanceEvents, invokeAsync, AuthenticationScheme, createClientConfigurationError, ClientConfigurationErrorCodes, StringUtils } from '@azure/msal-common/browser';
4
4
  import { hashString } from '../crypto/BrowserCrypto.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { UrlUtils } from '@azure/msal-common/browser';
4
4
  import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { PerformanceClient, Constants, Logger } from '@azure/msal-common/browser';
4
4
  import { name, version } from '../packageMetadata.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { OIDC_DEFAULT_SCOPES } from '@azure/msal-common/browser';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { ProtocolUtils, createClientAuthError, ClientAuthErrorCodes } from '@azure/msal-common/browser';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  import { UrlString } from '@azure/msal-common/browser';
4
4
  export { invoke, invokeAsync } from '@azure/msal-common/browser';
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.10.0 2025-04-08 */
1
+ /*! @azure/msal-browser v4.11.0 2025-04-16 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.5.0 2025-04-08 */
5
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -305,7 +305,7 @@ const JsonWebTokenTypes = {
305
305
  // Token renewal offset default in seconds
306
306
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
307
307
 
308
- /*! @azure/msal-common v15.5.0 2025-04-08 */
308
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
309
309
  /*
310
310
  * Copyright (c) Microsoft Corporation. All rights reserved.
311
311
  * Licensed under the MIT License.
@@ -322,7 +322,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
322
322
  unexpectedError: unexpectedError
323
323
  });
324
324
 
325
- /*! @azure/msal-common v15.5.0 2025-04-08 */
325
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
326
326
 
327
327
  /*
328
328
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -371,7 +371,7 @@ function createAuthError(code, additionalMessage) {
371
371
  : AuthErrorMessages[code]);
372
372
  }
373
373
 
374
- /*! @azure/msal-common v15.5.0 2025-04-08 */
374
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
375
375
  /*
376
376
  * Copyright (c) Microsoft Corporation. All rights reserved.
377
377
  * Licensed under the MIT License.
@@ -469,7 +469,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
469
469
  userTimeoutReached: userTimeoutReached
470
470
  });
471
471
 
472
- /*! @azure/msal-common v15.5.0 2025-04-08 */
472
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
473
473
 
474
474
  /*
475
475
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -721,7 +721,7 @@ function createClientAuthError(errorCode, additionalMessage) {
721
721
  return new ClientAuthError(errorCode, additionalMessage);
722
722
  }
723
723
 
724
- /*! @azure/msal-common v15.5.0 2025-04-08 */
724
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
725
725
 
726
726
  /*
727
727
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -760,7 +760,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
760
760
  },
761
761
  };
762
762
 
763
- /*! @azure/msal-common v15.5.0 2025-04-08 */
763
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
764
764
 
765
765
  /*
766
766
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -951,12 +951,12 @@ class Logger {
951
951
  }
952
952
  }
953
953
 
954
- /*! @azure/msal-common v15.5.0 2025-04-08 */
954
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
955
955
  /* eslint-disable header/header */
956
956
  const name$1 = "@azure/msal-common";
957
- const version$1 = "15.5.0";
957
+ const version$1 = "15.5.1";
958
958
 
959
- /*! @azure/msal-common v15.5.0 2025-04-08 */
959
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
960
960
  /*
961
961
  * Copyright (c) Microsoft Corporation. All rights reserved.
962
962
  * Licensed under the MIT License.
@@ -976,7 +976,7 @@ const AzureCloudInstance = {
976
976
  AzureUsGovernment: "https://login.microsoftonline.us",
977
977
  };
978
978
 
979
- /*! @azure/msal-common v15.5.0 2025-04-08 */
979
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
980
980
 
981
981
  /*
982
982
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1037,7 +1037,7 @@ function checkMaxAge(authTime, maxAge) {
1037
1037
  }
1038
1038
  }
1039
1039
 
1040
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1040
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1041
1041
  /*
1042
1042
  * Copyright (c) Microsoft Corporation. All rights reserved.
1043
1043
  * Licensed under the MIT License.
@@ -1092,7 +1092,7 @@ function wasClockTurnedBack(cachedAt) {
1092
1092
  return cachedAtSec > nowSeconds();
1093
1093
  }
1094
1094
 
1095
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1095
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1096
1096
 
1097
1097
  /*
1098
1098
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1419,7 +1419,7 @@ function isAuthorityMetadataExpired(metadata) {
1419
1419
  return metadata.expiresAt <= nowSeconds();
1420
1420
  }
1421
1421
 
1422
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1422
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1423
1423
  /*
1424
1424
  * Copyright (c) Microsoft Corporation. All rights reserved.
1425
1425
  * Licensed under the MIT License.
@@ -1473,7 +1473,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1473
1473
  urlParseError: urlParseError
1474
1474
  });
1475
1475
 
1476
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1476
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1477
1477
 
1478
1478
  /*
1479
1479
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1611,7 +1611,7 @@ function createClientConfigurationError(errorCode) {
1611
1611
  return new ClientConfigurationError(errorCode);
1612
1612
  }
1613
1613
 
1614
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1614
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1615
1615
  /*
1616
1616
  * Copyright (c) Microsoft Corporation. All rights reserved.
1617
1617
  * Licensed under the MIT License.
@@ -1708,7 +1708,7 @@ class StringUtils {
1708
1708
  }
1709
1709
  }
1710
1710
 
1711
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1711
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1712
1712
 
1713
1713
  /*
1714
1714
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1899,7 +1899,7 @@ class ScopeSet {
1899
1899
  }
1900
1900
  }
1901
1901
 
1902
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1902
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1903
1903
 
1904
1904
  /*
1905
1905
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1939,7 +1939,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1939
1939
  };
1940
1940
  }
1941
1941
 
1942
- /*! @azure/msal-common v15.5.0 2025-04-08 */
1942
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
1943
1943
  /*
1944
1944
  * Copyright (c) Microsoft Corporation. All rights reserved.
1945
1945
  * Licensed under the MIT License.
@@ -2018,7 +2018,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
2018
2018
  return updatedAccountInfo;
2019
2019
  }
2020
2020
 
2021
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2021
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2022
2022
  /*
2023
2023
  * Copyright (c) Microsoft Corporation. All rights reserved.
2024
2024
  * Licensed under the MIT License.
@@ -2033,7 +2033,7 @@ const AuthorityType = {
2033
2033
  Ciam: 3,
2034
2034
  };
2035
2035
 
2036
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2036
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2037
2037
  /*
2038
2038
  * Copyright (c) Microsoft Corporation. All rights reserved.
2039
2039
  * Licensed under the MIT License.
@@ -2055,7 +2055,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
2055
2055
  return null;
2056
2056
  }
2057
2057
 
2058
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2058
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2059
2059
  /*
2060
2060
  * Copyright (c) Microsoft Corporation. All rights reserved.
2061
2061
  * Licensed under the MIT License.
@@ -2079,7 +2079,7 @@ const ProtocolMode = {
2079
2079
  EAR: "EAR",
2080
2080
  };
2081
2081
 
2082
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2082
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2083
2083
 
2084
2084
  /*
2085
2085
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2322,7 +2322,7 @@ class AccountEntity {
2322
2322
  }
2323
2323
  }
2324
2324
 
2325
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2325
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2326
2326
 
2327
2327
  /*
2328
2328
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2372,15 +2372,22 @@ function getDeserializedResponse(responseString) {
2372
2372
  /**
2373
2373
  * Utility to create a URL from the params map
2374
2374
  */
2375
- function mapToQueryString(parameters) {
2375
+ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParameters) {
2376
2376
  const queryParameterArray = new Array();
2377
2377
  parameters.forEach((value, key) => {
2378
- queryParameterArray.push(`${key}=${encodeURIComponent(value)}`);
2378
+ if (!encodeExtraParams &&
2379
+ extraQueryParameters &&
2380
+ key in extraQueryParameters) {
2381
+ queryParameterArray.push(`${key}=${value}`);
2382
+ }
2383
+ else {
2384
+ queryParameterArray.push(`${key}=${encodeURIComponent(value)}`);
2385
+ }
2379
2386
  });
2380
2387
  return queryParameterArray.join("&");
2381
2388
  }
2382
2389
 
2383
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2390
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2384
2391
 
2385
2392
  /*
2386
2393
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2544,7 +2551,7 @@ class UrlString {
2544
2551
  }
2545
2552
  }
2546
2553
 
2547
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2554
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2548
2555
 
2549
2556
  /*
2550
2557
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2684,7 +2691,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2684
2691
  return null;
2685
2692
  }
2686
2693
 
2687
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2694
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2688
2695
  /*
2689
2696
  * Copyright (c) Microsoft Corporation. All rights reserved.
2690
2697
  * Licensed under the MIT License.
@@ -2692,7 +2699,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2692
2699
  const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
2693
2700
  const cacheUnknownErrorCode = "cache_error_unknown";
2694
2701
 
2695
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2702
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2696
2703
 
2697
2704
  /*
2698
2705
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2719,7 +2726,7 @@ class CacheError extends Error {
2719
2726
  }
2720
2727
  }
2721
2728
 
2722
- /*! @azure/msal-common v15.5.0 2025-04-08 */
2729
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
2723
2730
 
2724
2731
  /*
2725
2732
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3904,7 +3911,7 @@ class DefaultStorageClass extends CacheManager {
3904
3911
  }
3905
3912
  }
3906
3913
 
3907
- /*! @azure/msal-common v15.5.0 2025-04-08 */
3914
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
3908
3915
 
3909
3916
  /*
3910
3917
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3992,6 +3999,7 @@ function buildAuthOptions(authOptions) {
3992
3999
  azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS,
3993
4000
  skipAuthorityMetadataCache: false,
3994
4001
  instanceAware: false,
4002
+ encodeExtraQueryParams: false,
3995
4003
  ...authOptions,
3996
4004
  };
3997
4005
  }
@@ -4003,7 +4011,7 @@ function isOidcProtocolMode(config) {
4003
4011
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4004
4012
  }
4005
4013
 
4006
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4014
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4007
4015
  /*
4008
4016
  * Copyright (c) Microsoft Corporation. All rights reserved.
4009
4017
  * Licensed under the MIT License.
@@ -4013,7 +4021,7 @@ const CcsCredentialType = {
4013
4021
  UPN: "UPN",
4014
4022
  };
4015
4023
 
4016
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4024
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4017
4025
  /*
4018
4026
  * Copyright (c) Microsoft Corporation. All rights reserved.
4019
4027
  * Licensed under the MIT License.
@@ -4063,7 +4071,7 @@ const INSTANCE_AWARE = "instance_aware";
4063
4071
  const EAR_JWK = "ear_jwk";
4064
4072
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4065
4073
 
4066
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4074
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4067
4075
 
4068
4076
  /*
4069
4077
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4431,7 +4439,7 @@ function addEARParameters(parameters, jwk) {
4431
4439
  parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
4432
4440
  }
4433
4441
 
4434
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4442
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4435
4443
  /*
4436
4444
  * Copyright (c) Microsoft Corporation. All rights reserved.
4437
4445
  * Licensed under the MIT License.
@@ -4443,7 +4451,7 @@ function isOpenIdConfigResponse(response) {
4443
4451
  response.hasOwnProperty("jwks_uri"));
4444
4452
  }
4445
4453
 
4446
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4454
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4447
4455
  /*
4448
4456
  * Copyright (c) Microsoft Corporation. All rights reserved.
4449
4457
  * Licensed under the MIT License.
@@ -4453,7 +4461,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4453
4461
  response.hasOwnProperty("metadata"));
4454
4462
  }
4455
4463
 
4456
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4464
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4457
4465
  /*
4458
4466
  * Copyright (c) Microsoft Corporation. All rights reserved.
4459
4467
  * Licensed under the MIT License.
@@ -4463,7 +4471,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4463
4471
  response.hasOwnProperty("error_description"));
4464
4472
  }
4465
4473
 
4466
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4474
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4467
4475
  /*
4468
4476
  * Copyright (c) Microsoft Corporation. All rights reserved.
4469
4477
  * Licensed under the MIT License.
@@ -4976,7 +4984,7 @@ const IntFields = new Set([
4976
4984
  "encryptedCacheExpiredCount",
4977
4985
  ]);
4978
4986
 
4979
- /*! @azure/msal-common v15.5.0 2025-04-08 */
4987
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
4980
4988
  /*
4981
4989
  * Copyright (c) Microsoft Corporation. All rights reserved.
4982
4990
  * Licensed under the MIT License.
@@ -5072,7 +5080,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
5072
5080
  };
5073
5081
  };
5074
5082
 
5075
- /*! @azure/msal-common v15.5.0 2025-04-08 */
5083
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
5076
5084
 
5077
5085
  /*
5078
5086
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5181,7 +5189,7 @@ RegionDiscovery.IMDS_OPTIONS = {
5181
5189
  },
5182
5190
  };
5183
5191
 
5184
- /*! @azure/msal-common v15.5.0 2025-04-08 */
5192
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
5185
5193
 
5186
5194
  /*
5187
5195
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6020,7 +6028,7 @@ function buildStaticAuthorityOptions(authOptions) {
6020
6028
  };
6021
6029
  }
6022
6030
 
6023
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6031
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6024
6032
 
6025
6033
  /*
6026
6034
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6051,7 +6059,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6051
6059
  }
6052
6060
  }
6053
6061
 
6054
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6062
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6055
6063
 
6056
6064
  /*
6057
6065
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6070,7 +6078,7 @@ class ServerError extends AuthError {
6070
6078
  }
6071
6079
  }
6072
6080
 
6073
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6081
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6074
6082
  /*
6075
6083
  * Copyright (c) Microsoft Corporation. All rights reserved.
6076
6084
  * Licensed under the MIT License.
@@ -6091,7 +6099,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6091
6099
  };
6092
6100
  }
6093
6101
 
6094
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6102
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6095
6103
 
6096
6104
  /*
6097
6105
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6178,7 +6186,7 @@ class ThrottlingUtils {
6178
6186
  }
6179
6187
  }
6180
6188
 
6181
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6189
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6182
6190
 
6183
6191
  /*
6184
6192
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6208,7 +6216,7 @@ function createNetworkError(error, httpStatus, responseHeaders) {
6208
6216
  return new NetworkError(error, httpStatus, responseHeaders);
6209
6217
  }
6210
6218
 
6211
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6219
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6212
6220
 
6213
6221
  /*
6214
6222
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6356,7 +6364,7 @@ class BaseClient {
6356
6364
  }
6357
6365
  }
6358
6366
 
6359
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6367
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6360
6368
  /*
6361
6369
  * Copyright (c) Microsoft Corporation. All rights reserved.
6362
6370
  * Licensed under the MIT License.
@@ -6382,7 +6390,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6382
6390
  refreshTokenExpired: refreshTokenExpired
6383
6391
  });
6384
6392
 
6385
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6393
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6386
6394
 
6387
6395
  /*
6388
6396
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6470,7 +6478,7 @@ function createInteractionRequiredAuthError(errorCode) {
6470
6478
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6471
6479
  }
6472
6480
 
6473
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6481
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6474
6482
 
6475
6483
  /*
6476
6484
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6542,7 +6550,7 @@ class ProtocolUtils {
6542
6550
  }
6543
6551
  }
6544
6552
 
6545
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6553
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6546
6554
 
6547
6555
  /*
6548
6556
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6626,7 +6634,7 @@ class PopTokenGenerator {
6626
6634
  }
6627
6635
  }
6628
6636
 
6629
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6637
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6630
6638
  /*
6631
6639
  * Copyright (c) Microsoft Corporation. All rights reserved.
6632
6640
  * Licensed under the MIT License.
@@ -6653,7 +6661,7 @@ class PopTokenGenerator {
6653
6661
  }
6654
6662
  }
6655
6663
 
6656
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6664
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6657
6665
 
6658
6666
  /*
6659
6667
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6984,7 +6992,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6984
6992
  return baseAccount;
6985
6993
  }
6986
6994
 
6987
- /*! @azure/msal-common v15.5.0 2025-04-08 */
6995
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
6988
6996
 
6989
6997
  /*
6990
6998
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7051,7 +7059,7 @@ class RequestValidator {
7051
7059
  }
7052
7060
  }
7053
7061
 
7054
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7062
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7055
7063
  /*
7056
7064
  * Copyright (c) Microsoft Corporation. All rights reserved.
7057
7065
  * Licensed under the MIT License.
@@ -7069,7 +7077,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7069
7077
  }
7070
7078
  }
7071
7079
 
7072
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7080
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7073
7081
 
7074
7082
  /*
7075
7083
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7298,11 +7306,11 @@ class AuthorizationCodeClient extends BaseClient {
7298
7306
  if (this.config.authOptions.instanceAware) {
7299
7307
  addInstanceAware(parameters);
7300
7308
  }
7301
- return mapToQueryString(parameters);
7309
+ return mapToQueryString(parameters, this.config.authOptions.encodeExtraQueryParams, request.extraQueryParameters);
7302
7310
  }
7303
7311
  }
7304
7312
 
7305
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7313
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7306
7314
 
7307
7315
  /*
7308
7316
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7511,7 +7519,7 @@ class RefreshTokenClient extends BaseClient {
7511
7519
  }
7512
7520
  }
7513
7521
 
7514
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7522
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7515
7523
 
7516
7524
  /*
7517
7525
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7609,7 +7617,7 @@ class SilentFlowClient extends BaseClient {
7609
7617
  }
7610
7618
  }
7611
7619
 
7612
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7620
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7613
7621
 
7614
7622
  /*
7615
7623
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7624,7 +7632,7 @@ const StubbedNetworkModule = {
7624
7632
  },
7625
7633
  };
7626
7634
 
7627
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7635
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7628
7636
 
7629
7637
  /*
7630
7638
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7767,8 +7775,8 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
7767
7775
  * @param requestParameters
7768
7776
  * @returns
7769
7777
  */
7770
- function getAuthorizeUrl(authority, requestParameters) {
7771
- const queryString = mapToQueryString(requestParameters);
7778
+ function getAuthorizeUrl(authority, requestParameters, encodeParams, extraQueryParameters) {
7779
+ const queryString = mapToQueryString(requestParameters, encodeParams, extraQueryParameters);
7772
7780
  return UrlString.appendQueryString(authority.authorizationEndpoint, queryString);
7773
7781
  }
7774
7782
  /**
@@ -7848,7 +7856,7 @@ function extractLoginHint(account) {
7848
7856
  return account.idTokenClaims?.login_hint || null;
7849
7857
  }
7850
7858
 
7851
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7859
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7852
7860
 
7853
7861
  /*
7854
7862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7906,7 +7914,7 @@ class AuthenticationHeaderParser {
7906
7914
  }
7907
7915
  }
7908
7916
 
7909
- /*! @azure/msal-common v15.5.0 2025-04-08 */
7917
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
7910
7918
 
7911
7919
  /*
7912
7920
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8169,7 +8177,7 @@ class ServerTelemetryManager {
8169
8177
  }
8170
8178
  }
8171
8179
 
8172
- /*! @azure/msal-common v15.5.0 2025-04-08 */
8180
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
8173
8181
  /*
8174
8182
  * Copyright (c) Microsoft Corporation. All rights reserved.
8175
8183
  * Licensed under the MIT License.
@@ -8177,7 +8185,7 @@ class ServerTelemetryManager {
8177
8185
  const missingKidError = "missing_kid_error";
8178
8186
  const missingAlgError = "missing_alg_error";
8179
8187
 
8180
- /*! @azure/msal-common v15.5.0 2025-04-08 */
8188
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
8181
8189
 
8182
8190
  /*
8183
8191
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8202,7 +8210,7 @@ function createJoseHeaderError(code) {
8202
8210
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8203
8211
  }
8204
8212
 
8205
- /*! @azure/msal-common v15.5.0 2025-04-08 */
8213
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
8206
8214
 
8207
8215
  /*
8208
8216
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8242,7 +8250,7 @@ class JoseHeader {
8242
8250
  }
8243
8251
  }
8244
8252
 
8245
- /*! @azure/msal-common v15.5.0 2025-04-08 */
8253
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
8246
8254
 
8247
8255
  /*
8248
8256
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8321,7 +8329,7 @@ class StubPerformanceClient {
8321
8329
  }
8322
8330
  }
8323
8331
 
8324
- /*! @azure/msal-common v15.5.0 2025-04-08 */
8332
+ /*! @azure/msal-common v15.5.1 2025-04-16 */
8325
8333
 
8326
8334
  /*
8327
8335
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10332,6 +10340,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10332
10340
  skipAuthorityMetadataCache: false,
10333
10341
  supportsNestedAppAuth: false,
10334
10342
  instanceAware: false,
10343
+ encodeExtraQueryParams: false,
10335
10344
  };
10336
10345
  // Default cache options for browser
10337
10346
  const DEFAULT_CACHE_OPTIONS = {
@@ -10418,7 +10427,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10418
10427
 
10419
10428
  /* eslint-disable header/header */
10420
10429
  const name = "@azure/msal-browser";
10421
- const version = "4.10.0";
10430
+ const version = "4.11.0";
10422
10431
 
10423
10432
  /*
10424
10433
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -14474,7 +14483,7 @@ async function getAuthCodeRequestUrl(config, authority, request, logger, perform
14474
14483
  addResponseType(parameters, OAuthResponseType.CODE);
14475
14484
  addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
14476
14485
  addExtraQueryParameters(parameters, request.extraQueryParameters || {});
14477
- return getAuthorizeUrl(authority, parameters);
14486
+ return getAuthorizeUrl(authority, parameters, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
14478
14487
  }
14479
14488
  /**
14480
14489
  * Gets the form that will be posted to /authorize with request parameters when using EAR
@@ -14488,7 +14497,7 @@ async function getEARForm(frame, config, authority, request, logger, performance
14488
14497
  addEARParameters(parameters, request.earJwk);
14489
14498
  const queryParams = new Map();
14490
14499
  addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
14491
- const url = getAuthorizeUrl(authority, queryParams);
14500
+ const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
14492
14501
  return createForm(frame, url, parameters);
14493
14502
  }
14494
14503
  /**