@azure/msal-browser 4.9.0 → 4.9.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/LocalStorage.mjs +2 -2
- 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.map +1 -1
- package/dist/config/Configuration.mjs +3 -12
- 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 +2 -2
- 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 +2 -2
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +2 -2
- 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 +3 -3
- 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 +2 -2
- 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.mjs +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 -5
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/lib/msal-browser.cjs +72 -120
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +72 -120
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +64 -64
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +1 -1
- package/src/config/Configuration.ts +0 -12
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.9.
|
|
1
|
+
/*! @azure/msal-browser v4.9.1 2025-03-26 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -62,25 +62,10 @@ const Constants = {
|
|
|
62
62
|
INVALID_INSTANCE: "invalid_instance",
|
|
63
63
|
};
|
|
64
64
|
const HttpStatus = {
|
|
65
|
-
SUCCESS: 200,
|
|
66
|
-
SUCCESS_RANGE_START: 200,
|
|
67
|
-
SUCCESS_RANGE_END: 299,
|
|
68
|
-
REDIRECT: 302,
|
|
69
|
-
CLIENT_ERROR: 400,
|
|
70
65
|
CLIENT_ERROR_RANGE_START: 400,
|
|
71
|
-
BAD_REQUEST: 400,
|
|
72
|
-
UNAUTHORIZED: 401,
|
|
73
|
-
NOT_FOUND: 404,
|
|
74
|
-
REQUEST_TIMEOUT: 408,
|
|
75
|
-
TOO_MANY_REQUESTS: 429,
|
|
76
66
|
CLIENT_ERROR_RANGE_END: 499,
|
|
77
|
-
SERVER_ERROR: 500,
|
|
78
67
|
SERVER_ERROR_RANGE_START: 500,
|
|
79
|
-
|
|
80
|
-
GATEWAY_TIMEOUT: 504,
|
|
81
|
-
SERVER_ERROR_RANGE_END: 599,
|
|
82
|
-
MULTI_SIDED_ERROR: 600,
|
|
83
|
-
};
|
|
68
|
+
SERVER_ERROR_RANGE_END: 599};
|
|
84
69
|
const OIDC_DEFAULT_SCOPES = [
|
|
85
70
|
Constants.OPENID_SCOPE,
|
|
86
71
|
Constants.PROFILE_SCOPE,
|
|
@@ -146,7 +131,6 @@ const CodeChallengeMethodValues = {
|
|
|
146
131
|
*/
|
|
147
132
|
const OAuthResponseType = {
|
|
148
133
|
CODE: "code",
|
|
149
|
-
IDTOKEN_TOKEN: "id_token token",
|
|
150
134
|
IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
|
|
151
135
|
};
|
|
152
136
|
/**
|
|
@@ -161,29 +145,19 @@ const ServerResponseType = {
|
|
|
161
145
|
* allowed values for response_mode
|
|
162
146
|
*/
|
|
163
147
|
const ResponseMode = {
|
|
164
|
-
QUERY: "query"
|
|
165
|
-
FRAGMENT: "fragment",
|
|
166
|
-
FORM_POST: "form_post",
|
|
167
|
-
};
|
|
148
|
+
QUERY: "query"};
|
|
168
149
|
/**
|
|
169
150
|
* allowed grant_type
|
|
170
151
|
*/
|
|
171
152
|
const GrantType = {
|
|
172
|
-
IMPLICIT_GRANT: "implicit",
|
|
173
153
|
AUTHORIZATION_CODE_GRANT: "authorization_code",
|
|
174
|
-
|
|
175
|
-
RESOURCE_OWNER_PASSWORD_GRANT: "password",
|
|
176
|
-
REFRESH_TOKEN_GRANT: "refresh_token",
|
|
177
|
-
DEVICE_CODE_GRANT: "device_code",
|
|
178
|
-
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
|
|
179
|
-
};
|
|
154
|
+
REFRESH_TOKEN_GRANT: "refresh_token"};
|
|
180
155
|
/**
|
|
181
156
|
* Account types in Cache
|
|
182
157
|
*/
|
|
183
158
|
const CacheAccountType = {
|
|
184
159
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
|
185
160
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
|
186
|
-
MSAV1_ACCOUNT_TYPE: "MSA",
|
|
187
161
|
GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
|
|
188
162
|
};
|
|
189
163
|
/**
|
|
@@ -220,7 +194,6 @@ const AuthorityMetadataSource = {
|
|
|
220
194
|
};
|
|
221
195
|
const SERVER_TELEM_CONSTANTS = {
|
|
222
196
|
SCHEMA_VERSION: 5,
|
|
223
|
-
MAX_CUR_HEADER_BYTES: 80,
|
|
224
197
|
MAX_LAST_HEADER_BYTES: 330,
|
|
225
198
|
MAX_CACHED_ERRORS: 50,
|
|
226
199
|
CACHE_KEY: "server-telemetry",
|
|
@@ -275,9 +248,7 @@ const RegionDiscoverySources = {
|
|
|
275
248
|
* Region Discovery Outcomes
|
|
276
249
|
*/
|
|
277
250
|
const RegionDiscoveryOutcomes = {
|
|
278
|
-
CONFIGURED_MATCHES_DETECTED: "1",
|
|
279
251
|
CONFIGURED_NO_AUTO_DETECTION: "2",
|
|
280
|
-
CONFIGURED_NOT_DETECTED: "3",
|
|
281
252
|
AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
|
|
282
253
|
AUTO_DETECTION_REQUESTED_FAILED: "5",
|
|
283
254
|
};
|
|
@@ -304,7 +275,7 @@ const JsonWebTokenTypes = {
|
|
|
304
275
|
// Token renewal offset default in seconds
|
|
305
276
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
306
277
|
|
|
307
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
278
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
308
279
|
/*
|
|
309
280
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
310
281
|
* Licensed under the MIT License.
|
|
@@ -321,7 +292,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
321
292
|
unexpectedError: unexpectedError
|
|
322
293
|
});
|
|
323
294
|
|
|
324
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
295
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
325
296
|
|
|
326
297
|
/*
|
|
327
298
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -370,7 +341,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
370
341
|
: AuthErrorMessages[code]);
|
|
371
342
|
}
|
|
372
343
|
|
|
373
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
344
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
374
345
|
/*
|
|
375
346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
376
347
|
* Licensed under the MIT License.
|
|
@@ -468,7 +439,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
468
439
|
userTimeoutReached: userTimeoutReached
|
|
469
440
|
});
|
|
470
441
|
|
|
471
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
442
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
472
443
|
|
|
473
444
|
/*
|
|
474
445
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -720,7 +691,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
720
691
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
721
692
|
}
|
|
722
693
|
|
|
723
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
694
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
724
695
|
|
|
725
696
|
/*
|
|
726
697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -759,7 +730,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
759
730
|
},
|
|
760
731
|
};
|
|
761
732
|
|
|
762
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
733
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
763
734
|
|
|
764
735
|
/*
|
|
765
736
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -950,12 +921,12 @@ class Logger {
|
|
|
950
921
|
}
|
|
951
922
|
}
|
|
952
923
|
|
|
953
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
924
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
954
925
|
/* eslint-disable header/header */
|
|
955
926
|
const name$1 = "@azure/msal-common";
|
|
956
927
|
const version$1 = "15.4.0";
|
|
957
928
|
|
|
958
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
929
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
959
930
|
/*
|
|
960
931
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
961
932
|
* Licensed under the MIT License.
|
|
@@ -975,7 +946,7 @@ const AzureCloudInstance = {
|
|
|
975
946
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
976
947
|
};
|
|
977
948
|
|
|
978
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
949
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
979
950
|
|
|
980
951
|
/*
|
|
981
952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1036,7 +1007,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1036
1007
|
}
|
|
1037
1008
|
}
|
|
1038
1009
|
|
|
1039
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1010
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1040
1011
|
/*
|
|
1041
1012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1042
1013
|
* Licensed under the MIT License.
|
|
@@ -1091,7 +1062,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
1091
1062
|
return cachedAtSec > nowSeconds();
|
|
1092
1063
|
}
|
|
1093
1064
|
|
|
1094
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1065
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1095
1066
|
|
|
1096
1067
|
/*
|
|
1097
1068
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1418,7 +1389,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
1418
1389
|
return metadata.expiresAt <= nowSeconds();
|
|
1419
1390
|
}
|
|
1420
1391
|
|
|
1421
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1392
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1422
1393
|
/*
|
|
1423
1394
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1424
1395
|
* Licensed under the MIT License.
|
|
@@ -1472,7 +1443,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
1472
1443
|
urlParseError: urlParseError
|
|
1473
1444
|
});
|
|
1474
1445
|
|
|
1475
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1446
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1476
1447
|
|
|
1477
1448
|
/*
|
|
1478
1449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1610,7 +1581,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
1610
1581
|
return new ClientConfigurationError(errorCode);
|
|
1611
1582
|
}
|
|
1612
1583
|
|
|
1613
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1584
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1614
1585
|
/*
|
|
1615
1586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1616
1587
|
* Licensed under the MIT License.
|
|
@@ -1707,7 +1678,7 @@ class StringUtils {
|
|
|
1707
1678
|
}
|
|
1708
1679
|
}
|
|
1709
1680
|
|
|
1710
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1681
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1711
1682
|
|
|
1712
1683
|
/*
|
|
1713
1684
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1898,7 +1869,7 @@ class ScopeSet {
|
|
|
1898
1869
|
}
|
|
1899
1870
|
}
|
|
1900
1871
|
|
|
1901
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1872
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1902
1873
|
|
|
1903
1874
|
/*
|
|
1904
1875
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1938,7 +1909,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1938
1909
|
};
|
|
1939
1910
|
}
|
|
1940
1911
|
|
|
1941
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1912
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
1942
1913
|
/*
|
|
1943
1914
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1944
1915
|
* Licensed under the MIT License.
|
|
@@ -2017,7 +1988,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
2017
1988
|
return updatedAccountInfo;
|
|
2018
1989
|
}
|
|
2019
1990
|
|
|
2020
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
1991
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2021
1992
|
/*
|
|
2022
1993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2023
1994
|
* Licensed under the MIT License.
|
|
@@ -2032,7 +2003,7 @@ const AuthorityType = {
|
|
|
2032
2003
|
Ciam: 3,
|
|
2033
2004
|
};
|
|
2034
2005
|
|
|
2035
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2006
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2036
2007
|
/*
|
|
2037
2008
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2038
2009
|
* Licensed under the MIT License.
|
|
@@ -2054,7 +2025,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
2054
2025
|
return null;
|
|
2055
2026
|
}
|
|
2056
2027
|
|
|
2057
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2028
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2058
2029
|
/*
|
|
2059
2030
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2060
2031
|
* Licensed under the MIT License.
|
|
@@ -2078,7 +2049,7 @@ const ProtocolMode = {
|
|
|
2078
2049
|
EAR: "EAR",
|
|
2079
2050
|
};
|
|
2080
2051
|
|
|
2081
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2052
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2082
2053
|
|
|
2083
2054
|
/*
|
|
2084
2055
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2321,7 +2292,7 @@ class AccountEntity {
|
|
|
2321
2292
|
}
|
|
2322
2293
|
}
|
|
2323
2294
|
|
|
2324
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2295
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2325
2296
|
|
|
2326
2297
|
/*
|
|
2327
2298
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2379,7 +2350,7 @@ function mapToQueryString(parameters) {
|
|
|
2379
2350
|
return queryParameterArray.join("&");
|
|
2380
2351
|
}
|
|
2381
2352
|
|
|
2382
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2353
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2383
2354
|
|
|
2384
2355
|
/*
|
|
2385
2356
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2543,7 +2514,7 @@ class UrlString {
|
|
|
2543
2514
|
}
|
|
2544
2515
|
}
|
|
2545
2516
|
|
|
2546
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2517
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2547
2518
|
|
|
2548
2519
|
/*
|
|
2549
2520
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2574,7 +2545,6 @@ const rawMetdataJSON = {
|
|
|
2574
2545
|
},
|
|
2575
2546
|
},
|
|
2576
2547
|
instanceDiscoveryMetadata: {
|
|
2577
|
-
tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
|
|
2578
2548
|
metadata: [
|
|
2579
2549
|
{
|
|
2580
2550
|
preferred_network: "login.microsoftonline.com",
|
|
@@ -2683,7 +2653,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2683
2653
|
return null;
|
|
2684
2654
|
}
|
|
2685
2655
|
|
|
2686
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2656
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2687
2657
|
/*
|
|
2688
2658
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2689
2659
|
* Licensed under the MIT License.
|
|
@@ -2691,7 +2661,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2691
2661
|
const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
|
|
2692
2662
|
const cacheUnknownErrorCode = "cache_error_unknown";
|
|
2693
2663
|
|
|
2694
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2664
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2695
2665
|
|
|
2696
2666
|
/*
|
|
2697
2667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2718,7 +2688,7 @@ class CacheError extends Error {
|
|
|
2718
2688
|
}
|
|
2719
2689
|
}
|
|
2720
2690
|
|
|
2721
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
2691
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
2722
2692
|
|
|
2723
2693
|
/*
|
|
2724
2694
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3903,7 +3873,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3903
3873
|
}
|
|
3904
3874
|
}
|
|
3905
3875
|
|
|
3906
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3876
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
3907
3877
|
|
|
3908
3878
|
/*
|
|
3909
3879
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4002,7 +3972,7 @@ function isOidcProtocolMode(config) {
|
|
|
4002
3972
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4003
3973
|
}
|
|
4004
3974
|
|
|
4005
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3975
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4006
3976
|
/*
|
|
4007
3977
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4008
3978
|
* Licensed under the MIT License.
|
|
@@ -4012,7 +3982,7 @@ const CcsCredentialType = {
|
|
|
4012
3982
|
UPN: "UPN",
|
|
4013
3983
|
};
|
|
4014
3984
|
|
|
4015
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
3985
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4016
3986
|
/*
|
|
4017
3987
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4018
3988
|
* Licensed under the MIT License.
|
|
@@ -4062,7 +4032,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
4062
4032
|
const EAR_JWK = "ear_jwk";
|
|
4063
4033
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4064
4034
|
|
|
4065
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4035
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4066
4036
|
|
|
4067
4037
|
/*
|
|
4068
4038
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4430,7 +4400,7 @@ function addEARParameters(parameters, jwk) {
|
|
|
4430
4400
|
parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
|
|
4431
4401
|
}
|
|
4432
4402
|
|
|
4433
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4403
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4434
4404
|
/*
|
|
4435
4405
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4436
4406
|
* Licensed under the MIT License.
|
|
@@ -4442,7 +4412,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4442
4412
|
response.hasOwnProperty("jwks_uri"));
|
|
4443
4413
|
}
|
|
4444
4414
|
|
|
4445
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4415
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4446
4416
|
/*
|
|
4447
4417
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4448
4418
|
* Licensed under the MIT License.
|
|
@@ -4452,7 +4422,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4452
4422
|
response.hasOwnProperty("metadata"));
|
|
4453
4423
|
}
|
|
4454
4424
|
|
|
4455
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4425
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4456
4426
|
/*
|
|
4457
4427
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4458
4428
|
* Licensed under the MIT License.
|
|
@@ -4462,7 +4432,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4462
4432
|
response.hasOwnProperty("error_description"));
|
|
4463
4433
|
}
|
|
4464
4434
|
|
|
4465
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4435
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4466
4436
|
/*
|
|
4467
4437
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4468
4438
|
* Licensed under the MIT License.
|
|
@@ -4954,7 +4924,6 @@ const PerformanceEventAbbreviations = new Map([
|
|
|
4954
4924
|
* @enum {number}
|
|
4955
4925
|
*/
|
|
4956
4926
|
const PerformanceEventStatus = {
|
|
4957
|
-
NotStarted: 0,
|
|
4958
4927
|
InProgress: 1,
|
|
4959
4928
|
Completed: 2,
|
|
4960
4929
|
};
|
|
@@ -4975,7 +4944,7 @@ const IntFields = new Set([
|
|
|
4975
4944
|
"encryptedCacheExpiredCount",
|
|
4976
4945
|
]);
|
|
4977
4946
|
|
|
4978
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
4947
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
4979
4948
|
/*
|
|
4980
4949
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4981
4950
|
* Licensed under the MIT License.
|
|
@@ -5071,7 +5040,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
5071
5040
|
};
|
|
5072
5041
|
};
|
|
5073
5042
|
|
|
5074
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5043
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
5075
5044
|
|
|
5076
5045
|
/*
|
|
5077
5046
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5180,7 +5149,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
5180
5149
|
},
|
|
5181
5150
|
};
|
|
5182
5151
|
|
|
5183
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5152
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
5184
5153
|
|
|
5185
5154
|
/*
|
|
5186
5155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6019,7 +5988,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
6019
5988
|
};
|
|
6020
5989
|
}
|
|
6021
5990
|
|
|
6022
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
5991
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6023
5992
|
|
|
6024
5993
|
/*
|
|
6025
5994
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6050,7 +6019,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
6050
6019
|
}
|
|
6051
6020
|
}
|
|
6052
6021
|
|
|
6053
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6022
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6054
6023
|
|
|
6055
6024
|
/*
|
|
6056
6025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6069,7 +6038,7 @@ class ServerError extends AuthError {
|
|
|
6069
6038
|
}
|
|
6070
6039
|
}
|
|
6071
6040
|
|
|
6072
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6041
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6073
6042
|
/*
|
|
6074
6043
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6075
6044
|
* Licensed under the MIT License.
|
|
@@ -6090,7 +6059,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
6090
6059
|
};
|
|
6091
6060
|
}
|
|
6092
6061
|
|
|
6093
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6062
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6094
6063
|
|
|
6095
6064
|
/*
|
|
6096
6065
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6177,7 +6146,7 @@ class ThrottlingUtils {
|
|
|
6177
6146
|
}
|
|
6178
6147
|
}
|
|
6179
6148
|
|
|
6180
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6149
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6181
6150
|
|
|
6182
6151
|
/*
|
|
6183
6152
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6207,7 +6176,7 @@ function createNetworkError(error, httpStatus, responseHeaders) {
|
|
|
6207
6176
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6208
6177
|
}
|
|
6209
6178
|
|
|
6210
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6179
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6211
6180
|
|
|
6212
6181
|
/*
|
|
6213
6182
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6355,7 +6324,7 @@ class BaseClient {
|
|
|
6355
6324
|
}
|
|
6356
6325
|
}
|
|
6357
6326
|
|
|
6358
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6327
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6359
6328
|
/*
|
|
6360
6329
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6361
6330
|
* Licensed under the MIT License.
|
|
@@ -6381,7 +6350,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
|
6381
6350
|
refreshTokenExpired: refreshTokenExpired
|
|
6382
6351
|
});
|
|
6383
6352
|
|
|
6384
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6353
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6385
6354
|
|
|
6386
6355
|
/*
|
|
6387
6356
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6469,7 +6438,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
6469
6438
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6470
6439
|
}
|
|
6471
6440
|
|
|
6472
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6441
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6473
6442
|
|
|
6474
6443
|
/*
|
|
6475
6444
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6541,16 +6510,14 @@ class ProtocolUtils {
|
|
|
6541
6510
|
}
|
|
6542
6511
|
}
|
|
6543
6512
|
|
|
6544
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6513
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6545
6514
|
|
|
6546
6515
|
/*
|
|
6547
6516
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6548
6517
|
* Licensed under the MIT License.
|
|
6549
6518
|
*/
|
|
6550
6519
|
const KeyLocation = {
|
|
6551
|
-
SW: "sw"
|
|
6552
|
-
UHW: "uhw",
|
|
6553
|
-
};
|
|
6520
|
+
SW: "sw"};
|
|
6554
6521
|
/** @internal */
|
|
6555
6522
|
class PopTokenGenerator {
|
|
6556
6523
|
constructor(cryptoUtils, performanceClient) {
|
|
@@ -6625,7 +6592,7 @@ class PopTokenGenerator {
|
|
|
6625
6592
|
}
|
|
6626
6593
|
}
|
|
6627
6594
|
|
|
6628
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6595
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6629
6596
|
/*
|
|
6630
6597
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6631
6598
|
* Licensed under the MIT License.
|
|
@@ -6652,7 +6619,7 @@ class PopTokenGenerator {
|
|
|
6652
6619
|
}
|
|
6653
6620
|
}
|
|
6654
6621
|
|
|
6655
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6622
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6656
6623
|
|
|
6657
6624
|
/*
|
|
6658
6625
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6983,7 +6950,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6983
6950
|
return baseAccount;
|
|
6984
6951
|
}
|
|
6985
6952
|
|
|
6986
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
6953
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
6987
6954
|
|
|
6988
6955
|
/*
|
|
6989
6956
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7050,7 +7017,7 @@ class RequestValidator {
|
|
|
7050
7017
|
}
|
|
7051
7018
|
}
|
|
7052
7019
|
|
|
7053
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7020
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7054
7021
|
/*
|
|
7055
7022
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7056
7023
|
* Licensed under the MIT License.
|
|
@@ -7068,7 +7035,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
7068
7035
|
}
|
|
7069
7036
|
}
|
|
7070
7037
|
|
|
7071
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7038
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7072
7039
|
|
|
7073
7040
|
/*
|
|
7074
7041
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7301,7 +7268,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
7301
7268
|
}
|
|
7302
7269
|
}
|
|
7303
7270
|
|
|
7304
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7271
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7305
7272
|
|
|
7306
7273
|
/*
|
|
7307
7274
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7510,7 +7477,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
7510
7477
|
}
|
|
7511
7478
|
}
|
|
7512
7479
|
|
|
7513
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7480
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7514
7481
|
|
|
7515
7482
|
/*
|
|
7516
7483
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7608,7 +7575,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
7608
7575
|
}
|
|
7609
7576
|
}
|
|
7610
7577
|
|
|
7611
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7578
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7612
7579
|
|
|
7613
7580
|
/*
|
|
7614
7581
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7623,7 +7590,7 @@ const StubbedNetworkModule = {
|
|
|
7623
7590
|
},
|
|
7624
7591
|
};
|
|
7625
7592
|
|
|
7626
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7593
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7627
7594
|
|
|
7628
7595
|
/*
|
|
7629
7596
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7847,7 +7814,7 @@ function extractLoginHint(account) {
|
|
|
7847
7814
|
return account.idTokenClaims?.login_hint || null;
|
|
7848
7815
|
}
|
|
7849
7816
|
|
|
7850
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7817
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7851
7818
|
|
|
7852
7819
|
/*
|
|
7853
7820
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7905,7 +7872,7 @@ class AuthenticationHeaderParser {
|
|
|
7905
7872
|
}
|
|
7906
7873
|
}
|
|
7907
7874
|
|
|
7908
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
7875
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
7909
7876
|
|
|
7910
7877
|
/*
|
|
7911
7878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8168,7 +8135,7 @@ class ServerTelemetryManager {
|
|
|
8168
8135
|
}
|
|
8169
8136
|
}
|
|
8170
8137
|
|
|
8171
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8138
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8172
8139
|
/*
|
|
8173
8140
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8174
8141
|
* Licensed under the MIT License.
|
|
@@ -8176,7 +8143,7 @@ class ServerTelemetryManager {
|
|
|
8176
8143
|
const missingKidError = "missing_kid_error";
|
|
8177
8144
|
const missingAlgError = "missing_alg_error";
|
|
8178
8145
|
|
|
8179
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8146
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8180
8147
|
|
|
8181
8148
|
/*
|
|
8182
8149
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8201,7 +8168,7 @@ function createJoseHeaderError(code) {
|
|
|
8201
8168
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8202
8169
|
}
|
|
8203
8170
|
|
|
8204
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8171
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8205
8172
|
|
|
8206
8173
|
/*
|
|
8207
8174
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8241,7 +8208,7 @@ class JoseHeader {
|
|
|
8241
8208
|
}
|
|
8242
8209
|
}
|
|
8243
8210
|
|
|
8244
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8211
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8245
8212
|
|
|
8246
8213
|
/*
|
|
8247
8214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8320,7 +8287,7 @@ class StubPerformanceClient {
|
|
|
8320
8287
|
}
|
|
8321
8288
|
}
|
|
8322
8289
|
|
|
8323
|
-
/*! @azure/msal-common v15.4.0 2025-03-
|
|
8290
|
+
/*! @azure/msal-common v15.4.0 2025-03-26 */
|
|
8324
8291
|
|
|
8325
8292
|
/*
|
|
8326
8293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9310,10 +9277,6 @@ function createBrowserAuthError(errorCode, subError) {
|
|
|
9310
9277
|
* Constants
|
|
9311
9278
|
*/
|
|
9312
9279
|
const BrowserConstants = {
|
|
9313
|
-
/**
|
|
9314
|
-
* Interaction in progress cache value
|
|
9315
|
-
*/
|
|
9316
|
-
INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
|
|
9317
9280
|
/**
|
|
9318
9281
|
* Invalid grant error code
|
|
9319
9282
|
*/
|
|
@@ -10408,21 +10371,12 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
10408
10371
|
system: providedSystemOptions,
|
|
10409
10372
|
telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...userInputTelemetry },
|
|
10410
10373
|
};
|
|
10411
|
-
/**
|
|
10412
|
-
* Temporarily disable EAR until implementation is complete
|
|
10413
|
-
* TODO: Remove this
|
|
10414
|
-
*/
|
|
10415
|
-
if (overlayedConfig.auth.protocolMode === ProtocolMode.EAR) {
|
|
10416
|
-
const logger = new Logger(providedSystemOptions.loggerOptions);
|
|
10417
|
-
logger.warning("EAR Protocol Mode is not yet supported. Overriding to use PKCE auth");
|
|
10418
|
-
overlayedConfig.auth.protocolMode = ProtocolMode.AAD;
|
|
10419
|
-
}
|
|
10420
10374
|
return overlayedConfig;
|
|
10421
10375
|
}
|
|
10422
10376
|
|
|
10423
10377
|
/* eslint-disable header/header */
|
|
10424
10378
|
const name = "@azure/msal-browser";
|
|
10425
|
-
const version = "4.9.
|
|
10379
|
+
const version = "4.9.1";
|
|
10426
10380
|
|
|
10427
10381
|
/*
|
|
10428
10382
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -17341,9 +17295,7 @@ class StandardController {
|
|
|
17341
17295
|
async acquireTokenSilentDeduped(request, account, correlationId) {
|
|
17342
17296
|
const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
|
|
17343
17297
|
...request,
|
|
17344
|
-
authority: request.authority || this.config.auth.authority,
|
|
17345
|
-
correlationId: correlationId,
|
|
17346
|
-
}, account.homeAccountId);
|
|
17298
|
+
authority: request.authority || this.config.auth.authority}, account.homeAccountId);
|
|
17347
17299
|
const silentRequestKey = JSON.stringify(thumbprint);
|
|
17348
17300
|
const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
|
|
17349
17301
|
if (typeof inProgressRequest === "undefined") {
|