@equinor/fusion-framework-vite-plugin-spa 4.0.6 → 4.0.8
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/CHANGELOG.md +13 -0
- package/dist/esm/html/sw.js +14 -4
- package/dist/esm/html/sw.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/html/bootstrap.js +320 -145
- package/dist/html/bootstrap.js.map +1 -1
- package/dist/html/sw.js +14 -4
- package/dist/html/sw.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/html/index.html.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
- package/src/html/sw.ts +15 -4
- package/src/version.ts +1 -1
package/dist/html/bootstrap.js
CHANGED
|
@@ -25062,7 +25062,7 @@ configurator, options) => {
|
|
|
25062
25062
|
});
|
|
25063
25063
|
};
|
|
25064
25064
|
|
|
25065
|
-
/*! @azure/msal-common v16.
|
|
25065
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25066
25066
|
/*
|
|
25067
25067
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25068
25068
|
* Licensed under the MIT License.
|
|
@@ -25289,7 +25289,7 @@ const JsonWebTokenTypes = {
|
|
|
25289
25289
|
// Token renewal offset default in seconds
|
|
25290
25290
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
25291
25291
|
|
|
25292
|
-
/*! @azure/msal-common v16.
|
|
25292
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25293
25293
|
/*
|
|
25294
25294
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25295
25295
|
* Licensed under the MIT License.
|
|
@@ -25341,7 +25341,7 @@ const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
|
25341
25341
|
const RESOURCE = "resource";
|
|
25342
25342
|
const CLI_DATA = "clidata";
|
|
25343
25343
|
|
|
25344
|
-
/*! @azure/msal-common v16.
|
|
25344
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25345
25345
|
/*
|
|
25346
25346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25347
25347
|
* Licensed under the MIT License.
|
|
@@ -25372,7 +25372,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
25372
25372
|
return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
|
|
25373
25373
|
}
|
|
25374
25374
|
|
|
25375
|
-
/*! @azure/msal-common v16.
|
|
25375
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25376
25376
|
|
|
25377
25377
|
/*
|
|
25378
25378
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25392,7 +25392,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
25392
25392
|
return new ClientConfigurationError(errorCode);
|
|
25393
25393
|
}
|
|
25394
25394
|
|
|
25395
|
-
/*! @azure/msal-common v16.
|
|
25395
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25396
25396
|
/*
|
|
25397
25397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25398
25398
|
* Licensed under the MIT License.
|
|
@@ -25472,7 +25472,7 @@ class StringUtils {
|
|
|
25472
25472
|
}
|
|
25473
25473
|
}
|
|
25474
25474
|
|
|
25475
|
-
/*! @azure/msal-common v16.
|
|
25475
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25476
25476
|
|
|
25477
25477
|
/*
|
|
25478
25478
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25495,7 +25495,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
25495
25495
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
25496
25496
|
}
|
|
25497
25497
|
|
|
25498
|
-
/*! @azure/msal-common v16.
|
|
25498
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25499
25499
|
/*
|
|
25500
25500
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25501
25501
|
* Licensed under the MIT License.
|
|
@@ -25517,9 +25517,10 @@ const missingSshKid = "missing_ssh_kid";
|
|
|
25517
25517
|
const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
|
|
25518
25518
|
const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
|
|
25519
25519
|
const authorityMismatch = "authority_mismatch";
|
|
25520
|
-
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
25520
|
+
const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
25521
|
+
const issuerValidationFailed = "issuer_validation_failed";
|
|
25521
25522
|
|
|
25522
|
-
/*! @azure/msal-common v16.
|
|
25523
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25523
25524
|
/*
|
|
25524
25525
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
25525
25526
|
* Licensed under the MIT License.
|
|
@@ -25558,7 +25559,7 @@ const methodNotImplemented = "method_not_implemented";
|
|
|
25558
25559
|
const resourceParameterRequired = "resource_parameter_required";
|
|
25559
25560
|
const misplacedResourceParam = "misplaced_resource_parameter";
|
|
25560
25561
|
|
|
25561
|
-
/*! @azure/msal-common v16.
|
|
25562
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25562
25563
|
|
|
25563
25564
|
/*
|
|
25564
25565
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -25753,7 +25754,7 @@ class ScopeSet {
|
|
|
25753
25754
|
}
|
|
25754
25755
|
}
|
|
25755
25756
|
|
|
25756
|
-
/*! @azure/msal-common v16.
|
|
25757
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
25757
25758
|
|
|
25758
25759
|
/*
|
|
25759
25760
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26142,7 +26143,7 @@ function addResource(parameters, resource) {
|
|
|
26142
26143
|
}
|
|
26143
26144
|
}
|
|
26144
26145
|
|
|
26145
|
-
/*! @azure/msal-common v16.
|
|
26146
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26146
26147
|
|
|
26147
26148
|
/*
|
|
26148
26149
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26251,7 +26252,7 @@ function normalizeUrlForComparison(url) {
|
|
|
26251
26252
|
}
|
|
26252
26253
|
}
|
|
26253
26254
|
|
|
26254
|
-
/*! @azure/msal-common v16.
|
|
26255
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26255
26256
|
|
|
26256
26257
|
/*
|
|
26257
26258
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26290,7 +26291,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
26290
26291
|
},
|
|
26291
26292
|
};
|
|
26292
26293
|
|
|
26293
|
-
/*! @azure/msal-common v16.
|
|
26294
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26294
26295
|
/*
|
|
26295
26296
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
26296
26297
|
* Licensed under the MIT License.
|
|
@@ -26551,12 +26552,12 @@ class Logger {
|
|
|
26551
26552
|
}
|
|
26552
26553
|
}
|
|
26553
26554
|
|
|
26554
|
-
/*! @azure/msal-common v16.
|
|
26555
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26555
26556
|
/* eslint-disable header/header */
|
|
26556
26557
|
const name$1 = "@azure/msal-common";
|
|
26557
|
-
const version$4 = "16.
|
|
26558
|
+
const version$4 = "16.6.1";
|
|
26558
26559
|
|
|
26559
|
-
/*! @azure/msal-common v16.
|
|
26560
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26560
26561
|
/*
|
|
26561
26562
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
26562
26563
|
* Licensed under the MIT License.
|
|
@@ -26565,7 +26566,7 @@ const AzureCloudInstance = {
|
|
|
26565
26566
|
// AzureCloudInstance is not specified.
|
|
26566
26567
|
None: "none"};
|
|
26567
26568
|
|
|
26568
|
-
/*! @azure/msal-common v16.
|
|
26569
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26569
26570
|
/*
|
|
26570
26571
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
26571
26572
|
* Licensed under the MIT License.
|
|
@@ -26648,7 +26649,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
26648
26649
|
return updatedAccountInfo;
|
|
26649
26650
|
}
|
|
26650
26651
|
|
|
26651
|
-
/*! @azure/msal-common v16.
|
|
26652
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26652
26653
|
|
|
26653
26654
|
/*
|
|
26654
26655
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26728,7 +26729,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
26728
26729
|
}
|
|
26729
26730
|
}
|
|
26730
26731
|
|
|
26731
|
-
/*! @azure/msal-common v16.
|
|
26732
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26732
26733
|
|
|
26733
26734
|
/*
|
|
26734
26735
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26885,7 +26886,7 @@ class UrlString {
|
|
|
26885
26886
|
}
|
|
26886
26887
|
}
|
|
26887
26888
|
|
|
26888
|
-
/*! @azure/msal-common v16.
|
|
26889
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
26889
26890
|
|
|
26890
26891
|
/*
|
|
26891
26892
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -26971,6 +26972,15 @@ const rawMetdataJSON = {
|
|
|
26971
26972
|
preferred_cache: "login.sovcloud-identity.sg",
|
|
26972
26973
|
aliases: ["login.sovcloud-identity.sg"],
|
|
26973
26974
|
},
|
|
26975
|
+
{
|
|
26976
|
+
preferred_network: "login.windows-ppe.net",
|
|
26977
|
+
preferred_cache: "login.windows-ppe.net",
|
|
26978
|
+
aliases: [
|
|
26979
|
+
"login.windows-ppe.net",
|
|
26980
|
+
"sts.windows-ppe.net",
|
|
26981
|
+
"login.microsoft-ppe.com",
|
|
26982
|
+
],
|
|
26983
|
+
},
|
|
26974
26984
|
],
|
|
26975
26985
|
},
|
|
26976
26986
|
};
|
|
@@ -27042,7 +27052,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
27042
27052
|
return null;
|
|
27043
27053
|
}
|
|
27044
27054
|
|
|
27045
|
-
/*! @azure/msal-common v16.
|
|
27055
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27046
27056
|
/*
|
|
27047
27057
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27048
27058
|
* Licensed under the MIT License.
|
|
@@ -27050,7 +27060,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
27050
27060
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
27051
27061
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
27052
27062
|
|
|
27053
|
-
/*! @azure/msal-common v16.
|
|
27063
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27054
27064
|
|
|
27055
27065
|
/*
|
|
27056
27066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27088,7 +27098,7 @@ function createCacheError(e) {
|
|
|
27088
27098
|
}
|
|
27089
27099
|
}
|
|
27090
27100
|
|
|
27091
|
-
/*! @azure/msal-common v16.
|
|
27101
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27092
27102
|
|
|
27093
27103
|
/*
|
|
27094
27104
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -27126,7 +27136,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
27126
27136
|
};
|
|
27127
27137
|
}
|
|
27128
27138
|
|
|
27129
|
-
/*! @azure/msal-common v16.
|
|
27139
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27130
27140
|
/*
|
|
27131
27141
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27132
27142
|
* Licensed under the MIT License.
|
|
@@ -27141,7 +27151,7 @@ const AuthorityType = {
|
|
|
27141
27151
|
Ciam: 3,
|
|
27142
27152
|
};
|
|
27143
27153
|
|
|
27144
|
-
/*! @azure/msal-common v16.
|
|
27154
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27145
27155
|
/*
|
|
27146
27156
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27147
27157
|
* Licensed under the MIT License.
|
|
@@ -27163,7 +27173,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
27163
27173
|
return null;
|
|
27164
27174
|
}
|
|
27165
27175
|
|
|
27166
|
-
/*! @azure/msal-common v16.
|
|
27176
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27167
27177
|
/*
|
|
27168
27178
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
27169
27179
|
* Licensed under the MIT License.
|
|
@@ -27187,7 +27197,7 @@ const ProtocolMode = {
|
|
|
27187
27197
|
EAR: "EAR",
|
|
27188
27198
|
};
|
|
27189
27199
|
|
|
27190
|
-
/*! @azure/msal-common v16.
|
|
27200
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27191
27201
|
/**
|
|
27192
27202
|
* Returns the AccountInfo interface for this account.
|
|
27193
27203
|
*/
|
|
@@ -27362,7 +27372,7 @@ function isAccountEntity(entity) {
|
|
|
27362
27372
|
entity.hasOwnProperty("authorityType"));
|
|
27363
27373
|
}
|
|
27364
27374
|
|
|
27365
|
-
/*! @azure/msal-common v16.
|
|
27375
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
27366
27376
|
|
|
27367
27377
|
/*
|
|
27368
27378
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28493,7 +28503,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
28493
28503
|
}
|
|
28494
28504
|
}
|
|
28495
28505
|
|
|
28496
|
-
/*! @azure/msal-common v16.
|
|
28506
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28497
28507
|
/*
|
|
28498
28508
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28499
28509
|
* Licensed under the MIT License.
|
|
@@ -28507,7 +28517,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
28507
28517
|
const PerformanceEventStatus = {
|
|
28508
28518
|
InProgress: 1};
|
|
28509
28519
|
|
|
28510
|
-
/*! @azure/msal-common v16.
|
|
28520
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28511
28521
|
|
|
28512
28522
|
/*
|
|
28513
28523
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28562,7 +28572,7 @@ class StubPerformanceClient {
|
|
|
28562
28572
|
}
|
|
28563
28573
|
}
|
|
28564
28574
|
|
|
28565
|
-
/*! @azure/msal-common v16.
|
|
28575
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28566
28576
|
|
|
28567
28577
|
/*
|
|
28568
28578
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -28657,7 +28667,7 @@ function isOidcProtocolMode(config) {
|
|
|
28657
28667
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
28658
28668
|
}
|
|
28659
28669
|
|
|
28660
|
-
/*! @azure/msal-common v16.
|
|
28670
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28661
28671
|
/*
|
|
28662
28672
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28663
28673
|
* Licensed under the MIT License.
|
|
@@ -28684,7 +28694,7 @@ function isOidcProtocolMode(config) {
|
|
|
28684
28694
|
}
|
|
28685
28695
|
}
|
|
28686
28696
|
|
|
28687
|
-
/*! @azure/msal-common v16.
|
|
28697
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28688
28698
|
/*
|
|
28689
28699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
28690
28700
|
* Licensed under the MIT License.
|
|
@@ -28749,7 +28759,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
28749
28759
|
return cachedAtSec > nowSeconds();
|
|
28750
28760
|
}
|
|
28751
28761
|
|
|
28752
|
-
/*! @azure/msal-common v16.
|
|
28762
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
28753
28763
|
|
|
28754
28764
|
/*
|
|
28755
28765
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29008,7 +29018,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
29008
29018
|
return metadata.expiresAt <= nowSeconds();
|
|
29009
29019
|
}
|
|
29010
29020
|
|
|
29011
|
-
/*! @azure/msal-common v16.
|
|
29021
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29012
29022
|
/*
|
|
29013
29023
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29014
29024
|
* Licensed under the MIT License.
|
|
@@ -29079,7 +29089,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
29079
29089
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
29080
29090
|
const SetUserData = "setUserData";
|
|
29081
29091
|
|
|
29082
|
-
/*! @azure/msal-common v16.
|
|
29092
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29083
29093
|
/*
|
|
29084
29094
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29085
29095
|
* Licensed under the MIT License.
|
|
@@ -29172,7 +29182,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
29172
29182
|
};
|
|
29173
29183
|
};
|
|
29174
29184
|
|
|
29175
|
-
/*! @azure/msal-common v16.
|
|
29185
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29176
29186
|
|
|
29177
29187
|
/*
|
|
29178
29188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29252,7 +29262,7 @@ class PopTokenGenerator {
|
|
|
29252
29262
|
}
|
|
29253
29263
|
}
|
|
29254
29264
|
|
|
29255
|
-
/*! @azure/msal-common v16.
|
|
29265
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29256
29266
|
/*
|
|
29257
29267
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29258
29268
|
* Licensed under the MIT License.
|
|
@@ -29303,7 +29313,7 @@ const badToken = "bad_token";
|
|
|
29303
29313
|
*/
|
|
29304
29314
|
const interruptedUser = "interrupted_user";
|
|
29305
29315
|
|
|
29306
|
-
/*! @azure/msal-common v16.
|
|
29316
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29307
29317
|
|
|
29308
29318
|
/*
|
|
29309
29319
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29371,7 +29381,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
|
|
|
29371
29381
|
return new InteractionRequiredAuthError(errorCode, errorMessage);
|
|
29372
29382
|
}
|
|
29373
29383
|
|
|
29374
|
-
/*! @azure/msal-common v16.
|
|
29384
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29375
29385
|
|
|
29376
29386
|
/*
|
|
29377
29387
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29390,7 +29400,7 @@ class ServerError extends AuthError {
|
|
|
29390
29400
|
}
|
|
29391
29401
|
}
|
|
29392
29402
|
|
|
29393
|
-
/*! @azure/msal-common v16.
|
|
29403
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29394
29404
|
|
|
29395
29405
|
/*
|
|
29396
29406
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29458,7 +29468,7 @@ function parseRequestState(base64Decode, state) {
|
|
|
29458
29468
|
}
|
|
29459
29469
|
}
|
|
29460
29470
|
|
|
29461
|
-
/*! @azure/msal-common v16.
|
|
29471
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29462
29472
|
|
|
29463
29473
|
/*
|
|
29464
29474
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29806,7 +29816,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
29806
29816
|
return baseAccount;
|
|
29807
29817
|
}
|
|
29808
29818
|
|
|
29809
|
-
/*! @azure/msal-common v16.
|
|
29819
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29810
29820
|
/*
|
|
29811
29821
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29812
29822
|
* Licensed under the MIT License.
|
|
@@ -29816,7 +29826,7 @@ const CcsCredentialType = {
|
|
|
29816
29826
|
UPN: "UPN",
|
|
29817
29827
|
};
|
|
29818
29828
|
|
|
29819
|
-
/*! @azure/msal-common v16.
|
|
29829
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29820
29830
|
/*
|
|
29821
29831
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29822
29832
|
* Licensed under the MIT License.
|
|
@@ -29834,7 +29844,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
29834
29844
|
}
|
|
29835
29845
|
}
|
|
29836
29846
|
|
|
29837
|
-
/*! @azure/msal-common v16.
|
|
29847
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29838
29848
|
/*
|
|
29839
29849
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29840
29850
|
* Licensed under the MIT License.
|
|
@@ -29855,7 +29865,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
29855
29865
|
};
|
|
29856
29866
|
}
|
|
29857
29867
|
|
|
29858
|
-
/*! @azure/msal-common v16.
|
|
29868
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29859
29869
|
|
|
29860
29870
|
/*
|
|
29861
29871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29941,7 +29951,7 @@ class ThrottlingUtils {
|
|
|
29941
29951
|
}
|
|
29942
29952
|
}
|
|
29943
29953
|
|
|
29944
|
-
/*! @azure/msal-common v16.
|
|
29954
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29945
29955
|
|
|
29946
29956
|
/*
|
|
29947
29957
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -29972,7 +29982,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
29972
29982
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
29973
29983
|
}
|
|
29974
29984
|
|
|
29975
|
-
/*! @azure/msal-common v16.
|
|
29985
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
29976
29986
|
|
|
29977
29987
|
/*
|
|
29978
29988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30086,7 +30096,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
30086
30096
|
return response;
|
|
30087
30097
|
}
|
|
30088
30098
|
|
|
30089
|
-
/*! @azure/msal-common v16.
|
|
30099
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
30090
30100
|
/*
|
|
30091
30101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30092
30102
|
* Licensed under the MIT License.
|
|
@@ -30098,7 +30108,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
30098
30108
|
response.hasOwnProperty("jwks_uri"));
|
|
30099
30109
|
}
|
|
30100
30110
|
|
|
30101
|
-
/*! @azure/msal-common v16.
|
|
30111
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
30102
30112
|
/*
|
|
30103
30113
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30104
30114
|
* Licensed under the MIT License.
|
|
@@ -30108,7 +30118,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
30108
30118
|
response.hasOwnProperty("metadata"));
|
|
30109
30119
|
}
|
|
30110
30120
|
|
|
30111
|
-
/*! @azure/msal-common v16.
|
|
30121
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
30112
30122
|
/*
|
|
30113
30123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
30114
30124
|
* Licensed under the MIT License.
|
|
@@ -30118,7 +30128,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
30118
30128
|
response.hasOwnProperty("error_description"));
|
|
30119
30129
|
}
|
|
30120
30130
|
|
|
30121
|
-
/*! @azure/msal-common v16.
|
|
30131
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
30122
30132
|
|
|
30123
30133
|
/*
|
|
30124
30134
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30223,7 +30233,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
30223
30233
|
},
|
|
30224
30234
|
};
|
|
30225
30235
|
|
|
30226
|
-
/*! @azure/msal-common v16.
|
|
30236
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
30227
30237
|
|
|
30228
30238
|
/*
|
|
30229
30239
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -30478,7 +30488,7 @@ class Authority {
|
|
|
30478
30488
|
}, this.correlationId);
|
|
30479
30489
|
}
|
|
30480
30490
|
/**
|
|
30481
|
-
* Returns metadata entity from cache if it exists,
|
|
30491
|
+
* Returns metadata entity from cache if it exists, otherwise returns a new metadata entity built
|
|
30482
30492
|
* from the configured canonical authority
|
|
30483
30493
|
* @returns
|
|
30484
30494
|
*/
|
|
@@ -30547,6 +30557,8 @@ class Authority {
|
|
|
30547
30557
|
// Get metadata from network if local sources aren't available
|
|
30548
30558
|
let metadata = await invokeAsync(this.getEndpointMetadataFromNetwork.bind(this), AuthorityGetEndpointMetadataFromNetwork, this.logger, this.performanceClient, this.correlationId)();
|
|
30549
30559
|
if (metadata) {
|
|
30560
|
+
// Validate the issuer returned by the OIDC discovery document.
|
|
30561
|
+
this.validateIssuer(metadata.issuer);
|
|
30550
30562
|
// If the user prefers to use an azure region replace the global endpoints with regional information.
|
|
30551
30563
|
if (this.authorityOptions.azureRegionConfiguration?.azureRegion) {
|
|
30552
30564
|
metadata = await invokeAsync(this.updateMetadataWithRegionalInformation.bind(this), AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(metadata);
|
|
@@ -30715,7 +30727,7 @@ class Authority {
|
|
|
30715
30727
|
throw createClientConfigurationError(untrustedAuthority);
|
|
30716
30728
|
}
|
|
30717
30729
|
updateCloudDiscoveryMetadataFromLocalSources(metadataEntity) {
|
|
30718
|
-
this.logger.verbose("
|
|
30730
|
+
this.logger.verbose("1tpqlr", this.correlationId);
|
|
30719
30731
|
this.logger.verbosePii("1fy7uz", this.correlationId);
|
|
30720
30732
|
this.logger.verbosePii("08zabj", this.correlationId);
|
|
30721
30733
|
this.logger.verbosePii("1o1kv3", this.correlationId);
|
|
@@ -30912,6 +30924,139 @@ class Authority {
|
|
|
30912
30924
|
isAliasOfKnownMicrosoftAuthority(host) {
|
|
30913
30925
|
return InstanceDiscoveryMetadataAliases.has(host);
|
|
30914
30926
|
}
|
|
30927
|
+
/**
|
|
30928
|
+
* Validates the `issuer` returned by an OIDC discovery document against
|
|
30929
|
+
* this authority, per
|
|
30930
|
+
* https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationValidation
|
|
30931
|
+
*
|
|
30932
|
+
* The issuer is accepted when ANY of the following holds:
|
|
30933
|
+
* 1. The issuer scheme + host + port match the authority's (path may
|
|
30934
|
+
* differ). Applies to all authorities.
|
|
30935
|
+
* 2. The authority is a Microsoft cloud authority (public, sovereign,
|
|
30936
|
+
* or CIAM), the issuer is HTTPS, and the issuer host is in the known
|
|
30937
|
+
* Microsoft authority host set.
|
|
30938
|
+
* 3. Same as (2), but the issuer host is a single-label regional variant
|
|
30939
|
+
* of a known Microsoft host (e.g. `westus.login.microsoftonline.com`).
|
|
30940
|
+
* 4. Same as (2), but the issuer host matches the CIAM tenant pattern
|
|
30941
|
+
* `{tenant}.ciamlogin.com` with an optional `/{tenant}[.onmicrosoft.com][/v2.0]`
|
|
30942
|
+
* path.
|
|
30943
|
+
*
|
|
30944
|
+
* @param issuer The `issuer` value returned in the OIDC discovery document.
|
|
30945
|
+
* @throws ClientConfigurationError("issuer_validation_failed") on failure.
|
|
30946
|
+
*/
|
|
30947
|
+
validateIssuer(issuer) {
|
|
30948
|
+
if (!issuer) {
|
|
30949
|
+
throw createClientConfigurationError(issuerValidationFailed);
|
|
30950
|
+
}
|
|
30951
|
+
// Parse with the WHATWG URL API. URL normalizes scheme + host to lowercase per RFC 3986.
|
|
30952
|
+
let issuerUrl;
|
|
30953
|
+
try {
|
|
30954
|
+
issuerUrl = new URL(issuer);
|
|
30955
|
+
}
|
|
30956
|
+
catch {
|
|
30957
|
+
throw createClientConfigurationError(issuerValidationFailed);
|
|
30958
|
+
}
|
|
30959
|
+
const issuerScheme = issuerUrl.protocol;
|
|
30960
|
+
const issuerHost = issuerUrl.host;
|
|
30961
|
+
const authorityScheme = (this.canonicalAuthorityUrlComponents.Protocol || "").toLowerCase();
|
|
30962
|
+
const authorityHost = (this.canonicalAuthorityUrlComponents.HostNameAndPort || "").toLowerCase();
|
|
30963
|
+
// Rule 1: Same scheme and host
|
|
30964
|
+
const matchesAuthorityOrigin = this.matchesAuthorityOrigin(issuerScheme, issuerHost, authorityScheme, authorityHost);
|
|
30965
|
+
// Rule 2: The issuer host is a well-known Microsoft authority host (HTTPS only)
|
|
30966
|
+
const matchesKnownMicrosoftHost = issuerScheme === "https:" &&
|
|
30967
|
+
this.isAliasOfKnownMicrosoftAuthority(issuerHost);
|
|
30968
|
+
/*
|
|
30969
|
+
* Rule 3: The issuer host is a regional variant ({region}.{host}) of a well-known host
|
|
30970
|
+
* (HTTPS only). E.g. westus2.login.microsoft.com
|
|
30971
|
+
*/
|
|
30972
|
+
const matchesRegionalMicrosoftHost = issuerScheme === "https:" &&
|
|
30973
|
+
this.matchesRegionalMicrosoftHost(issuerHost);
|
|
30974
|
+
/*
|
|
30975
|
+
* Rule 4: CIAM-specific validation. In a CIAM scenario the issuer is expected to
|
|
30976
|
+
* have "{tenant}.ciamlogin.com" as the host, even when using a custom domain.
|
|
30977
|
+
*/
|
|
30978
|
+
const matchesCiamTenantPattern = this.matchesCiamTenantPattern(issuerUrl, authorityHost, this.canonicalAuthorityUrlComponents.PathSegments);
|
|
30979
|
+
// Each rule is an independent boolean; the issuer is valid if ANY rule matches.
|
|
30980
|
+
if (matchesAuthorityOrigin ||
|
|
30981
|
+
matchesKnownMicrosoftHost ||
|
|
30982
|
+
matchesRegionalMicrosoftHost ||
|
|
30983
|
+
matchesCiamTenantPattern) {
|
|
30984
|
+
return;
|
|
30985
|
+
}
|
|
30986
|
+
// issuer validation fails if none of the above rules are satisfied
|
|
30987
|
+
throw createClientConfigurationError(issuerValidationFailed);
|
|
30988
|
+
}
|
|
30989
|
+
/**
|
|
30990
|
+
* Rule 1: The issuer scheme + host (and port) match the authority's. Path
|
|
30991
|
+
* may differ. Applies to all authorities.
|
|
30992
|
+
*/
|
|
30993
|
+
matchesAuthorityOrigin(issuerScheme, issuerHost, authorityScheme, authorityHost) {
|
|
30994
|
+
return issuerScheme === authorityScheme && issuerHost === authorityHost;
|
|
30995
|
+
}
|
|
30996
|
+
/**
|
|
30997
|
+
* Rule 3: The issuer host is a regional variant
|
|
30998
|
+
* (`{region}.{host}`) of a known Microsoft authority host.
|
|
30999
|
+
* E.g. `westus2.login.microsoft.com`.
|
|
31000
|
+
*/
|
|
31001
|
+
matchesRegionalMicrosoftHost(issuerHost) {
|
|
31002
|
+
const firstDot = issuerHost.indexOf(".");
|
|
31003
|
+
if (firstDot > 0 && firstDot < issuerHost.length - 1) {
|
|
31004
|
+
const hostWithoutRegion = issuerHost.substring(firstDot + 1);
|
|
31005
|
+
return this.isAliasOfKnownMicrosoftAuthority(hostWithoutRegion);
|
|
31006
|
+
}
|
|
31007
|
+
return false;
|
|
31008
|
+
}
|
|
31009
|
+
/**
|
|
31010
|
+
* Rule 4: The issuer matches one of the well-known CIAM tenant patterns
|
|
31011
|
+
* (`https://{tenant}.ciamlogin.com[/{tenant}[.onmicrosoft.com][/v2.0]]`).
|
|
31012
|
+
*
|
|
31013
|
+
* The bare tenant name is extracted from the authority's first path segment
|
|
31014
|
+
* when available (stripping the `.onmicrosoft.com` suffix that
|
|
31015
|
+
* `transformCIAMAuthority` adds), or otherwise from the leftmost label of
|
|
31016
|
+
* the authority host (to support CIAM custom domain scenarios).
|
|
31017
|
+
*
|
|
31018
|
+
* Both `/{tenant}` and `/{tenant}.onmicrosoft.com` path forms are accepted
|
|
31019
|
+
* because the OIDC issuer may use either form depending on the authority URL
|
|
31020
|
+
* that was used to trigger discovery.
|
|
31021
|
+
*/
|
|
31022
|
+
matchesCiamTenantPattern(issuerUrl, authorityHost, authorityPathSegments) {
|
|
31023
|
+
/*
|
|
31024
|
+
* authorityPathSegments[0] is the first path segment of the *authority
|
|
31025
|
+
* URL* after transformCIAMAuthority runs (e.g. "contoso.onmicrosoft.com").
|
|
31026
|
+
* Additional CIAM issuer path segments such as "/v2.0" are part of the
|
|
31027
|
+
* issuer string, not the authority URL's PathSegments.
|
|
31028
|
+
*/
|
|
31029
|
+
const pathSegment = authorityPathSegments[0];
|
|
31030
|
+
/*
|
|
31031
|
+
* Extract the bare tenant name: strip the .onmicrosoft.com suffix when
|
|
31032
|
+
* present (introduced by transformCIAMAuthority), or fall back to the
|
|
31033
|
+
* first label of the authority hostname for non-transformed/custom-domain
|
|
31034
|
+
* CIAM authorities.
|
|
31035
|
+
*/
|
|
31036
|
+
const tenantName = pathSegment
|
|
31037
|
+
? pathSegment.endsWith(AAD_TENANT_DOMAIN_SUFFIX)
|
|
31038
|
+
? pathSegment.slice(0, -AAD_TENANT_DOMAIN_SUFFIX.length)
|
|
31039
|
+
: pathSegment
|
|
31040
|
+
: authorityHost.split(".")[0];
|
|
31041
|
+
if (!tenantName) {
|
|
31042
|
+
return false;
|
|
31043
|
+
}
|
|
31044
|
+
const ciamBaseURL = `https://${tenantName}${CIAM_AUTH_URL}`;
|
|
31045
|
+
const validCiamPatterns = [
|
|
31046
|
+
ciamBaseURL,
|
|
31047
|
+
`${ciamBaseURL}/${tenantName}`,
|
|
31048
|
+
`${ciamBaseURL}/${tenantName}/v2.0`,
|
|
31049
|
+
`${ciamBaseURL}/${tenantName}${AAD_TENANT_DOMAIN_SUFFIX}`,
|
|
31050
|
+
`${ciamBaseURL}/${tenantName}${AAD_TENANT_DOMAIN_SUFFIX}/v2.0`, // https://{tenant}.ciamlogin.com/{tenant}.onmicrosoft.com/v2.0
|
|
31051
|
+
];
|
|
31052
|
+
/*
|
|
31053
|
+
* Compose the canonical issuer string from URL components and strip any
|
|
31054
|
+
* trailing slashes from the path so it can be compared to the pattern set.
|
|
31055
|
+
*/
|
|
31056
|
+
const issuerPath = issuerUrl.pathname.replace(/\/+$/, "");
|
|
31057
|
+
const normalizedIssuer = `${issuerUrl.protocol}//${issuerUrl.host}${issuerPath}`;
|
|
31058
|
+
return validCiamPatterns.some((pattern) => pattern === normalizedIssuer);
|
|
31059
|
+
}
|
|
30915
31060
|
/**
|
|
30916
31061
|
* Checks whether the provided host is that of a public cloud authority
|
|
30917
31062
|
*
|
|
@@ -31043,7 +31188,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
31043
31188
|
};
|
|
31044
31189
|
}
|
|
31045
31190
|
|
|
31046
|
-
/*! @azure/msal-common v16.
|
|
31191
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31047
31192
|
|
|
31048
31193
|
/*
|
|
31049
31194
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31077,7 +31222,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
31077
31222
|
}
|
|
31078
31223
|
}
|
|
31079
31224
|
|
|
31080
|
-
/*! @azure/msal-common v16.
|
|
31225
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31081
31226
|
|
|
31082
31227
|
/*
|
|
31083
31228
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31334,7 +31479,7 @@ class AuthorizationCodeClient {
|
|
|
31334
31479
|
}
|
|
31335
31480
|
}
|
|
31336
31481
|
|
|
31337
|
-
/*! @azure/msal-common v16.
|
|
31482
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31338
31483
|
|
|
31339
31484
|
/*
|
|
31340
31485
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31555,7 +31700,7 @@ class RefreshTokenClient {
|
|
|
31555
31700
|
}
|
|
31556
31701
|
}
|
|
31557
31702
|
|
|
31558
|
-
/*! @azure/msal-common v16.
|
|
31703
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31559
31704
|
|
|
31560
31705
|
/*
|
|
31561
31706
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31671,7 +31816,7 @@ class SilentFlowClient {
|
|
|
31671
31816
|
}
|
|
31672
31817
|
}
|
|
31673
31818
|
|
|
31674
|
-
/*! @azure/msal-common v16.
|
|
31819
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31675
31820
|
|
|
31676
31821
|
/*
|
|
31677
31822
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31686,7 +31831,7 @@ const StubbedNetworkModule = {
|
|
|
31686
31831
|
},
|
|
31687
31832
|
};
|
|
31688
31833
|
|
|
31689
|
-
/*! @azure/msal-common v16.
|
|
31834
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31690
31835
|
|
|
31691
31836
|
/*
|
|
31692
31837
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31909,7 +32054,7 @@ function extractLoginHint(account) {
|
|
|
31909
32054
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
31910
32055
|
}
|
|
31911
32056
|
|
|
31912
|
-
/*! @azure/msal-common v16.
|
|
32057
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31913
32058
|
|
|
31914
32059
|
/*
|
|
31915
32060
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -31942,7 +32087,7 @@ function containsResourceParam(params) {
|
|
|
31942
32087
|
return Object.prototype.hasOwnProperty.call(params, "resource");
|
|
31943
32088
|
}
|
|
31944
32089
|
|
|
31945
|
-
/*! @azure/msal-common v16.
|
|
32090
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31946
32091
|
/*
|
|
31947
32092
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
31948
32093
|
* Licensed under the MIT License.
|
|
@@ -31952,7 +32097,7 @@ function containsResourceParam(params) {
|
|
|
31952
32097
|
*/
|
|
31953
32098
|
const unexpectedError = "unexpected_error";
|
|
31954
32099
|
|
|
31955
|
-
/*! @azure/msal-common v16.
|
|
32100
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
31956
32101
|
|
|
31957
32102
|
/*
|
|
31958
32103
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32213,7 +32358,7 @@ class ServerTelemetryManager {
|
|
|
32213
32358
|
}
|
|
32214
32359
|
}
|
|
32215
32360
|
|
|
32216
|
-
/*! @azure/msal-common v16.
|
|
32361
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
32217
32362
|
|
|
32218
32363
|
/*
|
|
32219
32364
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32234,7 +32379,7 @@ function createJoseHeaderError(code) {
|
|
|
32234
32379
|
return new JoseHeaderError(code);
|
|
32235
32380
|
}
|
|
32236
32381
|
|
|
32237
|
-
/*! @azure/msal-common v16.
|
|
32382
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
32238
32383
|
/*
|
|
32239
32384
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
32240
32385
|
* Licensed under the MIT License.
|
|
@@ -32242,7 +32387,7 @@ function createJoseHeaderError(code) {
|
|
|
32242
32387
|
const missingKidError = "missing_kid_error";
|
|
32243
32388
|
const missingAlgError = "missing_alg_error";
|
|
32244
32389
|
|
|
32245
|
-
/*! @azure/msal-common v16.
|
|
32390
|
+
/*! @azure/msal-common v16.6.1 2026-05-11 */
|
|
32246
32391
|
|
|
32247
32392
|
/*
|
|
32248
32393
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32282,7 +32427,7 @@ class JoseHeader {
|
|
|
32282
32427
|
}
|
|
32283
32428
|
}
|
|
32284
32429
|
|
|
32285
|
-
/*! @azure/msal-browser v5.
|
|
32430
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32286
32431
|
/*
|
|
32287
32432
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
32288
32433
|
* Licensed under the MIT License.
|
|
@@ -32410,7 +32555,7 @@ const DecryptEarResponse = "decryptEarResponse";
|
|
|
32410
32555
|
*/
|
|
32411
32556
|
const WaitForBridgeLateResponse = "waitForBridgeLateResponse";
|
|
32412
32557
|
|
|
32413
|
-
/*! @azure/msal-browser v5.
|
|
32558
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32414
32559
|
|
|
32415
32560
|
/*
|
|
32416
32561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32433,7 +32578,7 @@ function createBrowserAuthError(errorCode, subError) {
|
|
|
32433
32578
|
return new BrowserAuthError(errorCode, subError);
|
|
32434
32579
|
}
|
|
32435
32580
|
|
|
32436
|
-
/*! @azure/msal-browser v5.
|
|
32581
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32437
32582
|
|
|
32438
32583
|
/*
|
|
32439
32584
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32619,7 +32764,7 @@ const iFrameRenewalPolicies = [
|
|
|
32619
32764
|
CacheLookupPolicy.RefreshTokenAndNetwork,
|
|
32620
32765
|
];
|
|
32621
32766
|
|
|
32622
|
-
/*! @azure/msal-browser v5.
|
|
32767
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32623
32768
|
/*
|
|
32624
32769
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
32625
32770
|
* Licensed under the MIT License.
|
|
@@ -32664,7 +32809,7 @@ function base64EncArr(aBytes) {
|
|
|
32664
32809
|
return btoa(binString);
|
|
32665
32810
|
}
|
|
32666
32811
|
|
|
32667
|
-
/*! @azure/msal-browser v5.
|
|
32812
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32668
32813
|
/*
|
|
32669
32814
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
32670
32815
|
* Licensed under the MIT License.
|
|
@@ -32717,7 +32862,7 @@ const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
|
|
|
32717
32862
|
const timedOut = "timed_out";
|
|
32718
32863
|
const emptyResponse = "empty_response";
|
|
32719
32864
|
|
|
32720
|
-
/*! @azure/msal-browser v5.
|
|
32865
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32721
32866
|
|
|
32722
32867
|
/*
|
|
32723
32868
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -32756,7 +32901,7 @@ function base64DecToArr(base64String) {
|
|
|
32756
32901
|
return Uint8Array.from(binString, (m) => m.codePointAt(0) || 0);
|
|
32757
32902
|
}
|
|
32758
32903
|
|
|
32759
|
-
/*! @azure/msal-browser v5.
|
|
32904
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
32760
32905
|
|
|
32761
32906
|
/*
|
|
32762
32907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33054,7 +33199,7 @@ async function hashString(plainText) {
|
|
|
33054
33199
|
return urlEncodeArr(hashBytes);
|
|
33055
33200
|
}
|
|
33056
33201
|
|
|
33057
|
-
/*! @azure/msal-browser v5.
|
|
33202
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33058
33203
|
|
|
33059
33204
|
/*
|
|
33060
33205
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33074,7 +33219,7 @@ function createBrowserConfigurationAuthError(errorCode) {
|
|
|
33074
33219
|
return new BrowserConfigurationAuthError(errorCode, getDefaultErrorMessage(errorCode));
|
|
33075
33220
|
}
|
|
33076
33221
|
|
|
33077
|
-
/*! @azure/msal-browser v5.
|
|
33222
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33078
33223
|
/*
|
|
33079
33224
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33080
33225
|
* Licensed under the MIT License.
|
|
@@ -33082,7 +33227,7 @@ function createBrowserConfigurationAuthError(errorCode) {
|
|
|
33082
33227
|
const storageNotSupported = "storage_not_supported";
|
|
33083
33228
|
const inMemRedirectUnavailable = "in_mem_redirect_unavailable";
|
|
33084
33229
|
|
|
33085
|
-
/*! @azure/msal-browser v5.
|
|
33230
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33086
33231
|
|
|
33087
33232
|
/*
|
|
33088
33233
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33417,7 +33562,7 @@ function createGuid() {
|
|
|
33417
33562
|
return createNewGuid();
|
|
33418
33563
|
}
|
|
33419
33564
|
|
|
33420
|
-
/*! @azure/msal-browser v5.
|
|
33565
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33421
33566
|
|
|
33422
33567
|
/*
|
|
33423
33568
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33620,7 +33765,7 @@ class DatabaseStorage {
|
|
|
33620
33765
|
}
|
|
33621
33766
|
}
|
|
33622
33767
|
|
|
33623
|
-
/*! @azure/msal-browser v5.
|
|
33768
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33624
33769
|
/*
|
|
33625
33770
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33626
33771
|
* Licensed under the MIT License.
|
|
@@ -33666,7 +33811,7 @@ class MemoryStorage {
|
|
|
33666
33811
|
}
|
|
33667
33812
|
}
|
|
33668
33813
|
|
|
33669
|
-
/*! @azure/msal-browser v5.
|
|
33814
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33670
33815
|
|
|
33671
33816
|
/*
|
|
33672
33817
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33807,7 +33952,7 @@ class AsyncMemoryStorage {
|
|
|
33807
33952
|
}
|
|
33808
33953
|
}
|
|
33809
33954
|
|
|
33810
|
-
/*! @azure/msal-browser v5.
|
|
33955
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33811
33956
|
|
|
33812
33957
|
/*
|
|
33813
33958
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -33990,7 +34135,7 @@ function getSortedObjectString(obj) {
|
|
|
33990
34135
|
return JSON.stringify(obj, Object.keys(obj).sort());
|
|
33991
34136
|
}
|
|
33992
34137
|
|
|
33993
|
-
/*! @azure/msal-browser v5.
|
|
34138
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
33994
34139
|
/*
|
|
33995
34140
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
33996
34141
|
* Licensed under the MIT License.
|
|
@@ -34037,7 +34182,7 @@ const LocalStorageUpdated = "localStorageUpdated";
|
|
|
34037
34182
|
*/
|
|
34038
34183
|
const SsoCapable = "ssoCapable";
|
|
34039
34184
|
|
|
34040
|
-
/*! @azure/msal-browser v5.
|
|
34185
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34041
34186
|
/*
|
|
34042
34187
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
34043
34188
|
* Licensed under the MIT License.
|
|
@@ -34067,7 +34212,7 @@ function getTokenKeysCacheKey(clientId, schema = CREDENTIAL_SCHEMA_VERSION) {
|
|
|
34067
34212
|
return `${PREFIX}.${schema}.${TOKEN_KEYS}.${clientId}`;
|
|
34068
34213
|
}
|
|
34069
34214
|
|
|
34070
|
-
/*! @azure/msal-browser v5.
|
|
34215
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34071
34216
|
|
|
34072
34217
|
/*
|
|
34073
34218
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34158,7 +34303,7 @@ function getCookieExpirationTime(cookieLifeDays) {
|
|
|
34158
34303
|
return expr.toUTCString();
|
|
34159
34304
|
}
|
|
34160
34305
|
|
|
34161
|
-
/*! @azure/msal-browser v5.
|
|
34306
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34162
34307
|
|
|
34163
34308
|
/*
|
|
34164
34309
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34200,7 +34345,7 @@ function getTokenKeys(clientId, storage, schemaVersion) {
|
|
|
34200
34345
|
};
|
|
34201
34346
|
}
|
|
34202
34347
|
|
|
34203
|
-
/*! @azure/msal-browser v5.
|
|
34348
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34204
34349
|
/*
|
|
34205
34350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
34206
34351
|
* Licensed under the MIT License.
|
|
@@ -34211,7 +34356,7 @@ function isEncrypted(data) {
|
|
|
34211
34356
|
data.hasOwnProperty("data"));
|
|
34212
34357
|
}
|
|
34213
34358
|
|
|
34214
|
-
/*! @azure/msal-browser v5.
|
|
34359
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34215
34360
|
|
|
34216
34361
|
/*
|
|
34217
34362
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34503,7 +34648,7 @@ class LocalStorage {
|
|
|
34503
34648
|
}
|
|
34504
34649
|
}
|
|
34505
34650
|
|
|
34506
|
-
/*! @azure/msal-browser v5.
|
|
34651
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34507
34652
|
|
|
34508
34653
|
/*
|
|
34509
34654
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -34545,7 +34690,7 @@ class SessionStorage {
|
|
|
34545
34690
|
}
|
|
34546
34691
|
}
|
|
34547
34692
|
|
|
34548
|
-
/*! @azure/msal-browser v5.
|
|
34693
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34549
34694
|
/*
|
|
34550
34695
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
34551
34696
|
* Licensed under the MIT License.
|
|
@@ -34573,12 +34718,12 @@ const EventType = {
|
|
|
34573
34718
|
BROKER_CONNECTION_ESTABLISHED: "msal:brokerConnectionEstablished",
|
|
34574
34719
|
};
|
|
34575
34720
|
|
|
34576
|
-
/*! @azure/msal-browser v5.
|
|
34721
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34577
34722
|
/* eslint-disable header/header */
|
|
34578
34723
|
const name = "@azure/msal-browser";
|
|
34579
|
-
const version$3 = "5.
|
|
34724
|
+
const version$3 = "5.10.1";
|
|
34580
34725
|
|
|
34581
|
-
/*! @azure/msal-browser v5.
|
|
34726
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34582
34727
|
/*
|
|
34583
34728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
34584
34729
|
* Licensed under the MIT License.
|
|
@@ -34595,7 +34740,7 @@ function removeElementFromArray(array, element) {
|
|
|
34595
34740
|
}
|
|
34596
34741
|
}
|
|
34597
34742
|
|
|
34598
|
-
/*! @azure/msal-browser v5.
|
|
34743
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
34599
34744
|
|
|
34600
34745
|
/*
|
|
34601
34746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -35632,22 +35777,9 @@ class BrowserCacheManager extends CacheManager {
|
|
|
35632
35777
|
* @param generateKey
|
|
35633
35778
|
*/
|
|
35634
35779
|
getTemporaryCache(cacheKey, correlationId, generateKey) {
|
|
35780
|
+
this.logger.trace("1ordf8", correlationId);
|
|
35635
35781
|
const key = generateKey ? this.generateCacheKey(cacheKey) : cacheKey;
|
|
35636
|
-
|
|
35637
|
-
if (!value) {
|
|
35638
|
-
// If temp cache item not found in session/memory, check local storage for items set by old versions
|
|
35639
|
-
if (this.cacheConfig.cacheLocation ===
|
|
35640
|
-
BrowserCacheLocation.LocalStorage) {
|
|
35641
|
-
const item = this.browserStorage.getItem(key);
|
|
35642
|
-
if (item) {
|
|
35643
|
-
this.logger.trace("1yt61y", correlationId);
|
|
35644
|
-
return item;
|
|
35645
|
-
}
|
|
35646
|
-
}
|
|
35647
|
-
this.logger.trace("1qhy81", correlationId);
|
|
35648
|
-
return null;
|
|
35649
|
-
}
|
|
35650
|
-
return value;
|
|
35782
|
+
return this.temporaryCacheStorage.getItem(key);
|
|
35651
35783
|
}
|
|
35652
35784
|
/**
|
|
35653
35785
|
* Sets the cache item with the key and value given.
|
|
@@ -35960,7 +36092,7 @@ const DEFAULT_BROWSER_CACHE_MANAGER = (clientId, logger, performanceClient, even
|
|
|
35960
36092
|
return new BrowserCacheManager(clientId, cacheOptions, DEFAULT_CRYPTO_IMPLEMENTATION, logger, performanceClient, eventHandler);
|
|
35961
36093
|
};
|
|
35962
36094
|
|
|
35963
|
-
/*! @azure/msal-browser v5.
|
|
36095
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
35964
36096
|
/*
|
|
35965
36097
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
35966
36098
|
* Licensed under the MIT License.
|
|
@@ -36007,7 +36139,7 @@ function getActiveAccount(browserStorage, correlationId) {
|
|
|
36007
36139
|
return browserStorage.getActiveAccount(correlationId);
|
|
36008
36140
|
}
|
|
36009
36141
|
|
|
36010
|
-
/*! @azure/msal-browser v5.
|
|
36142
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36011
36143
|
|
|
36012
36144
|
/*
|
|
36013
36145
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36111,7 +36243,7 @@ class EventHandler {
|
|
|
36111
36243
|
}
|
|
36112
36244
|
}
|
|
36113
36245
|
|
|
36114
|
-
/*! @azure/msal-browser v5.
|
|
36246
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36115
36247
|
|
|
36116
36248
|
/*
|
|
36117
36249
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36246,7 +36378,7 @@ async function clearCacheOnLogout(browserStorage, browserCrypto, logger, correla
|
|
|
36246
36378
|
}
|
|
36247
36379
|
}
|
|
36248
36380
|
|
|
36249
|
-
/*! @azure/msal-browser v5.
|
|
36381
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36250
36382
|
|
|
36251
36383
|
/*
|
|
36252
36384
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36324,7 +36456,7 @@ function validateRequestMethod(interactionRequest, protocolMode) {
|
|
|
36324
36456
|
return httpMethod;
|
|
36325
36457
|
}
|
|
36326
36458
|
|
|
36327
|
-
/*! @azure/msal-browser v5.
|
|
36459
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36328
36460
|
|
|
36329
36461
|
/*
|
|
36330
36462
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36528,7 +36660,7 @@ async function initializeAuthorizationRequest(request, interactionType, config,
|
|
|
36528
36660
|
return validatedRequest;
|
|
36529
36661
|
}
|
|
36530
36662
|
|
|
36531
|
-
/*! @azure/msal-browser v5.
|
|
36663
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36532
36664
|
|
|
36533
36665
|
/*
|
|
36534
36666
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36552,7 +36684,7 @@ function extractBrowserRequestState(browserCrypto, state) {
|
|
|
36552
36684
|
}
|
|
36553
36685
|
}
|
|
36554
36686
|
|
|
36555
|
-
/*! @azure/msal-browser v5.
|
|
36687
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36556
36688
|
|
|
36557
36689
|
/*
|
|
36558
36690
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36591,7 +36723,7 @@ function validateInteractionType(response, browserCrypto, interactionType) {
|
|
|
36591
36723
|
}
|
|
36592
36724
|
}
|
|
36593
36725
|
|
|
36594
|
-
/*! @azure/msal-browser v5.
|
|
36726
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36595
36727
|
|
|
36596
36728
|
/*
|
|
36597
36729
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36680,7 +36812,7 @@ class InteractionHandler {
|
|
|
36680
36812
|
}
|
|
36681
36813
|
}
|
|
36682
36814
|
|
|
36683
|
-
/*! @azure/msal-browser v5.
|
|
36815
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36684
36816
|
/*
|
|
36685
36817
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
36686
36818
|
* Licensed under the MIT License.
|
|
@@ -36689,7 +36821,7 @@ const contentError = "ContentError";
|
|
|
36689
36821
|
const pageException = "PageException";
|
|
36690
36822
|
const userSwitch = "user_switch";
|
|
36691
36823
|
|
|
36692
|
-
/*! @azure/msal-browser v5.
|
|
36824
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36693
36825
|
/*
|
|
36694
36826
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
36695
36827
|
* Licensed under the MIT License.
|
|
@@ -36702,7 +36834,7 @@ const DISABLED = "DISABLED";
|
|
|
36702
36834
|
const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE";
|
|
36703
36835
|
const UX_NOT_ALLOWED = "UX_NOT_ALLOWED";
|
|
36704
36836
|
|
|
36705
|
-
/*! @azure/msal-browser v5.
|
|
36837
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36706
36838
|
|
|
36707
36839
|
/*
|
|
36708
36840
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36764,7 +36896,7 @@ function createNativeAuthError(code, description, ext) {
|
|
|
36764
36896
|
return new NativeAuthError(code, description, ext);
|
|
36765
36897
|
}
|
|
36766
36898
|
|
|
36767
|
-
/*! @azure/msal-browser v5.
|
|
36899
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36768
36900
|
|
|
36769
36901
|
/*
|
|
36770
36902
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -36813,7 +36945,7 @@ class SilentCacheClient extends StandardInteractionClient {
|
|
|
36813
36945
|
}
|
|
36814
36946
|
}
|
|
36815
36947
|
|
|
36816
|
-
/*! @azure/msal-browser v5.
|
|
36948
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
36817
36949
|
|
|
36818
36950
|
/*
|
|
36819
36951
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37444,7 +37576,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
37444
37576
|
}
|
|
37445
37577
|
}
|
|
37446
37578
|
|
|
37447
|
-
/*! @azure/msal-browser v5.
|
|
37579
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
37448
37580
|
|
|
37449
37581
|
/*
|
|
37450
37582
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37744,7 +37876,7 @@ async function handleResponseEAR(request, response, apiId, config, authority, br
|
|
|
37744
37876
|
return (await invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), HandleServerTokenResponse, logger, performanceClient, request.correlationId)(decryptedData, authority, nowSeconds(), request, apiId, additionalData, undefined, undefined, undefined, undefined));
|
|
37745
37877
|
}
|
|
37746
37878
|
|
|
37747
|
-
/*! @azure/msal-browser v5.
|
|
37879
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
37748
37880
|
|
|
37749
37881
|
/*
|
|
37750
37882
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37799,7 +37931,7 @@ async function generateCodeChallengeFromVerifier(pkceCodeVerifier, performanceCl
|
|
|
37799
37931
|
}
|
|
37800
37932
|
}
|
|
37801
37933
|
|
|
37802
|
-
/*! @azure/msal-browser v5.
|
|
37934
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
37803
37935
|
|
|
37804
37936
|
/*
|
|
37805
37937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37842,7 +37974,7 @@ class NavigationClient {
|
|
|
37842
37974
|
}
|
|
37843
37975
|
}
|
|
37844
37976
|
|
|
37845
|
-
/*! @azure/msal-browser v5.
|
|
37977
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
37846
37978
|
|
|
37847
37979
|
/*
|
|
37848
37980
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -37963,7 +38095,7 @@ function getHeaderDict(headers) {
|
|
|
37963
38095
|
}
|
|
37964
38096
|
}
|
|
37965
38097
|
|
|
37966
|
-
/*! @azure/msal-browser v5.
|
|
38098
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
37967
38099
|
|
|
37968
38100
|
/*
|
|
37969
38101
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38091,7 +38223,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
38091
38223
|
return overlayedConfig;
|
|
38092
38224
|
}
|
|
38093
38225
|
|
|
38094
|
-
/*! @azure/msal-browser v5.
|
|
38226
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
38095
38227
|
|
|
38096
38228
|
/*
|
|
38097
38229
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38352,7 +38484,7 @@ class PlatformAuthExtensionHandler {
|
|
|
38352
38484
|
}
|
|
38353
38485
|
}
|
|
38354
38486
|
|
|
38355
|
-
/*! @azure/msal-browser v5.
|
|
38487
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
38356
38488
|
|
|
38357
38489
|
/*
|
|
38358
38490
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38502,7 +38634,7 @@ class PlatformAuthDOMHandler {
|
|
|
38502
38634
|
}
|
|
38503
38635
|
}
|
|
38504
38636
|
|
|
38505
|
-
/*! @azure/msal-browser v5.
|
|
38637
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
38506
38638
|
async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout) {
|
|
38507
38639
|
logger.trace("134j0v", correlationId);
|
|
38508
38640
|
const enablePlatformBrokerDOMSupport = isDomEnabledForPlatformAuth();
|
|
@@ -38579,7 +38711,7 @@ function isPlatformAuthAllowed(config, logger, correlationId, platformAuthProvid
|
|
|
38579
38711
|
return true;
|
|
38580
38712
|
}
|
|
38581
38713
|
|
|
38582
|
-
/*! @azure/msal-browser v5.
|
|
38714
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
38583
38715
|
|
|
38584
38716
|
/*
|
|
38585
38717
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -38999,7 +39131,7 @@ class PopupClient extends StandardInteractionClient {
|
|
|
38999
39131
|
}
|
|
39000
39132
|
}
|
|
39001
39133
|
|
|
39002
|
-
/*! @azure/msal-browser v5.
|
|
39134
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39003
39135
|
|
|
39004
39136
|
/*
|
|
39005
39137
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39434,7 +39566,7 @@ class RedirectClient extends StandardInteractionClient {
|
|
|
39434
39566
|
}
|
|
39435
39567
|
}
|
|
39436
39568
|
|
|
39437
|
-
/*! @azure/msal-browser v5.
|
|
39569
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39438
39570
|
|
|
39439
39571
|
/*
|
|
39440
39572
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39511,7 +39643,7 @@ function removeHiddenIframe(iframe) {
|
|
|
39511
39643
|
}
|
|
39512
39644
|
}
|
|
39513
39645
|
|
|
39514
|
-
/*! @azure/msal-browser v5.
|
|
39646
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39515
39647
|
|
|
39516
39648
|
/*
|
|
39517
39649
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39718,7 +39850,7 @@ class SilentIframeClient extends StandardInteractionClient {
|
|
|
39718
39850
|
}
|
|
39719
39851
|
}
|
|
39720
39852
|
|
|
39721
|
-
/*! @azure/msal-browser v5.
|
|
39853
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39722
39854
|
|
|
39723
39855
|
/*
|
|
39724
39856
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39783,7 +39915,7 @@ class SilentRefreshClient extends StandardInteractionClient {
|
|
|
39783
39915
|
}
|
|
39784
39916
|
}
|
|
39785
39917
|
|
|
39786
|
-
/*! @azure/msal-browser v5.
|
|
39918
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39787
39919
|
|
|
39788
39920
|
/*
|
|
39789
39921
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39796,7 +39928,7 @@ class HybridSpaAuthorizationCodeClient extends AuthorizationCodeClient {
|
|
|
39796
39928
|
}
|
|
39797
39929
|
}
|
|
39798
39930
|
|
|
39799
|
-
/*! @azure/msal-browser v5.
|
|
39931
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39800
39932
|
|
|
39801
39933
|
/*
|
|
39802
39934
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -39867,7 +39999,7 @@ class SilentAuthCodeClient extends StandardInteractionClient {
|
|
|
39867
39999
|
}
|
|
39868
40000
|
}
|
|
39869
40001
|
|
|
39870
|
-
/*! @azure/msal-browser v5.
|
|
40002
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39871
40003
|
function collectInstanceStats(currentClientId, performanceEvent, logger, correlationId) {
|
|
39872
40004
|
const frameInstances =
|
|
39873
40005
|
// @ts-ignore
|
|
@@ -39883,7 +40015,7 @@ function collectInstanceStats(currentClientId, performanceEvent, logger, correla
|
|
|
39883
40015
|
});
|
|
39884
40016
|
}
|
|
39885
40017
|
|
|
39886
|
-
/*! @azure/msal-browser v5.
|
|
40018
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
39887
40019
|
|
|
39888
40020
|
/*
|
|
39889
40021
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -41370,7 +41502,7 @@ function checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheL
|
|
|
41370
41502
|
return isSilentlyResolvable && tryIframeRenewal;
|
|
41371
41503
|
}
|
|
41372
41504
|
|
|
41373
|
-
/*! @azure/msal-browser v5.
|
|
41505
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
41374
41506
|
|
|
41375
41507
|
/*
|
|
41376
41508
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -41467,7 +41599,7 @@ class BaseOperatingContext {
|
|
|
41467
41599
|
}
|
|
41468
41600
|
}
|
|
41469
41601
|
|
|
41470
|
-
/*! @azure/msal-browser v5.
|
|
41602
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
41471
41603
|
|
|
41472
41604
|
/*
|
|
41473
41605
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -41514,7 +41646,7 @@ StandardOperatingContext.MODULE_NAME = "";
|
|
|
41514
41646
|
*/
|
|
41515
41647
|
StandardOperatingContext.ID = "StandardOperatingContext";
|
|
41516
41648
|
|
|
41517
|
-
/*! @azure/msal-browser v5.
|
|
41649
|
+
/*! @azure/msal-browser v5.10.1 2026-05-11 */
|
|
41518
41650
|
|
|
41519
41651
|
/*
|
|
41520
41652
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -41812,6 +41944,7 @@ const FUSION_CORRELATION_ID = '';
|
|
|
41812
41944
|
class MsalClient extends PublicClientApplication {
|
|
41813
41945
|
#tenantId;
|
|
41814
41946
|
#clientId;
|
|
41947
|
+
#cacheLookupPolicy;
|
|
41815
41948
|
/**
|
|
41816
41949
|
* Creates a new MSAL client instance.
|
|
41817
41950
|
*
|
|
@@ -41821,6 +41954,7 @@ class MsalClient extends PublicClientApplication {
|
|
|
41821
41954
|
super(config);
|
|
41822
41955
|
this.#tenantId = config.auth?.tenantId;
|
|
41823
41956
|
this.#clientId = config.auth?.clientId;
|
|
41957
|
+
this.#cacheLookupPolicy = config.cacheLookupPolicy;
|
|
41824
41958
|
}
|
|
41825
41959
|
/**
|
|
41826
41960
|
* Tenant identifier for the configured Azure AD tenant.
|
|
@@ -41975,7 +42109,11 @@ class MsalClient extends PublicClientApplication {
|
|
|
41975
42109
|
if (request.account) {
|
|
41976
42110
|
try {
|
|
41977
42111
|
this.getLogger().verbose('Attempting to acquire token silently', request.correlationId || FUSION_CORRELATION_ID);
|
|
41978
|
-
return await this.acquireTokenSilent(
|
|
42112
|
+
return await this.acquireTokenSilent({
|
|
42113
|
+
// Instance-level policy is the default; request-level cacheLookupPolicy takes precedence
|
|
42114
|
+
cacheLookupPolicy: this.#cacheLookupPolicy,
|
|
42115
|
+
...request,
|
|
42116
|
+
});
|
|
41979
42117
|
}
|
|
41980
42118
|
catch {
|
|
41981
42119
|
// Silent acquisition failed - fall back to interactive
|
|
@@ -42089,7 +42227,7 @@ const createClientLogCallback = (provider, metadata, scope) => {
|
|
|
42089
42227
|
};
|
|
42090
42228
|
|
|
42091
42229
|
// Generated by genversion.
|
|
42092
|
-
const version$2 = '8.0.
|
|
42230
|
+
const version$2 = '8.0.5';
|
|
42093
42231
|
|
|
42094
42232
|
/**
|
|
42095
42233
|
* Zod schema for telemetry configuration validation.
|
|
@@ -42116,6 +42254,10 @@ const MsalConfigSchema = z.object({
|
|
|
42116
42254
|
redirectUri: z.string().optional(),
|
|
42117
42255
|
loginHint: z.string().optional(),
|
|
42118
42256
|
authCode: z.string().optional(),
|
|
42257
|
+
cacheLookupPolicy: z
|
|
42258
|
+
.custom((val) => typeof val === 'number' &&
|
|
42259
|
+
Object.values(CacheLookupPolicy).includes(val))
|
|
42260
|
+
.optional(),
|
|
42119
42261
|
version: z.string().transform((x) => String(semver.coerce(x))),
|
|
42120
42262
|
telemetry: TelemetryConfigSchema,
|
|
42121
42263
|
});
|
|
@@ -42158,6 +42300,8 @@ class MsalConfigurator extends BaseConfigBuilder {
|
|
|
42158
42300
|
return telemetry;
|
|
42159
42301
|
}
|
|
42160
42302
|
});
|
|
42303
|
+
// Default cache lookup policy to AccessTokenAndRefreshToken to avoid iframe fallback delays
|
|
42304
|
+
this._set('cacheLookupPolicy', async () => CacheLookupPolicy.AccessTokenAndRefreshToken);
|
|
42161
42305
|
}
|
|
42162
42306
|
/**
|
|
42163
42307
|
* Sets the MSAL client configuration for authentication.
|
|
@@ -42183,6 +42327,33 @@ class MsalConfigurator extends BaseConfigBuilder {
|
|
|
42183
42327
|
this.#msalConfig = config;
|
|
42184
42328
|
return this;
|
|
42185
42329
|
}
|
|
42330
|
+
/**
|
|
42331
|
+
* Sets the cache lookup policy used for every silent token acquisition.
|
|
42332
|
+
*
|
|
42333
|
+
* Controls whether MSAL falls back to a hidden iframe when the refresh token
|
|
42334
|
+
* fails. Defaults to `CacheLookupPolicy.AccessTokenAndRefreshToken`, which skips
|
|
42335
|
+
* the iframe step and fails immediately with `InteractionRequiredAuthError` when
|
|
42336
|
+
* the refresh token is revoked — avoiding the ~10–20 s `monitor_window_timeout`
|
|
42337
|
+
* delay caused by MSAL's built-in iframe fallback.
|
|
42338
|
+
*
|
|
42339
|
+
* Set to `CacheLookupPolicy.Default` to restore MSAL's full waterfall:
|
|
42340
|
+
* cache → refresh token → iframe.
|
|
42341
|
+
*
|
|
42342
|
+
* @param policy - Cache lookup policy to apply
|
|
42343
|
+
* @returns The configurator instance for method chaining
|
|
42344
|
+
*
|
|
42345
|
+
* @example
|
|
42346
|
+
* ```typescript
|
|
42347
|
+
* import { CacheLookupPolicy } from '@azure/msal-browser';
|
|
42348
|
+
*
|
|
42349
|
+
* // Restore MSAL's built-in iframe fallback (not recommended for most apps)
|
|
42350
|
+
* configurator.setCacheLookupPolicy(CacheLookupPolicy.Default);
|
|
42351
|
+
* ```
|
|
42352
|
+
*/
|
|
42353
|
+
setCacheLookupPolicy(policy) {
|
|
42354
|
+
this._set('cacheLookupPolicy', async () => policy);
|
|
42355
|
+
return this;
|
|
42356
|
+
}
|
|
42186
42357
|
/**
|
|
42187
42358
|
* Sets a backend-issued authorization code for token exchange.
|
|
42188
42359
|
*
|
|
@@ -42389,6 +42560,10 @@ class MsalConfigurator extends BaseConfigBuilder {
|
|
|
42389
42560
|
},
|
|
42390
42561
|
};
|
|
42391
42562
|
}
|
|
42563
|
+
// Apply silent cache lookup policy if configured
|
|
42564
|
+
if (config.cacheLookupPolicy !== undefined) {
|
|
42565
|
+
clientConfig.cacheLookupPolicy = config.cacheLookupPolicy;
|
|
42566
|
+
}
|
|
42392
42567
|
// Instantiate MSAL client with fully configured options
|
|
42393
42568
|
config.client = new MsalClient(clientConfig);
|
|
42394
42569
|
}
|
|
@@ -46869,7 +47044,7 @@ async function registerServiceWorker(framework) {
|
|
|
46869
47044
|
}
|
|
46870
47045
|
|
|
46871
47046
|
// Generated by genversion.
|
|
46872
|
-
const version = '4.0.
|
|
47047
|
+
const version = '4.0.8';
|
|
46873
47048
|
|
|
46874
47049
|
// Allow dynamic import without vite
|
|
46875
47050
|
const importWithoutVite = (path) => import(/* @vite-ignore */ path);
|