@azure/msal-browser 4.10.0 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/ITokenCache.d.ts +4 -4
- package/dist/cache/ITokenCache.d.ts.map +1 -1
- package/dist/cache/LocalStorage.mjs +2 -2
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.d.ts +3 -3
- package/dist/cache/TokenCache.d.ts.map +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.d.ts +10 -1
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.d.ts.map +1 -1
- package/dist/network/FetchClient.mjs +8 -8
- package/dist/network/FetchClient.mjs.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.d.ts.map +1 -1
- package/dist/protocol/Authorize.mjs +3 -3
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.d.ts +1 -1
- package/dist/utils/BrowserUtils.d.ts.map +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +94 -84
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +94 -84
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +61 -61
- package/lib/types/cache/ITokenCache.d.ts +4 -4
- package/lib/types/cache/ITokenCache.d.ts.map +1 -1
- package/lib/types/cache/TokenCache.d.ts +3 -3
- package/lib/types/cache/TokenCache.d.ts.map +1 -1
- package/lib/types/config/Configuration.d.ts +10 -1
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/network/FetchClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/lib/types/utils/BrowserUtils.d.ts +1 -1
- package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/cache/ITokenCache.ts +4 -4
- package/src/cache/LocalStorage.ts +2 -2
- package/src/cache/TokenCache.ts +3 -3
- package/src/config/Configuration.ts +11 -1
- package/src/network/FetchClient.ts +27 -12
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +12 -2
- package/src/utils/BrowserUtils.ts +1 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.11.1 2025-04-29 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.5.
|
|
5
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
308
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
325
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
374
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
472
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
724
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
763
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
954
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
955
955
|
/* eslint-disable header/header */
|
|
956
956
|
const name$1 = "@azure/msal-common";
|
|
957
|
-
const version$1 = "15.5.
|
|
957
|
+
const version$1 = "15.5.2";
|
|
958
958
|
|
|
959
|
-
/*! @azure/msal-common v15.5.
|
|
959
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
979
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1040
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1095
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1422
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1476
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1614
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1711
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1902
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
1942
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2021
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2036
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2058
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2082
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2325
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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
|
-
|
|
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.
|
|
2390
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2554
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2694
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2702
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
2729
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
3914
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4014
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4024
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4074
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4442
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4454
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4464
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4474
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
4987
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
5083
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
5192
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
6031
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
6062
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
6081
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
6102
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
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.
|
|
6189
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6182
6190
|
|
|
6183
6191
|
/*
|
|
6184
6192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6204,11 +6212,12 @@ class NetworkError extends AuthError {
|
|
|
6204
6212
|
* @param responseHeaders - Response headers of the network request, when available
|
|
6205
6213
|
* @returns NetworkError object
|
|
6206
6214
|
*/
|
|
6207
|
-
function createNetworkError(error, httpStatus, responseHeaders) {
|
|
6215
|
+
function createNetworkError(error, httpStatus, responseHeaders, additionalError) {
|
|
6216
|
+
error.errorMessage = `${error.errorMessage}, additionalErrorInfo: error.name:${additionalError?.name}, error.message:${additionalError?.message}`;
|
|
6208
6217
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6209
6218
|
}
|
|
6210
6219
|
|
|
6211
|
-
/*! @azure/msal-common v15.5.
|
|
6220
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6212
6221
|
|
|
6213
6222
|
/*
|
|
6214
6223
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6356,7 +6365,7 @@ class BaseClient {
|
|
|
6356
6365
|
}
|
|
6357
6366
|
}
|
|
6358
6367
|
|
|
6359
|
-
/*! @azure/msal-common v15.5.
|
|
6368
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6360
6369
|
/*
|
|
6361
6370
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6362
6371
|
* Licensed under the MIT License.
|
|
@@ -6382,7 +6391,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6382
6391
|
refreshTokenExpired: refreshTokenExpired
|
|
6383
6392
|
});
|
|
6384
6393
|
|
|
6385
|
-
/*! @azure/msal-common v15.5.
|
|
6394
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6386
6395
|
|
|
6387
6396
|
/*
|
|
6388
6397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6470,7 +6479,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6470
6479
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6471
6480
|
}
|
|
6472
6481
|
|
|
6473
|
-
/*! @azure/msal-common v15.5.
|
|
6482
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6474
6483
|
|
|
6475
6484
|
/*
|
|
6476
6485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6542,7 +6551,7 @@ class ProtocolUtils {
|
|
|
6542
6551
|
}
|
|
6543
6552
|
}
|
|
6544
6553
|
|
|
6545
|
-
/*! @azure/msal-common v15.5.
|
|
6554
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6546
6555
|
|
|
6547
6556
|
/*
|
|
6548
6557
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6626,7 +6635,7 @@ class PopTokenGenerator {
|
|
|
6626
6635
|
}
|
|
6627
6636
|
}
|
|
6628
6637
|
|
|
6629
|
-
/*! @azure/msal-common v15.5.
|
|
6638
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6630
6639
|
/*
|
|
6631
6640
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6632
6641
|
* Licensed under the MIT License.
|
|
@@ -6653,7 +6662,7 @@ class PopTokenGenerator {
|
|
|
6653
6662
|
}
|
|
6654
6663
|
}
|
|
6655
6664
|
|
|
6656
|
-
/*! @azure/msal-common v15.5.
|
|
6665
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6657
6666
|
|
|
6658
6667
|
/*
|
|
6659
6668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6984,7 +6993,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6984
6993
|
return baseAccount;
|
|
6985
6994
|
}
|
|
6986
6995
|
|
|
6987
|
-
/*! @azure/msal-common v15.5.
|
|
6996
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
6988
6997
|
|
|
6989
6998
|
/*
|
|
6990
6999
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7051,7 +7060,7 @@ class RequestValidator {
|
|
|
7051
7060
|
}
|
|
7052
7061
|
}
|
|
7053
7062
|
|
|
7054
|
-
/*! @azure/msal-common v15.5.
|
|
7063
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7055
7064
|
/*
|
|
7056
7065
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7057
7066
|
* Licensed under the MIT License.
|
|
@@ -7069,7 +7078,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7069
7078
|
}
|
|
7070
7079
|
}
|
|
7071
7080
|
|
|
7072
|
-
/*! @azure/msal-common v15.5.
|
|
7081
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7073
7082
|
|
|
7074
7083
|
/*
|
|
7075
7084
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7298,11 +7307,11 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7298
7307
|
if (this.config.authOptions.instanceAware) {
|
|
7299
7308
|
addInstanceAware(parameters);
|
|
7300
7309
|
}
|
|
7301
|
-
return mapToQueryString(parameters);
|
|
7310
|
+
return mapToQueryString(parameters, this.config.authOptions.encodeExtraQueryParams, request.extraQueryParameters);
|
|
7302
7311
|
}
|
|
7303
7312
|
}
|
|
7304
7313
|
|
|
7305
|
-
/*! @azure/msal-common v15.5.
|
|
7314
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7306
7315
|
|
|
7307
7316
|
/*
|
|
7308
7317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7511,7 +7520,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7511
7520
|
}
|
|
7512
7521
|
}
|
|
7513
7522
|
|
|
7514
|
-
/*! @azure/msal-common v15.5.
|
|
7523
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7515
7524
|
|
|
7516
7525
|
/*
|
|
7517
7526
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7609,7 +7618,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7609
7618
|
}
|
|
7610
7619
|
}
|
|
7611
7620
|
|
|
7612
|
-
/*! @azure/msal-common v15.5.
|
|
7621
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7613
7622
|
|
|
7614
7623
|
/*
|
|
7615
7624
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7624,7 +7633,7 @@ const StubbedNetworkModule = {
|
|
|
7624
7633
|
},
|
|
7625
7634
|
};
|
|
7626
7635
|
|
|
7627
|
-
/*! @azure/msal-common v15.5.
|
|
7636
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7628
7637
|
|
|
7629
7638
|
/*
|
|
7630
7639
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7767,8 +7776,8 @@ function getStandardAuthorizeRequestParameters(authOptions, request, logger, per
|
|
|
7767
7776
|
* @param requestParameters
|
|
7768
7777
|
* @returns
|
|
7769
7778
|
*/
|
|
7770
|
-
function getAuthorizeUrl(authority, requestParameters) {
|
|
7771
|
-
const queryString = mapToQueryString(requestParameters);
|
|
7779
|
+
function getAuthorizeUrl(authority, requestParameters, encodeParams, extraQueryParameters) {
|
|
7780
|
+
const queryString = mapToQueryString(requestParameters, encodeParams, extraQueryParameters);
|
|
7772
7781
|
return UrlString.appendQueryString(authority.authorizationEndpoint, queryString);
|
|
7773
7782
|
}
|
|
7774
7783
|
/**
|
|
@@ -7848,7 +7857,7 @@ function extractLoginHint(account) {
|
|
|
7848
7857
|
return account.idTokenClaims?.login_hint || null;
|
|
7849
7858
|
}
|
|
7850
7859
|
|
|
7851
|
-
/*! @azure/msal-common v15.5.
|
|
7860
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7852
7861
|
|
|
7853
7862
|
/*
|
|
7854
7863
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7906,7 +7915,7 @@ class AuthenticationHeaderParser {
|
|
|
7906
7915
|
}
|
|
7907
7916
|
}
|
|
7908
7917
|
|
|
7909
|
-
/*! @azure/msal-common v15.5.
|
|
7918
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
7910
7919
|
|
|
7911
7920
|
/*
|
|
7912
7921
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8169,7 +8178,7 @@ class ServerTelemetryManager {
|
|
|
8169
8178
|
}
|
|
8170
8179
|
}
|
|
8171
8180
|
|
|
8172
|
-
/*! @azure/msal-common v15.5.
|
|
8181
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
8173
8182
|
/*
|
|
8174
8183
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8175
8184
|
* Licensed under the MIT License.
|
|
@@ -8177,7 +8186,7 @@ class ServerTelemetryManager {
|
|
|
8177
8186
|
const missingKidError = "missing_kid_error";
|
|
8178
8187
|
const missingAlgError = "missing_alg_error";
|
|
8179
8188
|
|
|
8180
|
-
/*! @azure/msal-common v15.5.
|
|
8189
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
8181
8190
|
|
|
8182
8191
|
/*
|
|
8183
8192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8202,7 +8211,7 @@ function createJoseHeaderError(code) {
|
|
|
8202
8211
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8203
8212
|
}
|
|
8204
8213
|
|
|
8205
|
-
/*! @azure/msal-common v15.5.
|
|
8214
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
8206
8215
|
|
|
8207
8216
|
/*
|
|
8208
8217
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8242,7 +8251,7 @@ class JoseHeader {
|
|
|
8242
8251
|
}
|
|
8243
8252
|
}
|
|
8244
8253
|
|
|
8245
|
-
/*! @azure/msal-common v15.5.
|
|
8254
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
8246
8255
|
|
|
8247
8256
|
/*
|
|
8248
8257
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8321,7 +8330,7 @@ class StubPerformanceClient {
|
|
|
8321
8330
|
}
|
|
8322
8331
|
}
|
|
8323
8332
|
|
|
8324
|
-
/*! @azure/msal-common v15.5.
|
|
8333
|
+
/*! @azure/msal-common v15.5.2 2025-04-29 */
|
|
8325
8334
|
|
|
8326
8335
|
/*
|
|
8327
8336
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10193,9 +10202,9 @@ class FetchClient {
|
|
|
10193
10202
|
});
|
|
10194
10203
|
}
|
|
10195
10204
|
catch (e) {
|
|
10196
|
-
throw createBrowserAuthError(window.navigator.onLine
|
|
10205
|
+
throw createNetworkError(createBrowserAuthError(window.navigator.onLine
|
|
10197
10206
|
? getRequestFailed
|
|
10198
|
-
: noNetworkConnectivity);
|
|
10207
|
+
: noNetworkConnectivity), undefined, undefined, e);
|
|
10199
10208
|
}
|
|
10200
10209
|
responseHeaders = getHeaderDict(response.headers);
|
|
10201
10210
|
try {
|
|
@@ -10207,7 +10216,7 @@ class FetchClient {
|
|
|
10207
10216
|
};
|
|
10208
10217
|
}
|
|
10209
10218
|
catch (e) {
|
|
10210
|
-
throw createNetworkError(createBrowserAuthError(failedToParseResponse), responseStatus, responseHeaders);
|
|
10219
|
+
throw createNetworkError(createBrowserAuthError(failedToParseResponse), responseStatus, responseHeaders, e);
|
|
10211
10220
|
}
|
|
10212
10221
|
}
|
|
10213
10222
|
/**
|
|
@@ -10230,9 +10239,9 @@ class FetchClient {
|
|
|
10230
10239
|
});
|
|
10231
10240
|
}
|
|
10232
10241
|
catch (e) {
|
|
10233
|
-
throw createBrowserAuthError(window.navigator.onLine
|
|
10242
|
+
throw createNetworkError(createBrowserAuthError(window.navigator.onLine
|
|
10234
10243
|
? postRequestFailed
|
|
10235
|
-
: noNetworkConnectivity);
|
|
10244
|
+
: noNetworkConnectivity), undefined, undefined, e);
|
|
10236
10245
|
}
|
|
10237
10246
|
responseHeaders = getHeaderDict(response.headers);
|
|
10238
10247
|
try {
|
|
@@ -10244,7 +10253,7 @@ class FetchClient {
|
|
|
10244
10253
|
};
|
|
10245
10254
|
}
|
|
10246
10255
|
catch (e) {
|
|
10247
|
-
throw createNetworkError(createBrowserAuthError(failedToParseResponse), responseStatus, responseHeaders);
|
|
10256
|
+
throw createNetworkError(createBrowserAuthError(failedToParseResponse), responseStatus, responseHeaders, e);
|
|
10248
10257
|
}
|
|
10249
10258
|
}
|
|
10250
10259
|
}
|
|
@@ -10265,7 +10274,7 @@ function getFetchHeaders(options) {
|
|
|
10265
10274
|
return headers;
|
|
10266
10275
|
}
|
|
10267
10276
|
catch (e) {
|
|
10268
|
-
throw createBrowserAuthError(failedToBuildHeaders);
|
|
10277
|
+
throw createNetworkError(createBrowserAuthError(failedToBuildHeaders), undefined, undefined, e);
|
|
10269
10278
|
}
|
|
10270
10279
|
}
|
|
10271
10280
|
/**
|
|
@@ -10332,6 +10341,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10332
10341
|
skipAuthorityMetadataCache: false,
|
|
10333
10342
|
supportsNestedAppAuth: false,
|
|
10334
10343
|
instanceAware: false,
|
|
10344
|
+
encodeExtraQueryParams: false,
|
|
10335
10345
|
};
|
|
10336
10346
|
// Default cache options for browser
|
|
10337
10347
|
const DEFAULT_CACHE_OPTIONS = {
|
|
@@ -10418,7 +10428,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10418
10428
|
|
|
10419
10429
|
/* eslint-disable header/header */
|
|
10420
10430
|
const name = "@azure/msal-browser";
|
|
10421
|
-
const version = "4.
|
|
10431
|
+
const version = "4.11.1";
|
|
10422
10432
|
|
|
10423
10433
|
/*
|
|
10424
10434
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11476,7 +11486,6 @@ class LocalStorage {
|
|
|
11476
11486
|
this.broadcast = new BroadcastChannel(BROADCAST_CHANNEL_NAME$1);
|
|
11477
11487
|
}
|
|
11478
11488
|
async initialize(correlationId) {
|
|
11479
|
-
this.initialized = true;
|
|
11480
11489
|
const cookies = new CookieStorage();
|
|
11481
11490
|
const cookieString = cookies.getItem(ENCRYPTION_KEY);
|
|
11482
11491
|
let parsedCookie = { key: "", id: "" };
|
|
@@ -11516,6 +11525,7 @@ class LocalStorage {
|
|
|
11516
11525
|
}
|
|
11517
11526
|
// Register listener for cache updates in other tabs
|
|
11518
11527
|
this.broadcast.addEventListener("message", this.updateCache.bind(this));
|
|
11528
|
+
this.initialized = true;
|
|
11519
11529
|
}
|
|
11520
11530
|
getItem(key) {
|
|
11521
11531
|
return window.localStorage.getItem(key);
|
|
@@ -14474,7 +14484,7 @@ async function getAuthCodeRequestUrl(config, authority, request, logger, perform
|
|
|
14474
14484
|
addResponseType(parameters, OAuthResponseType.CODE);
|
|
14475
14485
|
addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
|
|
14476
14486
|
addExtraQueryParameters(parameters, request.extraQueryParameters || {});
|
|
14477
|
-
return getAuthorizeUrl(authority, parameters);
|
|
14487
|
+
return getAuthorizeUrl(authority, parameters, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14478
14488
|
}
|
|
14479
14489
|
/**
|
|
14480
14490
|
* Gets the form that will be posted to /authorize with request parameters when using EAR
|
|
@@ -14488,7 +14498,7 @@ async function getEARForm(frame, config, authority, request, logger, performance
|
|
|
14488
14498
|
addEARParameters(parameters, request.earJwk);
|
|
14489
14499
|
const queryParams = new Map();
|
|
14490
14500
|
addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
|
|
14491
|
-
const url = getAuthorizeUrl(authority, queryParams);
|
|
14501
|
+
const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14492
14502
|
return createForm(frame, url, parameters);
|
|
14493
14503
|
}
|
|
14494
14504
|
/**
|