@azure/msal-browser 5.29.0 → 5.29.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/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthRequest.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/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.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/crypto/TokenBindingKeyManager.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +6 -2
- package/dist/interaction_client/RedirectClient.mjs.map +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 +5 -1
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/popup_relay/constants.mjs +1 -1
- package/dist/popup_relay/index.mjs +1 -1
- package/dist/popup_relay/relayClient.mjs +1 -1
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/request/SilentRequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserDetection.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/IframeMonitor.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/utils/PopupMonitor.mjs +1 -1
- package/dist/utils/PopupOriginCheck.mjs +1 -1
- package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
- package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
- package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
- package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
- package/dist/webBrokerBridge/index.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +141 -81
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +141 -81
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +143 -83
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +143 -83
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +39 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
- package/package.json +2 -2
- package/src/interaction_client/RedirectClient.ts +5 -1
- package/src/interaction_client/StandardInteractionClient.ts +4 -0
- package/src/packageMetadata.ts +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.29.
|
|
1
|
+
/*! @azure/msal-browser v5.29.1 2026-11-12 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v16.16.
|
|
9
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
*/
|
|
67
67
|
const POPUP_ORIGIN_CHECK_DONE = "pocd";
|
|
68
68
|
|
|
69
|
-
/*! @azure/msal-common v16.16.
|
|
69
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
70
70
|
/*
|
|
71
71
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
72
72
|
* Licensed under the MIT License.
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
// Token renewal offset default in seconds
|
|
306
306
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
307
307
|
|
|
308
|
-
/*! @azure/msal-common v16.16.
|
|
308
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
309
309
|
/*
|
|
310
310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
311
311
|
* Licensed under the MIT License.
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
/*! @azure/msal-common v16.16.
|
|
337
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
338
338
|
|
|
339
339
|
/*
|
|
340
340
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
/*! @azure/msal-common v16.16.
|
|
360
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
361
361
|
/*
|
|
362
362
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
363
363
|
* Licensed under the MIT License.
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
userCanceled: userCanceled
|
|
444
444
|
});
|
|
445
445
|
|
|
446
|
-
/*! @azure/msal-common v16.16.
|
|
446
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
447
447
|
|
|
448
448
|
/*
|
|
449
449
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
/*! @azure/msal-common v16.16.
|
|
484
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
485
485
|
|
|
486
486
|
/*
|
|
487
487
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
return matches[2];
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
/*! @azure/msal-common v16.16.
|
|
550
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
551
551
|
|
|
552
552
|
/*
|
|
553
553
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
return updatedAccountInfo;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
/*! @azure/msal-common v16.16.
|
|
638
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
639
639
|
/*
|
|
640
640
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
641
641
|
* Licensed under the MIT License.
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
Ciam: 3,
|
|
650
650
|
};
|
|
651
651
|
|
|
652
|
-
/*! @azure/msal-common v16.16.
|
|
652
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
653
653
|
/*
|
|
654
654
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
655
655
|
* Licensed under the MIT License.
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
return null;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
/*! @azure/msal-common v16.16.
|
|
674
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
675
675
|
/*
|
|
676
676
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
677
677
|
* Licensed under the MIT License.
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
EAR: "EAR",
|
|
696
696
|
};
|
|
697
697
|
|
|
698
|
-
/*! @azure/msal-common v16.16.
|
|
698
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
699
699
|
/**
|
|
700
700
|
* Returns the AccountInfo interface for this account.
|
|
701
701
|
* @internal
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
entity.hasOwnProperty("authorityType"));
|
|
885
885
|
}
|
|
886
886
|
|
|
887
|
-
/*! @azure/msal-common v16.16.
|
|
887
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
888
888
|
/*
|
|
889
889
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
890
890
|
* Licensed under the MIT License.
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
unexpectedError: unexpectedError
|
|
902
902
|
});
|
|
903
903
|
|
|
904
|
-
/*! @azure/msal-common v16.16.
|
|
904
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
905
905
|
|
|
906
906
|
/*
|
|
907
907
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -921,7 +921,7 @@
|
|
|
921
921
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
/*! @azure/msal-common v16.16.
|
|
924
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
925
925
|
/*
|
|
926
926
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
927
927
|
* Licensed under the MIT License.
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
return headerName === undefined ? undefined : headers[headerName];
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
/*! @azure/msal-common v16.16.
|
|
964
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
965
965
|
/*
|
|
966
966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
967
967
|
* Licensed under the MIT License.
|
|
@@ -1031,7 +1031,7 @@
|
|
|
1031
1031
|
urlParseError: urlParseError
|
|
1032
1032
|
});
|
|
1033
1033
|
|
|
1034
|
-
/*! @azure/msal-common v16.16.
|
|
1034
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1035
1035
|
|
|
1036
1036
|
/*
|
|
1037
1037
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1090,7 +1090,7 @@
|
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
|
-
/*! @azure/msal-common v16.16.
|
|
1093
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1094
1094
|
/*
|
|
1095
1095
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1096
1096
|
* Licensed under the MIT License.
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
response.hasOwnProperty("jwks_uri"));
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
-
/*! @azure/msal-common v16.16.
|
|
1105
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1106
1106
|
/*
|
|
1107
1107
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1108
1108
|
* Licensed under the MIT License.
|
|
@@ -1182,12 +1182,18 @@
|
|
|
1182
1182
|
}
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
/*! @azure/msal-common v16.16.
|
|
1185
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1186
1186
|
|
|
1187
1187
|
/*
|
|
1188
1188
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1189
1189
|
* Licensed under the MIT License.
|
|
1190
1190
|
*/
|
|
1191
|
+
// Matches ASCII controls, space, DEL, backslash, or the userinfo separator (@).
|
|
1192
|
+
const UNSAFE_AUTHORITY = /[\x00-\x20\x7f\\@]/;
|
|
1193
|
+
const DEFAULT_PORTS = {
|
|
1194
|
+
"https:": ":443",
|
|
1195
|
+
"http:": ":80",
|
|
1196
|
+
};
|
|
1191
1197
|
/**
|
|
1192
1198
|
* Url object class which can perform various transformations on url strings.
|
|
1193
1199
|
*/
|
|
@@ -1303,6 +1309,29 @@
|
|
|
1303
1309
|
AbsolutePath: match[5],
|
|
1304
1310
|
QueryString: match[7],
|
|
1305
1311
|
};
|
|
1312
|
+
let parsedUrl;
|
|
1313
|
+
try {
|
|
1314
|
+
parsedUrl = new URL(this.urlString);
|
|
1315
|
+
}
|
|
1316
|
+
catch {
|
|
1317
|
+
throw createClientConfigurationError(urlParseError, this.correlationId);
|
|
1318
|
+
}
|
|
1319
|
+
const host = urlComponents.HostNameAndPort?.toLowerCase();
|
|
1320
|
+
const schemeAndAuthority = `${urlComponents.Protocol}//${host}`;
|
|
1321
|
+
const defaultPort = DEFAULT_PORTS[parsedUrl.protocol] ?? "";
|
|
1322
|
+
/*
|
|
1323
|
+
* Cross-check the original host; reparsing parsedUrl would hide parser differences.
|
|
1324
|
+
* URL has validated IPv6 syntax, so only bracketed hosts need a normalization comparison.
|
|
1325
|
+
*/
|
|
1326
|
+
const hostMatches = host === parsedUrl.host ||
|
|
1327
|
+
host === `${parsedUrl.host}${defaultPort}` ||
|
|
1328
|
+
(host?.startsWith("[") &&
|
|
1329
|
+
new URL(`${urlComponents.Protocol}//${host}`).host ===
|
|
1330
|
+
parsedUrl.host);
|
|
1331
|
+
// Check authority ambiguity without restricting resource paths, queries, or fragments.
|
|
1332
|
+
if (UNSAFE_AUTHORITY.test(schemeAndAuthority) || !hostMatches) {
|
|
1333
|
+
throw createClientConfigurationError(urlParseError, this.correlationId);
|
|
1334
|
+
}
|
|
1306
1335
|
let pathSegments = urlComponents.AbsolutePath.split("/");
|
|
1307
1336
|
pathSegments = pathSegments.filter((val) => val && val.length > 0); // remove empty elements
|
|
1308
1337
|
urlComponents.PathSegments = pathSegments;
|
|
@@ -1340,7 +1369,7 @@
|
|
|
1340
1369
|
}
|
|
1341
1370
|
}
|
|
1342
1371
|
|
|
1343
|
-
/*! @azure/msal-common v16.16.
|
|
1372
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1344
1373
|
|
|
1345
1374
|
/*
|
|
1346
1375
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1494,7 +1523,7 @@
|
|
|
1494
1523
|
return null;
|
|
1495
1524
|
}
|
|
1496
1525
|
|
|
1497
|
-
/*! @azure/msal-common v16.16.
|
|
1526
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1498
1527
|
/*
|
|
1499
1528
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1500
1529
|
* Licensed under the MIT License.
|
|
@@ -1512,7 +1541,7 @@
|
|
|
1512
1541
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
1513
1542
|
};
|
|
1514
1543
|
|
|
1515
|
-
/*! @azure/msal-common v16.16.
|
|
1544
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1516
1545
|
/*
|
|
1517
1546
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1518
1547
|
* Licensed under the MIT License.
|
|
@@ -1522,7 +1551,7 @@
|
|
|
1522
1551
|
response.hasOwnProperty("metadata"));
|
|
1523
1552
|
}
|
|
1524
1553
|
|
|
1525
|
-
/*! @azure/msal-common v16.16.
|
|
1554
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1526
1555
|
/*
|
|
1527
1556
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1528
1557
|
* Licensed under the MIT License.
|
|
@@ -1532,7 +1561,7 @@
|
|
|
1532
1561
|
response.hasOwnProperty("error_description"));
|
|
1533
1562
|
}
|
|
1534
1563
|
|
|
1535
|
-
/*! @azure/msal-common v16.16.
|
|
1564
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1536
1565
|
/*
|
|
1537
1566
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1538
1567
|
* Licensed under the MIT License.
|
|
@@ -1603,7 +1632,7 @@
|
|
|
1603
1632
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1604
1633
|
const SetUserData = "setUserData";
|
|
1605
1634
|
|
|
1606
|
-
/*! @azure/msal-common v16.16.
|
|
1635
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1607
1636
|
/*
|
|
1608
1637
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1609
1638
|
* Licensed under the MIT License.
|
|
@@ -1639,7 +1668,8 @@
|
|
|
1639
1668
|
catch (e) {
|
|
1640
1669
|
logger.trace(`0cfd8i ${eventName}`, correlationId);
|
|
1641
1670
|
try {
|
|
1642
|
-
|
|
1671
|
+
// Prevent numeric error details from being treated as minified log hashes.
|
|
1672
|
+
logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
|
|
1643
1673
|
}
|
|
1644
1674
|
catch (e) {
|
|
1645
1675
|
logger.trace("00dty7", correlationId);
|
|
@@ -1683,7 +1713,7 @@
|
|
|
1683
1713
|
.catch((e) => {
|
|
1684
1714
|
logger.trace(`0cfd8i ${eventName}`, correlationId);
|
|
1685
1715
|
try {
|
|
1686
|
-
logger.
|
|
1716
|
+
logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
|
|
1687
1717
|
}
|
|
1688
1718
|
catch (e) {
|
|
1689
1719
|
logger.trace("00dty7", correlationId);
|
|
@@ -1696,12 +1726,26 @@
|
|
|
1696
1726
|
};
|
|
1697
1727
|
};
|
|
1698
1728
|
|
|
1699
|
-
/*! @azure/msal-common v16.16.
|
|
1729
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1700
1730
|
|
|
1701
1731
|
/*
|
|
1702
1732
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1703
1733
|
* Licensed under the MIT License.
|
|
1704
1734
|
*/
|
|
1735
|
+
// Starts with an ASCII letter; remaining characters are ASCII letters, digits, or hyphens.
|
|
1736
|
+
const REGION_NAME_PATTERN = /^[a-z][a-z0-9-]*$/i;
|
|
1737
|
+
// A region becomes a DNS label, limited to 63 octets by RFC 1035 section 2.3.4.
|
|
1738
|
+
const MAX_REGION_NAME_LENGTH = 63;
|
|
1739
|
+
/**
|
|
1740
|
+
* Whether a region can safely be used as a single DNS label.
|
|
1741
|
+
*/
|
|
1742
|
+
function isValidRegion(region) {
|
|
1743
|
+
return (typeof region === "string" &&
|
|
1744
|
+
region.length <= MAX_REGION_NAME_LENGTH &&
|
|
1745
|
+
REGION_NAME_PATTERN.test(region) &&
|
|
1746
|
+
// Keep the trailing-hyphen rule explicit rather than complicating the pattern.
|
|
1747
|
+
!region.endsWith("-"));
|
|
1748
|
+
}
|
|
1705
1749
|
class RegionDiscovery {
|
|
1706
1750
|
constructor(networkInterface, logger, performanceClient, correlationId) {
|
|
1707
1751
|
this.networkInterface = networkInterface;
|
|
@@ -1761,12 +1805,16 @@
|
|
|
1761
1805
|
regionDiscoveryMetadata.region_source =
|
|
1762
1806
|
RegionDiscoverySources.ENVIRONMENT_VARIABLE;
|
|
1763
1807
|
}
|
|
1764
|
-
//
|
|
1765
|
-
if (!autodetectedRegionName) {
|
|
1808
|
+
// Untrusted discovery values must be a single DNS label before becoming a host prefix.
|
|
1809
|
+
if (!autodetectedRegionName || !isValidRegion(autodetectedRegionName)) {
|
|
1810
|
+
if (autodetectedRegionName) {
|
|
1811
|
+
this.logger.warning("0n83q0", this.correlationId);
|
|
1812
|
+
}
|
|
1766
1813
|
regionDiscoveryMetadata.region_source =
|
|
1767
1814
|
RegionDiscoverySources.FAILED_AUTO_DETECTION;
|
|
1815
|
+
return null;
|
|
1768
1816
|
}
|
|
1769
|
-
return autodetectedRegionName
|
|
1817
|
+
return autodetectedRegionName;
|
|
1770
1818
|
}
|
|
1771
1819
|
/**
|
|
1772
1820
|
* Make the call to the IMDS endpoint
|
|
@@ -1807,7 +1855,7 @@
|
|
|
1807
1855
|
},
|
|
1808
1856
|
};
|
|
1809
1857
|
|
|
1810
|
-
/*! @azure/msal-common v16.16.
|
|
1858
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1811
1859
|
/*
|
|
1812
1860
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1813
1861
|
* Licensed under the MIT License.
|
|
@@ -1872,7 +1920,7 @@
|
|
|
1872
1920
|
return cachedAtSec > nowSeconds();
|
|
1873
1921
|
}
|
|
1874
1922
|
|
|
1875
|
-
/*! @azure/msal-common v16.16.
|
|
1923
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
1876
1924
|
|
|
1877
1925
|
/*
|
|
1878
1926
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2159,7 +2207,7 @@
|
|
|
2159
2207
|
return [...attributeTokens].sort().join(" ");
|
|
2160
2208
|
}
|
|
2161
2209
|
|
|
2162
|
-
/*! @azure/msal-common v16.16.
|
|
2210
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
2163
2211
|
|
|
2164
2212
|
/*
|
|
2165
2213
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3012,6 +3060,9 @@
|
|
|
3012
3060
|
* @param region string
|
|
3013
3061
|
*/
|
|
3014
3062
|
static buildRegionalAuthorityString(host, region, correlationId, queryString) {
|
|
3063
|
+
if (!isValidRegion(region)) {
|
|
3064
|
+
throw createClientConfigurationError(urlParseError, correlationId);
|
|
3065
|
+
}
|
|
3015
3066
|
// Create and validate a Url string object with the initial authority string
|
|
3016
3067
|
const authorityUrlInstance = new UrlString(host, correlationId);
|
|
3017
3068
|
authorityUrlInstance.validateAsUri();
|
|
@@ -3022,7 +3073,7 @@
|
|
|
3022
3073
|
}
|
|
3023
3074
|
// Include the query string portion of the url
|
|
3024
3075
|
const url = UrlString.constructAuthorityUriFromObject({
|
|
3025
|
-
...
|
|
3076
|
+
...authorityUrlParts,
|
|
3026
3077
|
HostNameAndPort: hostNameAndPort,
|
|
3027
3078
|
}, correlationId).urlString;
|
|
3028
3079
|
// Add the query string if a query string was provided
|
|
@@ -3127,7 +3178,7 @@
|
|
|
3127
3178
|
};
|
|
3128
3179
|
}
|
|
3129
3180
|
|
|
3130
|
-
/*! @azure/msal-common v16.16.
|
|
3181
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
3131
3182
|
|
|
3132
3183
|
/*
|
|
3133
3184
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3161,7 +3212,7 @@
|
|
|
3161
3212
|
}
|
|
3162
3213
|
}
|
|
3163
3214
|
|
|
3164
|
-
/*! @azure/msal-common v16.16.
|
|
3215
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
3165
3216
|
|
|
3166
3217
|
/*
|
|
3167
3218
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3357,7 +3408,7 @@
|
|
|
3357
3408
|
}
|
|
3358
3409
|
}
|
|
3359
3410
|
|
|
3360
|
-
/*! @azure/msal-common v16.16.
|
|
3411
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
3361
3412
|
|
|
3362
3413
|
/*
|
|
3363
3414
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3857,7 +3908,7 @@
|
|
|
3857
3908
|
}
|
|
3858
3909
|
}
|
|
3859
3910
|
|
|
3860
|
-
/*! @azure/msal-common v16.16.
|
|
3911
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
3861
3912
|
|
|
3862
3913
|
/*
|
|
3863
3914
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3988,7 +4039,7 @@
|
|
|
3988
4039
|
}
|
|
3989
4040
|
}
|
|
3990
4041
|
|
|
3991
|
-
/*! @azure/msal-common v16.16.
|
|
4042
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
3992
4043
|
|
|
3993
4044
|
/*
|
|
3994
4045
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4036,7 +4087,7 @@
|
|
|
4036
4087
|
},
|
|
4037
4088
|
};
|
|
4038
4089
|
|
|
4039
|
-
/*! @azure/msal-common v16.16.
|
|
4090
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4040
4091
|
|
|
4041
4092
|
/*
|
|
4042
4093
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4059,7 +4110,7 @@
|
|
|
4059
4110
|
},
|
|
4060
4111
|
};
|
|
4061
4112
|
|
|
4062
|
-
/*! @azure/msal-common v16.16.
|
|
4113
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4063
4114
|
/*
|
|
4064
4115
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4065
4116
|
* Licensed under the MIT License.
|
|
@@ -4348,12 +4399,12 @@
|
|
|
4348
4399
|
}
|
|
4349
4400
|
}
|
|
4350
4401
|
|
|
4351
|
-
/*! @azure/msal-common v16.16.
|
|
4402
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4352
4403
|
/* eslint-disable header/header */
|
|
4353
4404
|
const name$1 = "@azure/msal-common";
|
|
4354
|
-
const version$1 = "16.16.
|
|
4405
|
+
const version$1 = "16.16.2";
|
|
4355
4406
|
|
|
4356
|
-
/*! @azure/msal-common v16.16.
|
|
4407
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4357
4408
|
/*
|
|
4358
4409
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4359
4410
|
* Licensed under the MIT License.
|
|
@@ -4361,7 +4412,7 @@
|
|
|
4361
4412
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
4362
4413
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
4363
4414
|
|
|
4364
|
-
/*! @azure/msal-common v16.16.
|
|
4415
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4365
4416
|
|
|
4366
4417
|
/*
|
|
4367
4418
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4399,7 +4450,7 @@
|
|
|
4399
4450
|
}
|
|
4400
4451
|
}
|
|
4401
4452
|
|
|
4402
|
-
/*! @azure/msal-common v16.16.
|
|
4453
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
4403
4454
|
|
|
4404
4455
|
/*
|
|
4405
4456
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5627,7 +5678,7 @@
|
|
|
5627
5678
|
}
|
|
5628
5679
|
}
|
|
5629
5680
|
|
|
5630
|
-
/*! @azure/msal-common v16.16.
|
|
5681
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5631
5682
|
/*
|
|
5632
5683
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5633
5684
|
* Licensed under the MIT License.
|
|
@@ -5692,7 +5743,7 @@
|
|
|
5692
5743
|
"fetchRetryCount",
|
|
5693
5744
|
]);
|
|
5694
5745
|
|
|
5695
|
-
/*! @azure/msal-common v16.16.
|
|
5746
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5696
5747
|
|
|
5697
5748
|
/*
|
|
5698
5749
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5750,7 +5801,7 @@
|
|
|
5750
5801
|
}
|
|
5751
5802
|
}
|
|
5752
5803
|
|
|
5753
|
-
/*! @azure/msal-common v16.16.
|
|
5804
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5754
5805
|
|
|
5755
5806
|
/*
|
|
5756
5807
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5848,7 +5899,7 @@
|
|
|
5848
5899
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
5849
5900
|
}
|
|
5850
5901
|
|
|
5851
|
-
/*! @azure/msal-common v16.16.
|
|
5902
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5852
5903
|
/*
|
|
5853
5904
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5854
5905
|
* Licensed under the MIT License.
|
|
@@ -5875,7 +5926,7 @@
|
|
|
5875
5926
|
}
|
|
5876
5927
|
}
|
|
5877
5928
|
|
|
5878
|
-
/*! @azure/msal-common v16.16.
|
|
5929
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5879
5930
|
|
|
5880
5931
|
/*
|
|
5881
5932
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5896,7 +5947,7 @@
|
|
|
5896
5947
|
return new JoseHeaderError(code, correlationId);
|
|
5897
5948
|
}
|
|
5898
5949
|
|
|
5899
|
-
/*! @azure/msal-common v16.16.
|
|
5950
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5900
5951
|
/*
|
|
5901
5952
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5902
5953
|
* Licensed under the MIT License.
|
|
@@ -5921,7 +5972,7 @@
|
|
|
5921
5972
|
return Object.getPrototypeOf(value) === proto;
|
|
5922
5973
|
}
|
|
5923
5974
|
|
|
5924
|
-
/*! @azure/msal-common v16.16.
|
|
5975
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5925
5976
|
/*
|
|
5926
5977
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5927
5978
|
* Licensed under the MIT License.
|
|
@@ -5931,7 +5982,7 @@
|
|
|
5931
5982
|
const missingJwkError = "missing_jwk_error";
|
|
5932
5983
|
const invalidJwkError = "invalid_jwk_error";
|
|
5933
5984
|
|
|
5934
|
-
/*! @azure/msal-common v16.16.
|
|
5985
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
5935
5986
|
|
|
5936
5987
|
/*
|
|
5937
5988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5997,7 +6048,7 @@
|
|
|
5997
6048
|
}
|
|
5998
6049
|
}
|
|
5999
6050
|
|
|
6000
|
-
/*! @azure/msal-common v16.16.
|
|
6051
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6001
6052
|
|
|
6002
6053
|
/*
|
|
6003
6054
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6098,7 +6149,7 @@
|
|
|
6098
6149
|
}
|
|
6099
6150
|
}
|
|
6100
6151
|
|
|
6101
|
-
/*! @azure/msal-common v16.16.
|
|
6152
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6102
6153
|
|
|
6103
6154
|
/*
|
|
6104
6155
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6253,7 +6304,7 @@
|
|
|
6253
6304
|
}
|
|
6254
6305
|
}
|
|
6255
6306
|
|
|
6256
|
-
/*! @azure/msal-common v16.16.
|
|
6307
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6257
6308
|
/*
|
|
6258
6309
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6259
6310
|
* Licensed under the MIT License.
|
|
@@ -6317,7 +6368,7 @@
|
|
|
6317
6368
|
uiNotAllowed: uiNotAllowed
|
|
6318
6369
|
});
|
|
6319
6370
|
|
|
6320
|
-
/*! @azure/msal-common v16.16.
|
|
6371
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6321
6372
|
|
|
6322
6373
|
/*
|
|
6323
6374
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6384,7 +6435,7 @@
|
|
|
6384
6435
|
return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
|
|
6385
6436
|
}
|
|
6386
6437
|
|
|
6387
|
-
/*! @azure/msal-common v16.16.
|
|
6438
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6388
6439
|
|
|
6389
6440
|
/*
|
|
6390
6441
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6403,7 +6454,7 @@
|
|
|
6403
6454
|
}
|
|
6404
6455
|
}
|
|
6405
6456
|
|
|
6406
|
-
/*! @azure/msal-common v16.16.
|
|
6457
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6407
6458
|
|
|
6408
6459
|
/*
|
|
6409
6460
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6474,7 +6525,7 @@
|
|
|
6474
6525
|
}
|
|
6475
6526
|
}
|
|
6476
6527
|
|
|
6477
|
-
/*! @azure/msal-common v16.16.
|
|
6528
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6478
6529
|
|
|
6479
6530
|
/*
|
|
6480
6531
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6902,7 +6953,7 @@
|
|
|
6902
6953
|
return baseAccount;
|
|
6903
6954
|
}
|
|
6904
6955
|
|
|
6905
|
-
/*! @azure/msal-common v16.16.
|
|
6956
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6906
6957
|
/*
|
|
6907
6958
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6908
6959
|
* Licensed under the MIT License.
|
|
@@ -6912,7 +6963,7 @@
|
|
|
6912
6963
|
UPN: "UPN",
|
|
6913
6964
|
};
|
|
6914
6965
|
|
|
6915
|
-
/*! @azure/msal-common v16.16.
|
|
6966
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6916
6967
|
/*
|
|
6917
6968
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6918
6969
|
* Licensed under the MIT License.
|
|
@@ -6931,7 +6982,7 @@
|
|
|
6931
6982
|
}
|
|
6932
6983
|
}
|
|
6933
6984
|
|
|
6934
|
-
/*! @azure/msal-common v16.16.
|
|
6985
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6935
6986
|
|
|
6936
6987
|
/*
|
|
6937
6988
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6955,7 +7006,7 @@
|
|
|
6955
7006
|
};
|
|
6956
7007
|
}
|
|
6957
7008
|
|
|
6958
|
-
/*! @azure/msal-common v16.16.
|
|
7009
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
6959
7010
|
|
|
6960
7011
|
/*
|
|
6961
7012
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7045,7 +7096,7 @@
|
|
|
7045
7096
|
return undefined;
|
|
7046
7097
|
}
|
|
7047
7098
|
|
|
7048
|
-
/*! @azure/msal-common v16.16.
|
|
7099
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
7049
7100
|
|
|
7050
7101
|
/*
|
|
7051
7102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7076,7 +7127,7 @@
|
|
|
7076
7127
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
7077
7128
|
}
|
|
7078
7129
|
|
|
7079
|
-
/*! @azure/msal-common v16.16.
|
|
7130
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
7080
7131
|
|
|
7081
7132
|
/*
|
|
7082
7133
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7210,7 +7261,7 @@
|
|
|
7210
7261
|
return response;
|
|
7211
7262
|
}
|
|
7212
7263
|
|
|
7213
|
-
/*! @azure/msal-common v16.16.
|
|
7264
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
7214
7265
|
|
|
7215
7266
|
/*
|
|
7216
7267
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7253,7 +7304,8 @@
|
|
|
7253
7304
|
throw createClientAuthError(requestCannotBeMade, request.correlationId);
|
|
7254
7305
|
}
|
|
7255
7306
|
// Check for new cloud instance
|
|
7256
|
-
if (
|
|
7307
|
+
if (this.config.authOptions.instanceAware === true &&
|
|
7308
|
+
authCodePayload?.cloud_instance_host_name) {
|
|
7257
7309
|
await invokeAsync(this.updateTokenEndpointAuthority.bind(this), UpdateTokenEndpointAuthority, this.logger, this.performanceClient, request.correlationId)(authCodePayload.cloud_instance_host_name, request.correlationId);
|
|
7258
7310
|
}
|
|
7259
7311
|
const reqTimestamp = nowSeconds();
|
|
@@ -7477,7 +7529,7 @@
|
|
|
7477
7529
|
}
|
|
7478
7530
|
}
|
|
7479
7531
|
|
|
7480
|
-
/*! @azure/msal-common v16.16.
|
|
7532
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
7481
7533
|
|
|
7482
7534
|
/*
|
|
7483
7535
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7662,13 +7714,13 @@
|
|
|
7662
7714
|
decodedServerResponseState = decodeURIComponent(serverResponse.state);
|
|
7663
7715
|
}
|
|
7664
7716
|
catch (e) {
|
|
7665
|
-
throw createClientAuthError(invalidState, correlationId
|
|
7717
|
+
throw createClientAuthError(invalidState, correlationId);
|
|
7666
7718
|
}
|
|
7667
7719
|
try {
|
|
7668
7720
|
decodedRequestState = decodeURIComponent(requestState);
|
|
7669
7721
|
}
|
|
7670
7722
|
catch (e) {
|
|
7671
|
-
throw createClientAuthError(invalidState, correlationId
|
|
7723
|
+
throw createClientAuthError(invalidState, correlationId);
|
|
7672
7724
|
}
|
|
7673
7725
|
if (decodedServerResponseState !== decodedRequestState) {
|
|
7674
7726
|
throw createClientAuthError(stateMismatch, correlationId);
|
|
@@ -7707,7 +7759,7 @@
|
|
|
7707
7759
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7708
7760
|
}
|
|
7709
7761
|
|
|
7710
|
-
/*! @azure/msal-common v16.16.
|
|
7762
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
7711
7763
|
|
|
7712
7764
|
/*
|
|
7713
7765
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8256,7 +8308,7 @@
|
|
|
8256
8308
|
}
|
|
8257
8309
|
}
|
|
8258
8310
|
|
|
8259
|
-
/*! @azure/msal-common v16.16.
|
|
8311
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
8260
8312
|
|
|
8261
8313
|
/*
|
|
8262
8314
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8491,7 +8543,7 @@
|
|
|
8491
8543
|
}
|
|
8492
8544
|
}
|
|
8493
8545
|
|
|
8494
|
-
/*! @azure/msal-common v16.16.
|
|
8546
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
8495
8547
|
|
|
8496
8548
|
/*
|
|
8497
8549
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8784,7 +8836,7 @@
|
|
|
8784
8836
|
clearNativeBrokerErrorCode() { }
|
|
8785
8837
|
}
|
|
8786
8838
|
|
|
8787
|
-
/*! @azure/msal-common v16.16.
|
|
8839
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
8788
8840
|
|
|
8789
8841
|
/*
|
|
8790
8842
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8911,7 +8963,7 @@
|
|
|
8911
8963
|
}
|
|
8912
8964
|
}
|
|
8913
8965
|
|
|
8914
|
-
/*! @azure/msal-common v16.16.
|
|
8966
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
8915
8967
|
|
|
8916
8968
|
/*
|
|
8917
8969
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8927,7 +8979,7 @@
|
|
|
8927
8979
|
},
|
|
8928
8980
|
};
|
|
8929
8981
|
|
|
8930
|
-
/*! @azure/msal-common v16.16.
|
|
8982
|
+
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
8931
8983
|
|
|
8932
8984
|
/*
|
|
8933
8985
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -11662,7 +11714,7 @@
|
|
|
11662
11714
|
|
|
11663
11715
|
/* eslint-disable header/header */
|
|
11664
11716
|
const name = "@azure/msal-browser";
|
|
11665
|
-
const version = "5.29.
|
|
11717
|
+
const version = "5.29.1";
|
|
11666
11718
|
|
|
11667
11719
|
/*
|
|
11668
11720
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -13908,6 +13960,10 @@
|
|
|
13908
13960
|
clientId: this.config.auth.clientId,
|
|
13909
13961
|
authority: discoveredAuthority,
|
|
13910
13962
|
clientCapabilities: this.config.auth.clientCapabilities,
|
|
13963
|
+
instanceAware: requestExtraQueryParameters?.instance_aware
|
|
13964
|
+
?.length
|
|
13965
|
+
? requestExtraQueryParameters.instance_aware === "true"
|
|
13966
|
+
: this.config.auth.instanceAware,
|
|
13911
13967
|
redirectUri: this.config.auth.redirectUri,
|
|
13912
13968
|
isMcp: this.config.auth.isMcp,
|
|
13913
13969
|
},
|
|
@@ -17986,7 +18042,11 @@
|
|
|
17986
18042
|
const discoveredAuthority = await invokeAsync(getDiscoveredAuthority, StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, request.correlationId)(this.config, this.correlationId, this.performanceClient, this.browserStorage, this.logger, authority, azureCloudOptions, extraQueryParameters, account);
|
|
17987
18043
|
return invokeAsync(handleResponseEAR, HandleResponseEar, this.logger, this.performanceClient, request.correlationId)(request, serverParams, ApiId.acquireTokenRedirect, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
|
|
17988
18044
|
}
|
|
17989
|
-
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
18045
|
+
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
|
18046
|
+
serverTelemetryManager,
|
|
18047
|
+
requestAuthority: request.authority,
|
|
18048
|
+
requestExtraQueryParameters: request.extraQueryParameters,
|
|
18049
|
+
});
|
|
17990
18050
|
return invokeAsync(handleResponseCode, HandleResponseCode, this.logger, this.performanceClient, request.correlationId)(request, serverParams, codeVerifier, ApiId.acquireTokenRedirect, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
|
|
17991
18051
|
}
|
|
17992
18052
|
/**
|