@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.
- 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/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.d.ts +5 -0
- 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.mjs +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.mjs +1 -1
- package/lib/msal-browser.cjs +84 -75
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +84 -75
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +61 -61
- package/lib/types/config/Configuration.d.ts +5 -0
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/lib/types/protocol/Authorize.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/config/Configuration.ts +6 -0
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +12 -2
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.11.0 2025-04-16 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v15.5.
|
|
9
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
// Token renewal offset default in seconds
|
|
310
310
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
311
311
|
|
|
312
|
-
/*! @azure/msal-common v15.5.
|
|
312
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
313
313
|
/*
|
|
314
314
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
315
315
|
* Licensed under the MIT License.
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
unexpectedError: unexpectedError
|
|
327
327
|
});
|
|
328
328
|
|
|
329
|
-
/*! @azure/msal-common v15.5.
|
|
329
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
330
330
|
|
|
331
331
|
/*
|
|
332
332
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
: AuthErrorMessages[code]);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
/*! @azure/msal-common v15.5.
|
|
378
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
379
379
|
/*
|
|
380
380
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
381
381
|
* Licensed under the MIT License.
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
userTimeoutReached: userTimeoutReached
|
|
474
474
|
});
|
|
475
475
|
|
|
476
|
-
/*! @azure/msal-common v15.5.
|
|
476
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
477
477
|
|
|
478
478
|
/*
|
|
479
479
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
726
726
|
}
|
|
727
727
|
|
|
728
|
-
/*! @azure/msal-common v15.5.
|
|
728
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
729
729
|
|
|
730
730
|
/*
|
|
731
731
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -764,7 +764,7 @@
|
|
|
764
764
|
},
|
|
765
765
|
};
|
|
766
766
|
|
|
767
|
-
/*! @azure/msal-common v15.5.
|
|
767
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
768
768
|
|
|
769
769
|
/*
|
|
770
770
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -955,12 +955,12 @@
|
|
|
955
955
|
}
|
|
956
956
|
}
|
|
957
957
|
|
|
958
|
-
/*! @azure/msal-common v15.5.
|
|
958
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
959
959
|
/* eslint-disable header/header */
|
|
960
960
|
const name$1 = "@azure/msal-common";
|
|
961
|
-
const version$1 = "15.5.
|
|
961
|
+
const version$1 = "15.5.1";
|
|
962
962
|
|
|
963
|
-
/*! @azure/msal-common v15.5.
|
|
963
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
964
964
|
/*
|
|
965
965
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
966
966
|
* Licensed under the MIT License.
|
|
@@ -980,7 +980,7 @@
|
|
|
980
980
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
/*! @azure/msal-common v15.5.
|
|
983
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
984
984
|
|
|
985
985
|
/*
|
|
986
986
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
|
-
/*! @azure/msal-common v15.5.
|
|
1044
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1045
1045
|
/*
|
|
1046
1046
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1047
1047
|
* Licensed under the MIT License.
|
|
@@ -1096,7 +1096,7 @@
|
|
|
1096
1096
|
return cachedAtSec > nowSeconds();
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
/*! @azure/msal-common v15.5.
|
|
1099
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1100
1100
|
|
|
1101
1101
|
/*
|
|
1102
1102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
return metadata.expiresAt <= nowSeconds();
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
/*! @azure/msal-common v15.5.
|
|
1426
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1427
1427
|
/*
|
|
1428
1428
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1429
1429
|
* Licensed under the MIT License.
|
|
@@ -1477,7 +1477,7 @@
|
|
|
1477
1477
|
urlParseError: urlParseError
|
|
1478
1478
|
});
|
|
1479
1479
|
|
|
1480
|
-
/*! @azure/msal-common v15.5.
|
|
1480
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1481
1481
|
|
|
1482
1482
|
/*
|
|
1483
1483
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1615,7 +1615,7 @@
|
|
|
1615
1615
|
return new ClientConfigurationError(errorCode);
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
|
-
/*! @azure/msal-common v15.5.
|
|
1618
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1619
1619
|
/*
|
|
1620
1620
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1621
1621
|
* Licensed under the MIT License.
|
|
@@ -1712,7 +1712,7 @@
|
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
|
-
/*! @azure/msal-common v15.5.
|
|
1715
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1716
1716
|
|
|
1717
1717
|
/*
|
|
1718
1718
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
|
|
1906
|
-
/*! @azure/msal-common v15.5.
|
|
1906
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1907
1907
|
|
|
1908
1908
|
/*
|
|
1909
1909
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1943,7 +1943,7 @@
|
|
|
1943
1943
|
};
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
|
-
/*! @azure/msal-common v15.5.
|
|
1946
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
1947
1947
|
/*
|
|
1948
1948
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1949
1949
|
* Licensed under the MIT License.
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
return updatedAccountInfo;
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
2025
|
-
/*! @azure/msal-common v15.5.
|
|
2025
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2026
2026
|
/*
|
|
2027
2027
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2028
2028
|
* Licensed under the MIT License.
|
|
@@ -2037,7 +2037,7 @@
|
|
|
2037
2037
|
Ciam: 3,
|
|
2038
2038
|
};
|
|
2039
2039
|
|
|
2040
|
-
/*! @azure/msal-common v15.5.
|
|
2040
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2041
2041
|
/*
|
|
2042
2042
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2043
2043
|
* Licensed under the MIT License.
|
|
@@ -2059,7 +2059,7 @@
|
|
|
2059
2059
|
return null;
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
|
-
/*! @azure/msal-common v15.5.
|
|
2062
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2063
2063
|
/*
|
|
2064
2064
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2065
2065
|
* Licensed under the MIT License.
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
EAR: "EAR",
|
|
2084
2084
|
};
|
|
2085
2085
|
|
|
2086
|
-
/*! @azure/msal-common v15.5.
|
|
2086
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2087
2087
|
|
|
2088
2088
|
/*
|
|
2089
2089
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2326,7 +2326,7 @@
|
|
|
2326
2326
|
}
|
|
2327
2327
|
}
|
|
2328
2328
|
|
|
2329
|
-
/*! @azure/msal-common v15.5.
|
|
2329
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2330
2330
|
|
|
2331
2331
|
/*
|
|
2332
2332
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2376,15 +2376,22 @@
|
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Utility to create a URL from the params map
|
|
2378
2378
|
*/
|
|
2379
|
-
function mapToQueryString(parameters) {
|
|
2379
|
+
function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParameters) {
|
|
2380
2380
|
const queryParameterArray = new Array();
|
|
2381
2381
|
parameters.forEach((value, key) => {
|
|
2382
|
-
|
|
2382
|
+
if (!encodeExtraParams &&
|
|
2383
|
+
extraQueryParameters &&
|
|
2384
|
+
key in extraQueryParameters) {
|
|
2385
|
+
queryParameterArray.push(`${key}=${value}`);
|
|
2386
|
+
}
|
|
2387
|
+
else {
|
|
2388
|
+
queryParameterArray.push(`${key}=${encodeURIComponent(value)}`);
|
|
2389
|
+
}
|
|
2383
2390
|
});
|
|
2384
2391
|
return queryParameterArray.join("&");
|
|
2385
2392
|
}
|
|
2386
2393
|
|
|
2387
|
-
/*! @azure/msal-common v15.5.
|
|
2394
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2388
2395
|
|
|
2389
2396
|
/*
|
|
2390
2397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2548,7 +2555,7 @@
|
|
|
2548
2555
|
}
|
|
2549
2556
|
}
|
|
2550
2557
|
|
|
2551
|
-
/*! @azure/msal-common v15.5.
|
|
2558
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2552
2559
|
|
|
2553
2560
|
/*
|
|
2554
2561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2688,7 +2695,7 @@
|
|
|
2688
2695
|
return null;
|
|
2689
2696
|
}
|
|
2690
2697
|
|
|
2691
|
-
/*! @azure/msal-common v15.5.
|
|
2698
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2692
2699
|
/*
|
|
2693
2700
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2694
2701
|
* Licensed under the MIT License.
|
|
@@ -2696,7 +2703,7 @@
|
|
|
2696
2703
|
const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
|
|
2697
2704
|
const cacheUnknownErrorCode = "cache_error_unknown";
|
|
2698
2705
|
|
|
2699
|
-
/*! @azure/msal-common v15.5.
|
|
2706
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2700
2707
|
|
|
2701
2708
|
/*
|
|
2702
2709
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2723,7 +2730,7 @@
|
|
|
2723
2730
|
}
|
|
2724
2731
|
}
|
|
2725
2732
|
|
|
2726
|
-
/*! @azure/msal-common v15.5.
|
|
2733
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
2727
2734
|
|
|
2728
2735
|
/*
|
|
2729
2736
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3908,7 +3915,7 @@
|
|
|
3908
3915
|
}
|
|
3909
3916
|
}
|
|
3910
3917
|
|
|
3911
|
-
/*! @azure/msal-common v15.5.
|
|
3918
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
3912
3919
|
|
|
3913
3920
|
/*
|
|
3914
3921
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3996,6 +4003,7 @@
|
|
|
3996
4003
|
azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS,
|
|
3997
4004
|
skipAuthorityMetadataCache: false,
|
|
3998
4005
|
instanceAware: false,
|
|
4006
|
+
encodeExtraQueryParams: false,
|
|
3999
4007
|
...authOptions,
|
|
4000
4008
|
};
|
|
4001
4009
|
}
|
|
@@ -4007,7 +4015,7 @@
|
|
|
4007
4015
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4008
4016
|
}
|
|
4009
4017
|
|
|
4010
|
-
/*! @azure/msal-common v15.5.
|
|
4018
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4011
4019
|
/*
|
|
4012
4020
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4013
4021
|
* Licensed under the MIT License.
|
|
@@ -4017,7 +4025,7 @@
|
|
|
4017
4025
|
UPN: "UPN",
|
|
4018
4026
|
};
|
|
4019
4027
|
|
|
4020
|
-
/*! @azure/msal-common v15.5.
|
|
4028
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4021
4029
|
/*
|
|
4022
4030
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4023
4031
|
* Licensed under the MIT License.
|
|
@@ -4067,7 +4075,7 @@
|
|
|
4067
4075
|
const EAR_JWK = "ear_jwk";
|
|
4068
4076
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4069
4077
|
|
|
4070
|
-
/*! @azure/msal-common v15.5.
|
|
4078
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4071
4079
|
|
|
4072
4080
|
/*
|
|
4073
4081
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4435,7 +4443,7 @@
|
|
|
4435
4443
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
4436
4444
|
}
|
|
4437
4445
|
|
|
4438
|
-
/*! @azure/msal-common v15.5.
|
|
4446
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4439
4447
|
/*
|
|
4440
4448
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4441
4449
|
* Licensed under the MIT License.
|
|
@@ -4447,7 +4455,7 @@
|
|
|
4447
4455
|
response.hasOwnProperty("jwks_uri"));
|
|
4448
4456
|
}
|
|
4449
4457
|
|
|
4450
|
-
/*! @azure/msal-common v15.5.
|
|
4458
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4451
4459
|
/*
|
|
4452
4460
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4453
4461
|
* Licensed under the MIT License.
|
|
@@ -4457,7 +4465,7 @@
|
|
|
4457
4465
|
response.hasOwnProperty("metadata"));
|
|
4458
4466
|
}
|
|
4459
4467
|
|
|
4460
|
-
/*! @azure/msal-common v15.5.
|
|
4468
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4461
4469
|
/*
|
|
4462
4470
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4463
4471
|
* Licensed under the MIT License.
|
|
@@ -4467,7 +4475,7 @@
|
|
|
4467
4475
|
response.hasOwnProperty("error_description"));
|
|
4468
4476
|
}
|
|
4469
4477
|
|
|
4470
|
-
/*! @azure/msal-common v15.5.
|
|
4478
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4471
4479
|
/*
|
|
4472
4480
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4473
4481
|
* Licensed under the MIT License.
|
|
@@ -4980,7 +4988,7 @@
|
|
|
4980
4988
|
"encryptedCacheExpiredCount",
|
|
4981
4989
|
]);
|
|
4982
4990
|
|
|
4983
|
-
/*! @azure/msal-common v15.5.
|
|
4991
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
4984
4992
|
/*
|
|
4985
4993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4986
4994
|
* Licensed under the MIT License.
|
|
@@ -5076,7 +5084,7 @@
|
|
|
5076
5084
|
};
|
|
5077
5085
|
};
|
|
5078
5086
|
|
|
5079
|
-
/*! @azure/msal-common v15.5.
|
|
5087
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
5080
5088
|
|
|
5081
5089
|
/*
|
|
5082
5090
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5185,7 +5193,7 @@
|
|
|
5185
5193
|
},
|
|
5186
5194
|
};
|
|
5187
5195
|
|
|
5188
|
-
/*! @azure/msal-common v15.5.
|
|
5196
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
5189
5197
|
|
|
5190
5198
|
/*
|
|
5191
5199
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6024,7 +6032,7 @@
|
|
|
6024
6032
|
};
|
|
6025
6033
|
}
|
|
6026
6034
|
|
|
6027
|
-
/*! @azure/msal-common v15.5.
|
|
6035
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6028
6036
|
|
|
6029
6037
|
/*
|
|
6030
6038
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6055,7 +6063,7 @@
|
|
|
6055
6063
|
}
|
|
6056
6064
|
}
|
|
6057
6065
|
|
|
6058
|
-
/*! @azure/msal-common v15.5.
|
|
6066
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6059
6067
|
|
|
6060
6068
|
/*
|
|
6061
6069
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6074,7 +6082,7 @@
|
|
|
6074
6082
|
}
|
|
6075
6083
|
}
|
|
6076
6084
|
|
|
6077
|
-
/*! @azure/msal-common v15.5.
|
|
6085
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6078
6086
|
/*
|
|
6079
6087
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6080
6088
|
* Licensed under the MIT License.
|
|
@@ -6095,7 +6103,7 @@
|
|
|
6095
6103
|
};
|
|
6096
6104
|
}
|
|
6097
6105
|
|
|
6098
|
-
/*! @azure/msal-common v15.5.
|
|
6106
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6099
6107
|
|
|
6100
6108
|
/*
|
|
6101
6109
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6182,7 +6190,7 @@
|
|
|
6182
6190
|
}
|
|
6183
6191
|
}
|
|
6184
6192
|
|
|
6185
|
-
/*! @azure/msal-common v15.5.
|
|
6193
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6186
6194
|
|
|
6187
6195
|
/*
|
|
6188
6196
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6212,7 +6220,7 @@
|
|
|
6212
6220
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6213
6221
|
}
|
|
6214
6222
|
|
|
6215
|
-
/*! @azure/msal-common v15.5.
|
|
6223
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6216
6224
|
|
|
6217
6225
|
/*
|
|
6218
6226
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6360,7 +6368,7 @@
|
|
|
6360
6368
|
}
|
|
6361
6369
|
}
|
|
6362
6370
|
|
|
6363
|
-
/*! @azure/msal-common v15.5.
|
|
6371
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6364
6372
|
/*
|
|
6365
6373
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6366
6374
|
* Licensed under the MIT License.
|
|
@@ -6386,7 +6394,7 @@
|
|
|
6386
6394
|
refreshTokenExpired: refreshTokenExpired
|
|
6387
6395
|
});
|
|
6388
6396
|
|
|
6389
|
-
/*! @azure/msal-common v15.5.
|
|
6397
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6390
6398
|
|
|
6391
6399
|
/*
|
|
6392
6400
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6474,7 +6482,7 @@
|
|
|
6474
6482
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6475
6483
|
}
|
|
6476
6484
|
|
|
6477
|
-
/*! @azure/msal-common v15.5.
|
|
6485
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6478
6486
|
|
|
6479
6487
|
/*
|
|
6480
6488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6546,7 +6554,7 @@
|
|
|
6546
6554
|
}
|
|
6547
6555
|
}
|
|
6548
6556
|
|
|
6549
|
-
/*! @azure/msal-common v15.5.
|
|
6557
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6550
6558
|
|
|
6551
6559
|
/*
|
|
6552
6560
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6630,7 +6638,7 @@
|
|
|
6630
6638
|
}
|
|
6631
6639
|
}
|
|
6632
6640
|
|
|
6633
|
-
/*! @azure/msal-common v15.5.
|
|
6641
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6634
6642
|
/*
|
|
6635
6643
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6636
6644
|
* Licensed under the MIT License.
|
|
@@ -6657,7 +6665,7 @@
|
|
|
6657
6665
|
}
|
|
6658
6666
|
}
|
|
6659
6667
|
|
|
6660
|
-
/*! @azure/msal-common v15.5.
|
|
6668
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6661
6669
|
|
|
6662
6670
|
/*
|
|
6663
6671
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6988,7 +6996,7 @@
|
|
|
6988
6996
|
return baseAccount;
|
|
6989
6997
|
}
|
|
6990
6998
|
|
|
6991
|
-
/*! @azure/msal-common v15.5.
|
|
6999
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
6992
7000
|
|
|
6993
7001
|
/*
|
|
6994
7002
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7055,7 +7063,7 @@
|
|
|
7055
7063
|
}
|
|
7056
7064
|
}
|
|
7057
7065
|
|
|
7058
|
-
/*! @azure/msal-common v15.5.
|
|
7066
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7059
7067
|
/*
|
|
7060
7068
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7061
7069
|
* Licensed under the MIT License.
|
|
@@ -7073,7 +7081,7 @@
|
|
|
7073
7081
|
}
|
|
7074
7082
|
}
|
|
7075
7083
|
|
|
7076
|
-
/*! @azure/msal-common v15.5.
|
|
7084
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7077
7085
|
|
|
7078
7086
|
/*
|
|
7079
7087
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7302,11 +7310,11 @@
|
|
|
7302
7310
|
if (this.config.authOptions.instanceAware) {
|
|
7303
7311
|
addInstanceAware(parameters);
|
|
7304
7312
|
}
|
|
7305
|
-
return mapToQueryString(parameters);
|
|
7313
|
+
return mapToQueryString(parameters, this.config.authOptions.encodeExtraQueryParams, request.extraQueryParameters);
|
|
7306
7314
|
}
|
|
7307
7315
|
}
|
|
7308
7316
|
|
|
7309
|
-
/*! @azure/msal-common v15.5.
|
|
7317
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7310
7318
|
|
|
7311
7319
|
/*
|
|
7312
7320
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7515,7 +7523,7 @@
|
|
|
7515
7523
|
}
|
|
7516
7524
|
}
|
|
7517
7525
|
|
|
7518
|
-
/*! @azure/msal-common v15.5.
|
|
7526
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7519
7527
|
|
|
7520
7528
|
/*
|
|
7521
7529
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7613,7 +7621,7 @@
|
|
|
7613
7621
|
}
|
|
7614
7622
|
}
|
|
7615
7623
|
|
|
7616
|
-
/*! @azure/msal-common v15.5.
|
|
7624
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7617
7625
|
|
|
7618
7626
|
/*
|
|
7619
7627
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7628,7 +7636,7 @@
|
|
|
7628
7636
|
},
|
|
7629
7637
|
};
|
|
7630
7638
|
|
|
7631
|
-
/*! @azure/msal-common v15.5.
|
|
7639
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7632
7640
|
|
|
7633
7641
|
/*
|
|
7634
7642
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7771,8 +7779,8 @@
|
|
|
7771
7779
|
* @param requestParameters
|
|
7772
7780
|
* @returns
|
|
7773
7781
|
*/
|
|
7774
|
-
function getAuthorizeUrl(authority, requestParameters) {
|
|
7775
|
-
const queryString = mapToQueryString(requestParameters);
|
|
7782
|
+
function getAuthorizeUrl(authority, requestParameters, encodeParams, extraQueryParameters) {
|
|
7783
|
+
const queryString = mapToQueryString(requestParameters, encodeParams, extraQueryParameters);
|
|
7776
7784
|
return UrlString.appendQueryString(authority.authorizationEndpoint, queryString);
|
|
7777
7785
|
}
|
|
7778
7786
|
/**
|
|
@@ -7852,7 +7860,7 @@
|
|
|
7852
7860
|
return account.idTokenClaims?.login_hint || null;
|
|
7853
7861
|
}
|
|
7854
7862
|
|
|
7855
|
-
/*! @azure/msal-common v15.5.
|
|
7863
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7856
7864
|
|
|
7857
7865
|
/*
|
|
7858
7866
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7910,7 +7918,7 @@
|
|
|
7910
7918
|
}
|
|
7911
7919
|
}
|
|
7912
7920
|
|
|
7913
|
-
/*! @azure/msal-common v15.5.
|
|
7921
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
7914
7922
|
|
|
7915
7923
|
/*
|
|
7916
7924
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8173,7 +8181,7 @@
|
|
|
8173
8181
|
}
|
|
8174
8182
|
}
|
|
8175
8183
|
|
|
8176
|
-
/*! @azure/msal-common v15.5.
|
|
8184
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
8177
8185
|
/*
|
|
8178
8186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8179
8187
|
* Licensed under the MIT License.
|
|
@@ -8181,7 +8189,7 @@
|
|
|
8181
8189
|
const missingKidError = "missing_kid_error";
|
|
8182
8190
|
const missingAlgError = "missing_alg_error";
|
|
8183
8191
|
|
|
8184
|
-
/*! @azure/msal-common v15.5.
|
|
8192
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
8185
8193
|
|
|
8186
8194
|
/*
|
|
8187
8195
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8206,7 +8214,7 @@
|
|
|
8206
8214
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8207
8215
|
}
|
|
8208
8216
|
|
|
8209
|
-
/*! @azure/msal-common v15.5.
|
|
8217
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
8210
8218
|
|
|
8211
8219
|
/*
|
|
8212
8220
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8246,7 +8254,7 @@
|
|
|
8246
8254
|
}
|
|
8247
8255
|
}
|
|
8248
8256
|
|
|
8249
|
-
/*! @azure/msal-common v15.5.
|
|
8257
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
8250
8258
|
|
|
8251
8259
|
/*
|
|
8252
8260
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8325,7 +8333,7 @@
|
|
|
8325
8333
|
}
|
|
8326
8334
|
}
|
|
8327
8335
|
|
|
8328
|
-
/*! @azure/msal-common v15.5.
|
|
8336
|
+
/*! @azure/msal-common v15.5.1 2025-04-16 */
|
|
8329
8337
|
|
|
8330
8338
|
/*
|
|
8331
8339
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10336,6 +10344,7 @@
|
|
|
10336
10344
|
skipAuthorityMetadataCache: false,
|
|
10337
10345
|
supportsNestedAppAuth: false,
|
|
10338
10346
|
instanceAware: false,
|
|
10347
|
+
encodeExtraQueryParams: false,
|
|
10339
10348
|
};
|
|
10340
10349
|
// Default cache options for browser
|
|
10341
10350
|
const DEFAULT_CACHE_OPTIONS = {
|
|
@@ -10422,7 +10431,7 @@
|
|
|
10422
10431
|
|
|
10423
10432
|
/* eslint-disable header/header */
|
|
10424
10433
|
const name = "@azure/msal-browser";
|
|
10425
|
-
const version = "4.
|
|
10434
|
+
const version = "4.11.0";
|
|
10426
10435
|
|
|
10427
10436
|
/*
|
|
10428
10437
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -14478,7 +14487,7 @@
|
|
|
14478
14487
|
addResponseType(parameters, OAuthResponseType.CODE);
|
|
14479
14488
|
addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
|
|
14480
14489
|
addExtraQueryParameters(parameters, request.extraQueryParameters || {});
|
|
14481
|
-
return getAuthorizeUrl(authority, parameters);
|
|
14490
|
+
return getAuthorizeUrl(authority, parameters, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14482
14491
|
}
|
|
14483
14492
|
/**
|
|
14484
14493
|
* Gets the form that will be posted to /authorize with request parameters when using EAR
|
|
@@ -14492,7 +14501,7 @@
|
|
|
14492
14501
|
addEARParameters(parameters, request.earJwk);
|
|
14493
14502
|
const queryParams = new Map();
|
|
14494
14503
|
addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
|
|
14495
|
-
const url = getAuthorizeUrl(authority, queryParams);
|
|
14504
|
+
const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
|
|
14496
14505
|
return createForm(frame, url, parameters);
|
|
14497
14506
|
}
|
|
14498
14507
|
/**
|