@azure/msal-browser 5.29.1 → 5.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/app/IPublicClientApplication.mjs +4 -1
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.mjs +14 -2
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +10 -23
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +2 -3
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +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 +40 -4
- package/dist/cache/BrowserCacheManager.mjs.map +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 +11 -2
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +26 -5
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.mjs +44 -11
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +189 -5
- package/dist/crypto/BrowserCrypto.mjs.map +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 -4
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +11 -4
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +3 -3
- package/dist/custom_auth/core/CustomAuthAuthority.mjs.map +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 -4
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -3
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +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 -8
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +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 -3
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -3
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +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 -7
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +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 -2
- package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +2 -5
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs.map +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 -2
- package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -2
- package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +2 -3
- package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +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 +32 -27
- package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +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 +6 -2
- package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +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 +7 -5
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +12 -3
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +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 +9 -39
- package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs.map +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/BaseResultsV2.mjs.map +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/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +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 +2 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +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 -2
- package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +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 -3
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -3
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -3
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +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 -2
- package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +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 -2
- package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +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 +3 -2
- package/dist/error/BrowserAuthErrorCodes.mjs.map +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 +4 -2
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +18 -5
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +27 -21
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +8 -10
- 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 +5 -8
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +2 -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 +13 -9
- 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 +24 -6
- package/dist/popup_relay/constants.mjs.map +1 -1
- package/dist/popup_relay/index.mjs +142 -44
- package/dist/popup_relay/index.mjs.map +1 -1
- package/dist/popup_relay/relayClient.mjs +66 -23
- package/dist/popup_relay/relayClient.mjs.map +1 -1
- package/dist/protocol/Authorize.mjs +71 -13
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +2 -1
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/request/SilentRequestHelpers.mjs +7 -4
- package/dist/request/SilentRequestHelpers.mjs.map +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +14 -2
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +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 +13 -9
- package/lib/custom-auth-path/msal-custom-auth.cjs +764 -314
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +764 -314
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +13 -9
- package/lib/msal-browser.cjs +791 -215
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +791 -215
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +231 -60
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +231 -60
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
- package/package.json +2 -2
- package/src/app/IPublicClientApplication.ts +16 -0
- package/src/app/PublicClientApplication.ts +22 -0
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +11 -44
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +1 -2
- package/src/broker/nativeBroker/PlatformAuthResponse.ts +2 -6
- package/src/cache/BrowserCacheManager.ts +66 -6
- package/src/config/Configuration.ts +35 -0
- package/src/controllers/NestedAppAuthController.ts +35 -2
- package/src/controllers/StandardController.ts +76 -12
- package/src/controllers/UnknownOperatingContextController.ts +10 -0
- package/src/crypto/BrowserCrypto.ts +367 -2
- package/src/custom_auth/CustomAuthActionInputs.ts +0 -9
- package/src/custom_auth/CustomAuthPublicClientApplication.ts +0 -3
- package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +0 -3
- package/src/custom_auth/controller/CustomAuthStandardController.ts +15 -2
- package/src/custom_auth/core/CustomAuthAuthority.ts +2 -1
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +0 -3
- package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +0 -2
- package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +0 -7
- package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -2
- package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -2
- package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -6
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +0 -4
- package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +0 -2
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +0 -3
- package/src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +0 -1
- package/src/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.ts +8 -6
- package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +1 -0
- package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +43 -29
- package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +21 -2
- package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +12 -8
- package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +35 -4
- package/src/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.ts +10 -47
- package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +1 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +9 -0
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +5 -5
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +2 -5
- package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +2 -4
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +1 -0
- package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +0 -2
- package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +0 -1
- package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +0 -2
- package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +0 -1
- package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +0 -2
- package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +0 -2
- package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +0 -1
- package/src/error/AsymmetricEarSubErrors.ts +18 -0
- package/src/error/BrowserAuthErrorCodes.ts +1 -0
- package/src/interaction_client/BaseInteractionClient.ts +6 -1
- package/src/interaction_client/PlatformAuthInteractionClient.ts +28 -8
- package/src/interaction_client/PopupClient.ts +59 -29
- package/src/interaction_client/RedirectClient.ts +10 -13
- package/src/interaction_client/SilentIframeClient.ts +9 -13
- package/src/interaction_client/StandardInteractionClient.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/src/popup_relay/constants.ts +34 -3
- package/src/popup_relay/index.ts +200 -45
- package/src/popup_relay/relayClient.ts +108 -24
- package/src/protocol/Authorize.ts +123 -11
- package/src/request/EndSessionPopupRequest.ts +3 -0
- package/src/request/PopupRequest.ts +1 -0
- package/src/request/RedirectRequest.ts +4 -0
- package/src/request/RequestHelpers.ts +5 -0
- package/src/request/SilentRequestHelpers.ts +10 -4
- package/src/request/SsoSilentRequest.ts +1 -0
- package/src/telemetry/BrowserPerformanceEvents.ts +14 -0
- package/types/app/IPublicClientApplication.d.ts +8 -0
- package/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/types/app/PublicClientApplication.d.ts +6 -1
- package/types/app/PublicClientApplication.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +0 -1
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts +2 -6
- package/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -1
- package/types/cache/BrowserCacheManager.d.ts +20 -2
- package/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/types/config/Configuration.d.ts +14 -0
- package/types/config/Configuration.d.ts.map +1 -1
- package/types/controllers/NestedAppAuthController.d.ts +5 -0
- package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/types/controllers/StandardController.d.ts +4 -0
- package/types/controllers/StandardController.d.ts.map +1 -1
- package/types/controllers/UnknownOperatingContextController.d.ts +5 -0
- package/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
- package/types/crypto/BrowserCrypto.d.ts +34 -0
- package/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthActionInputs.d.ts +0 -9
- package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +0 -3
- package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +0 -3
- package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -1
- package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
- package/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +0 -3
- package/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +0 -7
- package/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -6
- package/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +0 -4
- package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +0 -2
- package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +1 -0
- package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +3 -2
- package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +10 -1
- package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +8 -0
- package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts +4 -5
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +3 -6
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -1
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +2 -5
- package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -1
- package/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +0 -2
- package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +0 -2
- package/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +0 -2
- package/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +0 -2
- package/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +0 -2
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +0 -2
- package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +0 -1
- package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +0 -2
- package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +0 -2
- package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +0 -1
- package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
- package/types/error/AsymmetricEarSubErrors.d.ts +14 -0
- package/types/error/AsymmetricEarSubErrors.d.ts.map +1 -0
- package/types/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/types/interaction_client/BaseInteractionClient.d.ts +3 -2
- package/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PopupClient.d.ts +3 -1
- package/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts +0 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/popup_relay/constants.d.ts +10 -3
- package/types/popup_relay/constants.d.ts.map +1 -1
- package/types/popup_relay/index.d.ts +27 -11
- package/types/popup_relay/index.d.ts.map +1 -1
- package/types/popup_relay/relayClient.d.ts +9 -11
- package/types/popup_relay/relayClient.d.ts.map +1 -1
- package/types/protocol/Authorize.d.ts +5 -0
- package/types/protocol/Authorize.d.ts.map +1 -1
- package/types/request/EndSessionPopupRequest.d.ts +3 -0
- package/types/request/EndSessionPopupRequest.d.ts.map +1 -1
- package/types/request/PopupRequest.d.ts +1 -1
- package/types/request/PopupRequest.d.ts.map +1 -1
- package/types/request/RedirectRequest.d.ts +4 -1
- package/types/request/RedirectRequest.d.ts.map +1 -1
- package/types/request/RequestHelpers.d.ts.map +1 -1
- package/types/request/SilentRequestHelpers.d.ts +1 -1
- package/types/request/SilentRequestHelpers.d.ts.map +1 -1
- package/types/request/SsoSilentRequest.d.ts +1 -1
- package/types/request/SsoSilentRequest.d.ts.map +1 -1
- package/types/telemetry/BrowserPerformanceEvents.d.ts +12 -0
- package/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.31.0 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,24 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msalPopupRelay = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
11
|
-
* Licensed under the MIT License.
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* postMessage envelope type used to relay an auth response from a popup-relay
|
|
15
|
-
* page (see `runPopupRelay`) back to the embedded frame that opened it. See
|
|
16
|
-
* {@link BrowserAuthOptions.popupRelayUri}.
|
|
17
|
-
*
|
|
18
|
-
* Kept dependency-free so both the relay-page entry (`./index.js`) and the
|
|
19
|
-
* client-side helpers (`./relayClient.js`) can import it without either bundle
|
|
20
|
-
* pulling in the other's dependencies.
|
|
21
|
-
*
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
const POPUP_RELAY_RESPONSE_TYPE = "msal:popup-relay-response:v1";
|
|
25
|
-
|
|
26
|
-
/*! @azure/msal-common v16.16.2 2026-11-12 */
|
|
9
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
27
10
|
/*
|
|
28
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
29
12
|
* Licensed under the MIT License.
|
|
@@ -79,6 +62,38 @@
|
|
|
79
62
|
return new BrowserAuthError(errorCode, correlationId, subError);
|
|
80
63
|
}
|
|
81
64
|
|
|
65
|
+
/*
|
|
66
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
67
|
+
* Licensed under the MIT License.
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* postMessage envelope type used to relay an auth response from a popup-relay
|
|
71
|
+
* page (see `runPopupRelay`) back to the embedded frame that opened it. See
|
|
72
|
+
* {@link BrowserAuthOptions.popupRelayUri}.
|
|
73
|
+
*
|
|
74
|
+
* Shared by the relay-page entry and client helpers without importing either
|
|
75
|
+
* implementation into the other bundle.
|
|
76
|
+
*
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
const POPUP_RELAY_RESPONSE_TYPE = "msal:popup-relay-response:v1";
|
|
80
|
+
/** @internal Response bound to an authenticated v2 relay document. */
|
|
81
|
+
const POPUP_RELAY_V2_RESPONSE_TYPE = "msal:popup-relay-response:v2";
|
|
82
|
+
/** @internal Ready signal for the authenticated popup-relay request handoff. */
|
|
83
|
+
const POPUP_RELAY_READY_TYPE = "msal:popup-relay-ready:v2";
|
|
84
|
+
/** @internal Request delivered only to the same-origin relay window. */
|
|
85
|
+
const POPUP_RELAY_REQUEST_TYPE = "msal:popup-relay-request:v2";
|
|
86
|
+
/** @internal Resolve the compatibility default without downgrading invalid versions. */
|
|
87
|
+
function getPopupRelayProtocolVersion(version, correlationId = "") {
|
|
88
|
+
if (version === undefined) {
|
|
89
|
+
return 1;
|
|
90
|
+
}
|
|
91
|
+
if (version !== 1 && version !== 2) {
|
|
92
|
+
throw createBrowserAuthError(popupRelayUnsupportedFlow, correlationId, "popup_relay_invalid_protocol");
|
|
93
|
+
}
|
|
94
|
+
return version;
|
|
95
|
+
}
|
|
96
|
+
|
|
82
97
|
/*
|
|
83
98
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
84
99
|
* Licensed under the MIT License.
|
|
@@ -94,6 +109,65 @@
|
|
|
94
109
|
InteractionType["None"] = "none";
|
|
95
110
|
})(InteractionType || (InteractionType = {}));
|
|
96
111
|
|
|
112
|
+
/*
|
|
113
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
114
|
+
* Licensed under the MIT License.
|
|
115
|
+
*/
|
|
116
|
+
// UUID hex digits
|
|
117
|
+
const UUID_CHARS = "0123456789abcdef";
|
|
118
|
+
// Array to store UINT32 random value
|
|
119
|
+
const UINT32_ARR = new Uint32Array(1);
|
|
120
|
+
/**
|
|
121
|
+
* Returns random Uint32 value.
|
|
122
|
+
* @returns {number}
|
|
123
|
+
*/
|
|
124
|
+
function getRandomUint32() {
|
|
125
|
+
window.crypto.getRandomValues(UINT32_ARR);
|
|
126
|
+
return UINT32_ARR[0];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Creates a UUID v7 from the current timestamp.
|
|
130
|
+
* Implementation relies on the system clock to guarantee increasing order of generated identifiers.
|
|
131
|
+
* @returns {number}
|
|
132
|
+
*/
|
|
133
|
+
function createNewGuid() {
|
|
134
|
+
const currentTimestamp = Date.now();
|
|
135
|
+
const baseRand = getRandomUint32() * 0x400 + (getRandomUint32() & 0x3ff);
|
|
136
|
+
// Result byte array
|
|
137
|
+
const bytes = new Uint8Array(16);
|
|
138
|
+
// A 12-bit `rand_a` field value
|
|
139
|
+
const randA = Math.trunc(baseRand / 2 ** 30);
|
|
140
|
+
// The higher 30 bits of 62-bit `rand_b` field value
|
|
141
|
+
const randBHi = baseRand & (2 ** 30 - 1);
|
|
142
|
+
// The lower 32 bits of 62-bit `rand_b` field value
|
|
143
|
+
const randBLo = getRandomUint32();
|
|
144
|
+
bytes[0] = currentTimestamp / 2 ** 40;
|
|
145
|
+
bytes[1] = currentTimestamp / 2 ** 32;
|
|
146
|
+
bytes[2] = currentTimestamp / 2 ** 24;
|
|
147
|
+
bytes[3] = currentTimestamp / 2 ** 16;
|
|
148
|
+
bytes[4] = currentTimestamp / 2 ** 8;
|
|
149
|
+
bytes[5] = currentTimestamp;
|
|
150
|
+
bytes[6] = 0x70 | (randA >>> 8);
|
|
151
|
+
bytes[7] = randA;
|
|
152
|
+
bytes[8] = 0x80 | (randBHi >>> 24);
|
|
153
|
+
bytes[9] = randBHi >>> 16;
|
|
154
|
+
bytes[10] = randBHi >>> 8;
|
|
155
|
+
bytes[11] = randBHi;
|
|
156
|
+
bytes[12] = randBLo >>> 24;
|
|
157
|
+
bytes[13] = randBLo >>> 16;
|
|
158
|
+
bytes[14] = randBLo >>> 8;
|
|
159
|
+
bytes[15] = randBLo;
|
|
160
|
+
let text = "";
|
|
161
|
+
for (let i = 0; i < bytes.length; i++) {
|
|
162
|
+
text += UUID_CHARS.charAt(bytes[i] >>> 4);
|
|
163
|
+
text += UUID_CHARS.charAt(bytes[i] & 0xf);
|
|
164
|
+
if (i === 3 || i === 5 || i === 7 || i === 9) {
|
|
165
|
+
text += "-";
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return text;
|
|
169
|
+
}
|
|
170
|
+
|
|
97
171
|
/*
|
|
98
172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
99
173
|
* Licensed under the MIT License.
|
|
@@ -170,12 +244,10 @@
|
|
|
170
244
|
});
|
|
171
245
|
}
|
|
172
246
|
/**
|
|
173
|
-
* Validates a navigation target
|
|
247
|
+
* Validates a navigation target before it can
|
|
174
248
|
* reach `window.open` or a form `action`.
|
|
175
249
|
*
|
|
176
|
-
*
|
|
177
|
-
* page, so a target must be proven safe rather than assumed to have been built
|
|
178
|
-
* by MSAL. Only absolute `https:` URLs without embedded credentials are
|
|
250
|
+
* Only absolute `https:` URLs without embedded credentials are
|
|
179
251
|
* accepted, which rules out active/local schemes (`javascript:`, `data:`,
|
|
180
252
|
* `blob:`, `vbscript:`, `file:`) that would otherwise execute in — or read
|
|
181
253
|
* from — the relay page's own first-party security origin. `https:`-only also
|
|
@@ -218,24 +290,16 @@
|
|
|
218
290
|
return raw;
|
|
219
291
|
}
|
|
220
292
|
/**
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
* exactly (no implicit GET fallback for an unknown `method`) and both
|
|
293
|
+
* Fully validates a v1 descriptor or an authenticated v2 request. The shape
|
|
294
|
+
* is checked exactly (no implicit GET fallback for an unknown `method`) and both
|
|
224
295
|
* navigation targets — the GET `url` and the POST `action` — are run through
|
|
225
296
|
* {@link validateNavigationTarget}.
|
|
226
297
|
*/
|
|
227
298
|
function parseRelayRequest(rawReq, allowedAuthorityOrigins) {
|
|
228
|
-
|
|
229
|
-
try {
|
|
230
|
-
parsed = JSON.parse(rawReq);
|
|
231
|
-
}
|
|
232
|
-
catch (e) {
|
|
233
|
-
parsed = null;
|
|
234
|
-
}
|
|
235
|
-
if (typeof parsed !== "object" || parsed === null) {
|
|
299
|
+
if (typeof rawReq !== "object" || rawReq === null) {
|
|
236
300
|
throwRelayError(BAD_REQUEST_SUBERROR);
|
|
237
301
|
}
|
|
238
|
-
const request =
|
|
302
|
+
const request = rawReq;
|
|
239
303
|
const id = request.id;
|
|
240
304
|
if (typeof id !== "string" || !id) {
|
|
241
305
|
throwRelayError(BAD_REQUEST_SUBERROR);
|
|
@@ -288,17 +352,22 @@
|
|
|
288
352
|
/**
|
|
289
353
|
* Entry point for the top-level "popup-relay" page referenced by
|
|
290
354
|
* `auth.popupRelayUri`. Call this from the relay page (which MSAL opens as a
|
|
291
|
-
* top-level popup from inside an embedded, cross-origin iframe).
|
|
355
|
+
* top-level popup from inside an embedded, cross-origin iframe).
|
|
356
|
+
*
|
|
357
|
+
* V1 (the compatibility default) is deprecated due to security concerns. It
|
|
358
|
+
* executes validated but unauthenticated fragment descriptors and returns the
|
|
359
|
+
* legacy response envelope. It retains the legacy risk when origins are not
|
|
360
|
+
* pinned; retire that endpoint after migrating callers.
|
|
361
|
+
*
|
|
362
|
+
* V2 must be explicitly selected on both the app and its separate relay
|
|
363
|
+
* endpoint. It:
|
|
292
364
|
*
|
|
293
|
-
* 1. Reads the
|
|
294
|
-
*
|
|
295
|
-
* 2.
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* particular active schemes such as `javascript:` — is rejected before it
|
|
300
|
-
* can reach `window.open` or a form `action`.
|
|
301
|
-
* 3. Opens the IdP child popup and performs that navigation (the relay page
|
|
365
|
+
* 1. Reads the request id from the hash, then scrubs the hash. Navigation
|
|
366
|
+
* descriptors in the hash are never executed.
|
|
367
|
+
* 2. Reserves a blank child popup during the user gesture, then requests the
|
|
368
|
+
* navigation from the opener through an origin- and source-checked
|
|
369
|
+
* postMessage handoff bound to this relay document's nonce.
|
|
370
|
+
* 3. Validates and performs the authenticated navigation (the relay page
|
|
302
371
|
* stays put, so its `window.opener` link back to the embedded frame
|
|
303
372
|
* survives COOP).
|
|
304
373
|
* 4. Waits for the child's redirect URI page (which must run the redirect
|
|
@@ -317,10 +386,27 @@
|
|
|
317
386
|
* @param options - {@link PopupRelayOptions}
|
|
318
387
|
*/
|
|
319
388
|
function runPopupRelay(options) {
|
|
389
|
+
const protocolVersion = getPopupRelayProtocolVersion(options?.protocolVersion);
|
|
320
390
|
const opener = window.opener;
|
|
321
391
|
const targetOrigin = window.location.origin;
|
|
322
392
|
const hashParams = new URLSearchParams(window.location.hash.replace(/^#/, ""));
|
|
323
|
-
const
|
|
393
|
+
const incomingVersion = hashParams.has("id") ? 2 : 1;
|
|
394
|
+
let legacyDescriptor;
|
|
395
|
+
if (incomingVersion === 1) {
|
|
396
|
+
try {
|
|
397
|
+
legacyDescriptor = JSON.parse(hashParams.get("req") || "");
|
|
398
|
+
}
|
|
399
|
+
catch {
|
|
400
|
+
legacyDescriptor = null;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
let id = hashParams.get("id") || "";
|
|
404
|
+
if (incomingVersion === 1 &&
|
|
405
|
+
legacyDescriptor &&
|
|
406
|
+
typeof legacyDescriptor === "object" &&
|
|
407
|
+
"id" in legacyDescriptor) {
|
|
408
|
+
id = legacyDescriptor.id;
|
|
409
|
+
}
|
|
324
410
|
// Scrub the relayed request out of the relay page's own URL immediately.
|
|
325
411
|
if (typeof window.history.replaceState === "function") {
|
|
326
412
|
window.history.replaceState(null, "", window.location.origin + window.location.pathname);
|
|
@@ -328,14 +414,28 @@
|
|
|
328
414
|
if (!opener) {
|
|
329
415
|
throw createBrowserAuthError(popupRelayUnsupportedFlow, "", "popup_relay_no_opener");
|
|
330
416
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
417
|
+
if (typeof id !== "string" || !id) {
|
|
418
|
+
throwRelayError(BAD_REQUEST_SUBERROR);
|
|
419
|
+
}
|
|
420
|
+
if (incomingVersion !== protocolVersion) {
|
|
421
|
+
const error = createBrowserAuthError(popupRelayUnsupportedFlow, "", "popup_relay_protocol_mismatch");
|
|
422
|
+
opener.postMessage({
|
|
423
|
+
type: incomingVersion === 1
|
|
424
|
+
? POPUP_RELAY_RESPONSE_TYPE
|
|
425
|
+
: POPUP_RELAY_V2_RESPONSE_TYPE,
|
|
426
|
+
id,
|
|
427
|
+
error: error.errorCode,
|
|
428
|
+
subError: error.subError,
|
|
429
|
+
}, targetOrigin);
|
|
430
|
+
throw error;
|
|
431
|
+
}
|
|
432
|
+
const legacyRequest = protocolVersion === 1
|
|
433
|
+
? parseRelayRequest(legacyDescriptor, options?.allowedAuthorityOrigins)
|
|
434
|
+
: undefined;
|
|
435
|
+
const nonce = protocolVersion === 2 ? createNewGuid() : undefined;
|
|
337
436
|
const channel = new BroadcastChannel(id);
|
|
338
437
|
let settled = false;
|
|
438
|
+
let requestReceived = protocolVersion === 1;
|
|
339
439
|
/*
|
|
340
440
|
* Timer handles are kept on a const holder so relay() (declared before the
|
|
341
441
|
* timers are created) can clear them — `let` handles trip prefer-const, and
|
|
@@ -355,7 +455,16 @@
|
|
|
355
455
|
}
|
|
356
456
|
clearInterval(timers.closedPoll);
|
|
357
457
|
clearTimeout(timers.timeoutId);
|
|
358
|
-
|
|
458
|
+
window.removeEventListener("message", onRequest);
|
|
459
|
+
window.removeEventListener("pagehide", onPageHide);
|
|
460
|
+
opener.postMessage({
|
|
461
|
+
type: protocolVersion === 1
|
|
462
|
+
? POPUP_RELAY_RESPONSE_TYPE
|
|
463
|
+
: POPUP_RELAY_V2_RESPONSE_TYPE,
|
|
464
|
+
id,
|
|
465
|
+
...(protocolVersion === 2 ? { nonce } : {}),
|
|
466
|
+
...message,
|
|
467
|
+
}, targetOrigin);
|
|
359
468
|
setTimeout(() => {
|
|
360
469
|
try {
|
|
361
470
|
window.close();
|
|
@@ -368,21 +477,75 @@
|
|
|
368
477
|
// The redirect bridge broadcasts the raw auth response payload here.
|
|
369
478
|
channel.onmessage = (event) => {
|
|
370
479
|
const payload = event.data && event.data.payload;
|
|
371
|
-
if (payload) {
|
|
480
|
+
if (requestReceived && payload) {
|
|
372
481
|
relay({ payload });
|
|
373
482
|
}
|
|
374
483
|
};
|
|
484
|
+
const onRequest = (event) => {
|
|
485
|
+
const data = event.data;
|
|
486
|
+
if (settled ||
|
|
487
|
+
requestReceived ||
|
|
488
|
+
protocolVersion !== 2 ||
|
|
489
|
+
!childPopup ||
|
|
490
|
+
event.origin !== targetOrigin ||
|
|
491
|
+
event.source !== opener ||
|
|
492
|
+
!data ||
|
|
493
|
+
data.type !== POPUP_RELAY_REQUEST_TYPE ||
|
|
494
|
+
data.id !== id ||
|
|
495
|
+
data.nonce !== nonce) {
|
|
496
|
+
return;
|
|
497
|
+
}
|
|
498
|
+
window.removeEventListener("message", onRequest);
|
|
499
|
+
try {
|
|
500
|
+
const request = parseRelayRequest(data.request, options?.allowedAuthorityOrigins);
|
|
501
|
+
if (request.id !== id) {
|
|
502
|
+
throwRelayError(BAD_REQUEST_SUBERROR);
|
|
503
|
+
}
|
|
504
|
+
requestReceived = true;
|
|
505
|
+
if (request.method === "GET") {
|
|
506
|
+
childPopup.location.replace(request.url);
|
|
507
|
+
}
|
|
508
|
+
else {
|
|
509
|
+
createForm(childPopup.document, request.action, request.fields).submit();
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
catch (e) {
|
|
513
|
+
relay({
|
|
514
|
+
error: e instanceof BrowserAuthError
|
|
515
|
+
? e.errorCode
|
|
516
|
+
: popupWindowError,
|
|
517
|
+
subError: e instanceof BrowserAuthError
|
|
518
|
+
? e.subError
|
|
519
|
+
: "popup_relay_navigation_failed",
|
|
520
|
+
});
|
|
521
|
+
childPopup.close();
|
|
522
|
+
}
|
|
523
|
+
};
|
|
375
524
|
const features = buildChildPopupFeatures(options?.popupWindowAttributes);
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
525
|
+
// Reserve a fresh window before the asynchronous handoff consumes activation.
|
|
526
|
+
const childPopup = legacyRequest?.method === "GET"
|
|
527
|
+
? window.open(legacyRequest.url, "msalPopupRelayChild", features)
|
|
528
|
+
: window.open("about:blank", protocolVersion === 1 ? "msalPopupRelayChild" : "_blank", features);
|
|
379
529
|
if (!childPopup) {
|
|
380
530
|
relay({ error: popupWindowError });
|
|
381
531
|
return;
|
|
382
532
|
}
|
|
383
|
-
|
|
384
|
-
|
|
533
|
+
function onPageHide() {
|
|
534
|
+
settled = true;
|
|
535
|
+
window.removeEventListener("message", onRequest);
|
|
536
|
+
window.removeEventListener("pagehide", onPageHide);
|
|
537
|
+
clearInterval(timers.closedPoll);
|
|
538
|
+
clearTimeout(timers.timeoutId);
|
|
539
|
+
channel.close();
|
|
540
|
+
childPopup?.close();
|
|
541
|
+
}
|
|
542
|
+
if (protocolVersion === 2) {
|
|
543
|
+
window.addEventListener("message", onRequest);
|
|
385
544
|
}
|
|
545
|
+
else if (legacyRequest?.method === "POST") {
|
|
546
|
+
createForm(childPopup.document, legacyRequest.action, legacyRequest.fields).submit();
|
|
547
|
+
}
|
|
548
|
+
window.addEventListener("pagehide", onPageHide);
|
|
386
549
|
timers.closedPoll = window.setInterval(() => {
|
|
387
550
|
if (childPopup.closed && !settled) {
|
|
388
551
|
/*
|
|
@@ -410,9 +573,17 @@
|
|
|
410
573
|
catch (e) {
|
|
411
574
|
/* ignore */
|
|
412
575
|
}
|
|
413
|
-
relay({
|
|
576
|
+
relay({
|
|
577
|
+
error: timedOut,
|
|
578
|
+
subError: requestReceived
|
|
579
|
+
? undefined
|
|
580
|
+
: "popup_relay_handshake_timeout",
|
|
581
|
+
});
|
|
414
582
|
}
|
|
415
583
|
}, options?.timeoutMs || DEFAULT_POPUP_RELAY_TIMEOUT_MS);
|
|
584
|
+
if (protocolVersion === 2) {
|
|
585
|
+
opener.postMessage({ type: POPUP_RELAY_READY_TYPE, id, nonce }, targetOrigin);
|
|
586
|
+
}
|
|
416
587
|
}
|
|
417
588
|
|
|
418
589
|
exports.runPopupRelay = runPopupRelay;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msal-popup-relay.js","sources":["../../../../src/popup_relay/constants.ts","../../../msal-common/dist-browser/error/AuthError.mjs","../../../../src/error/BrowserAuthErrorCodes.ts","../../../../src/error/BrowserAuthError.ts","../../../../src/utils/BrowserConstants.ts","../../../../src/protocol/Authorize.ts","../../../../src/popup_relay/index.ts"],"sourcesContent":[null,"/*! @azure/msal-common v16.16.2 2026-11-12 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nfunction getDefaultErrorMessage(code) {\r\n return `See https://aka.ms/msal.js.errors#${code} for details`;\r\n}\r\n/**\r\n * General error class thrown by the MSAL.js library.\r\n */\r\nclass AuthError extends Error {\r\n constructor(errorCode, correlationId, errorMessage, suberror) {\r\n const message = errorMessage ||\r\n (errorCode ? getDefaultErrorMessage(errorCode) : \"\");\r\n const errorString = message ? `${errorCode}: ${message}` : errorCode;\r\n super(errorString);\r\n Object.setPrototypeOf(this, AuthError.prototype);\r\n this.errorCode = errorCode || \"\";\r\n this.errorMessage = message || \"\";\r\n this.subError = suberror || \"\";\r\n this.correlationId = correlationId;\r\n this.name = \"AuthError\";\r\n }\r\n}\r\nfunction createAuthError(code, correlationId, additionalMessage) {\r\n return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage(code));\r\n}\n\nexport { AuthError, createAuthError, getDefaultErrorMessage };\n//# sourceMappingURL=AuthError.mjs.map\n",null,null,null,null,null],"names":["getDefaultErrorMessage","BrowserAuthErrorCodes.popupRelayUnsupportedFlow","BrowserAuthErrorCodes.popupWindowError","BrowserAuthErrorCodes.userCancelled","BrowserAuthErrorCodes.timedOut"],"mappings":";;;;;;;;IAAA;;;IAGG;IAEH;;;;;;;;;;IAUG;IACI,MAAM,yBAAyB,GAAG,8BAA8B;;IChBvE;IAEA;IACA;IACA;IACA;IACA,SAASA,wBAAsB,CAAC,IAAI,EAAE;IACtC,IAAI,OAAO,CAAC,kCAAkC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACnE,CAAC;IACD;IACA;IACA;IACA,MAAM,SAAS,SAAS,KAAK,CAAC;IAC9B,IAAI,WAAW,CAAC,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE;IAClE,QAAQ,MAAM,OAAO,GAAG,YAAY;IACpC,aAAa,SAAS,GAAGA,wBAAsB,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC;IACjE,QAAQ,MAAM,WAAW,GAAG,OAAO,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAC7E,QAAQ,KAAK,CAAC,WAAW,CAAC,CAAC;IAC3B,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACzD,QAAQ,IAAI,CAAC,SAAS,GA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AAa,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;gBACjC,IAAI;oBACA,UAAU,CAAC,KAAK,EAAE,CAAC;IACtB,YAAA,CAAA;IAAC,YAAA,OAAO,CAAC,EAAE;;IAEX,YAAA,CAAA;gBACD,KAAK,CAAC,EAAE,KAAK,EAAEC,QAA8B,EAAE,CAAC,CAAC;IACpD,QAAA,CAAA;IACL,IAAA,CAAC,EAAE,OAAO,EAAE,SAAS,IAAI,8BAA8B,CAAC,CAAC;IAC7D;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"msal-popup-relay.js","sources":["../../../msal-common/dist-browser/error/AuthError.mjs","../../../../src/error/BrowserAuthErrorCodes.ts","../../../../src/error/BrowserAuthError.ts","../../../../src/popup_relay/constants.ts","../../../../src/utils/BrowserConstants.ts","../../../../src/crypto/BrowserCrypto.ts","../../../../src/protocol/Authorize.ts","../../../../src/popup_relay/index.ts"],"sourcesContent":["/*! @azure/msal-common v16.18.0 2026-12-02 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nfunction getDefaultErrorMessage(code) {\r\n return `See https://aka.ms/msal.js.errors#${code} for details`;\r\n}\r\n/**\r\n * General error class thrown by the MSAL.js library.\r\n */\r\nclass AuthError extends Error {\r\n constructor(errorCode, correlationId, errorMessage, suberror) {\r\n const message = errorMessage ||\r\n (errorCode ? getDefaultErrorMessage(errorCode) : \"\");\r\n const errorString = message ? `${errorCode}: ${message}` : errorCode;\r\n super(errorString);\r\n Object.setPrototypeOf(this, AuthError.prototype);\r\n this.errorCode = errorCode || \"\";\r\n this.errorMessage = message || \"\";\r\n this.subError = suberror || \"\";\r\n this.correlationId = correlationId;\r\n this.name = \"AuthError\";\r\n }\r\n}\r\nfunction createAuthError(code, correlationId, additionalMessage) {\r\n return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage(code));\r\n}\n\nexport { AuthError, createAuthError, getDefaultErrorMessage };\n//# sourceMappingURL=AuthError.mjs.map\n",null,null,null,null,null,null,null],"names":["getDefaultErrorMessage","BrowserAuthErrorCodes.popupRelayUnsupportedFlow","BrowserAuthErrorCodes.popupWindowError","BrowserAuthErrorCodes.userCancelled","BrowserAuthErrorCodes.timedOut"],"mappings":";;;;;;;;IAAA;IAEA;IACA;IACA;IACA;IACA,SAASA,wBAAsB,CAAC,IAAI,EAAE;IACtC,IAAI,OAAO,CAAC,kCAAkC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACnE,CAAC;IACD;IACA;IACA;IACA,MAAM,SAAS,SAAS,KAAK,CAAC;IAC9B,IAAI,WAAW,CAAC,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE;IAClE,QAAQ,MAAM,OAAO,GAAG,YAAY;IACpC,aAAa,SAAS,GAAGA,wBAAsB,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC;IACjE,QAAQ,MAAM,WAAW,GAAG,OAAO,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAC7E,QAAQ,KAAK,CAAC,WAAW,CAAC,CAAC;IAC3B,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACzD,QAAQ,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE,CAAC;IACzC,QAAQ,IAAI,CAAC,YAAY,GAAG,OAAO,IAAI,EAAE,CAAC;IAC1C,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;IACvC,QAAQ,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IAC3C,QAAQ,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;IAChC,IAAI,CAAC;IACL;;ICzBA;;;IAGG;IAgBI,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;IAE9C,MAAM,aAAa,GAAG,gBAAgB,CAAC;IAKvC,MAAM,yBAAyB,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,QAAQ,EAAE,eAAe;IACrB,sBAAE,SAAS;IACX,sBAAE,+BAA+B;IACxC,aAAA,CAAC,CAAC;IACN,QAAA,CAAA;IACL,IAAA,CAAC,EAAE,OAAO,EAAE,SAAS,IAAI,8BAA8B,CAAC,CAAC;QAEzD,IAAI,eAAe,KAAK,CAAC,EAAE;IACvB,QAAA,MAAM,CAAC,WAAW,CACd,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAAE,EAAE,KAAK,EAAE,EAC3C,YAAY,CACf,CAAC;IACL,IAAA,CAAA;IACL;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
2
|
-
"use strict";!function(o
|
|
1
|
+
/*! @azure/msal-browser v5.31.0 2026-12-02 */
|
|
2
|
+
"use strict";!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).msalPopupRelay={})}(this,function(e){class o extends Error{constructor(e,t,r,n){const i=r||(e?`See https://aka.ms/msal.js.errors#${e} for details`:"");super(i?`${e}: ${i}`:e),Object.setPrototypeOf(this,o.prototype),this.errorCode=e||"",this.errorMessage=i||"",this.subError=n||"",this.correlationId=t,this.name="AuthError"}}const t="popup_window_error",r="popup_relay_unsupported_flow";class n extends o{constructor(e,o,t){super(e,o,`See https://aka.ms/msal.js.errors#${e} for details`,t),Object.setPrototypeOf(this,n.prototype),this.name="BrowserAuthError"}}function i(e,o,t){return new n(e,o,t)}const s="msal:popup-relay-response:v1",a="msal:popup-relay-response:v2";var p;!function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"}(p||(p={}));const l="0123456789abcdef",c=new Uint32Array(1);function u(){return window.crypto.getRandomValues(c),c[0]}function d(e,o,t){const r=e.createElement("form");return r.method="post",r.action=o,Object.keys(t).forEach(o=>{const n=e.createElement("input");n.hidden=!0,n.name=o,n.value=t[o],r.appendChild(n)}),e.body.appendChild(r),r}const h="popup_relay_bad_request",f="popup_relay_invalid_allowed_origin";function y(e){throw i(r,"",e)}function w(e){try{return new URL(e)}catch(e){return null}}function m(e,o){"string"==typeof e&&e||y(h);const t=w(e);(!t||"https:"!==t.protocol||t.username||t.password)&&y("popup_relay_unsafe_url"),void 0===o||Array.isArray(o)||y(f);const r=void 0===o?void 0:function(e){return e.map(e=>{const o="string"==typeof e?w(e):null;return(!o||"https:"!==o.protocol||o.username||o.password)&&y(f),o.origin})}(o);return r&&r.indexOf(t.origin)<0&&y("popup_relay_untrusted_authority"),e}function _(e,o){"object"==typeof e&&null!==e||y(h);const t=e,r=t.id;if("string"==typeof r&&r||y(h),"GET"===t.method)return{id:r,method:"GET",url:m(t.url,o)};if("POST"===t.method){const e=m(t.action,o),n=t.fields;("object"!=typeof n||null===n||Array.isArray(n))&&y(h);const i={};return Object.keys(n).forEach(e=>{const o=n[e];"string"!=typeof o&&y(h),i[e]=o}),{id:r,method:"POST",action:e,fields:i}}return y(h)}e.runPopupRelay=function(e){const o=function(e,o=""){if(void 0===e)return 1;if(1!==e&&2!==e)throw i(r,o,"popup_relay_invalid_protocol");return e}(e?.protocolVersion),p=window.opener,c=window.location.origin,f=new URLSearchParams(window.location.hash.replace(/^#/,"")),w=f.has("id")?2:1;let m;if(1===w)try{m=JSON.parse(f.get("req")||"")}catch{m=null}let g=f.get("id")||"";if(1===w&&m&&"object"==typeof m&&"id"in m&&(g=m.id),"function"==typeof window.history.replaceState&&window.history.replaceState(null,"",window.location.origin+window.location.pathname),!p)throw i(r,"","popup_relay_no_opener");if("string"==typeof g&&g||y(h),w!==o){const e=i(r,"","popup_relay_protocol_mismatch");throw p.postMessage({type:1===w?s:a,id:g,error:e.errorCode,subError:e.subError},c),e}const v=1===o?_(m,e?.allowedAuthorityOrigins):void 0,b=2===o?function(){const e=Date.now(),o=1024*u()+(1023&u()),t=new Uint8Array(16),r=Math.trunc(o/2**30),n=o&2**30-1,i=u();t[0]=e/2**40,t[1]=e/2**32,t[2]=e/2**24,t[3]=e/65536,t[4]=e/256,t[5]=e,t[6]=112|r>>>8,t[7]=r,t[8]=128|n>>>24,t[9]=n>>>16,t[10]=n>>>8,t[11]=n,t[12]=i>>>24,t[13]=i>>>16,t[14]=i>>>8,t[15]=i;let s="";for(let e=0;e<t.length;e++)s+=l.charAt(t[e]>>>4),s+=l.charAt(15&t[e]),3!==e&&5!==e&&7!==e&&9!==e||(s+="-");return s}():void 0,E=new BroadcastChannel(g);let P=!1,T=1===o;const A={},O=e=>{if(!P){P=!0;try{E.close()}catch(e){}clearInterval(A.closedPoll),clearTimeout(A.timeoutId),window.removeEventListener("message",S),window.removeEventListener("pagehide",L),p.postMessage({type:1===o?s:a,id:g,...2===o?{nonce:b}:{},...e},c),setTimeout(()=>{try{window.close()}catch(e){}},0)}};E.onmessage=e=>{const o=e.data&&e.data.payload;T&&o&&O({payload:o})};const S=r=>{const i=r.data;if(!P&&!T&&2===o&&I&&r.origin===c&&r.source===p&&i&&"msal:popup-relay-request:v2"===i.type&&i.id===g&&i.nonce===b){window.removeEventListener("message",S);try{const o=_(i.request,e?.allowedAuthorityOrigins);o.id!==g&&y(h),T=!0,"GET"===o.method?I.location.replace(o.url):d(I.document,o.action,o.fields).submit()}catch(e){O({error:e instanceof n?e.errorCode:t,subError:e instanceof n?e.subError:"popup_relay_navigation_failed"}),I.close()}}},j=function(e){const o=[`width=${e?.popupSize?.width||520}`,`height=${e?.popupSize?.height||640}`];return void 0!==e?.popupPosition?.top&&o.push(`top=${e.popupPosition.top}`),void 0!==e?.popupPosition?.left&&o.push(`left=${e.popupPosition.left}`),o.push("scrollbars=yes"),o.join(",")}(e?.popupWindowAttributes),I="GET"===v?.method?window.open(v.url,"msalPopupRelayChild",j):window.open("about:blank",1===o?"msalPopupRelayChild":"_blank",j);function L(){P=!0,window.removeEventListener("message",S),window.removeEventListener("pagehide",L),clearInterval(A.closedPoll),clearTimeout(A.timeoutId),E.close(),I?.close()}I?(2===o?window.addEventListener("message",S):"POST"===v?.method&&d(I.document,v.action,v.fields).submit(),window.addEventListener("pagehide",L),A.closedPoll=window.setInterval(()=>{I.closed&&!P&&(clearTimeout(A.timeoutId),O({error:"user_cancelled"}))},500),A.timeoutId=window.setTimeout(()=>{if(!P){clearInterval(A.closedPoll);try{I.close()}catch(e){}O({error:"timed_out",subError:T?void 0:"popup_relay_handshake_timeout"})}},e?.timeoutMs||3e5),2===o&&p.postMessage({type:"msal:popup-relay-ready:v2",id:g,nonce:b},c)):O({error:t})}});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.
|
|
1
|
+
/*! @azure/msal-browser v5.31.0 2026-12-02 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v16.
|
|
5
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
6
6
|
// Resource delimiter - used for certain cache entries
|
|
7
7
|
const RESOURCE_DELIM = "|";
|
|
8
8
|
const FORWARD_SLASH = "/";
|
|
@@ -13,7 +13,7 @@ const AADAuthority = {
|
|
|
13
13
|
COMMON: "common",
|
|
14
14
|
ORGANIZATIONS: "organizations"};
|
|
15
15
|
|
|
16
|
-
/*! @azure/msal-common v16.
|
|
16
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
17
17
|
/*
|
|
18
18
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19
19
|
* Licensed under the MIT License.
|
|
@@ -39,7 +39,7 @@ class AuthError extends Error {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
/*! @azure/msal-common v16.
|
|
42
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
43
43
|
|
|
44
44
|
/*
|
|
45
45
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -62,11 +62,11 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
|
|
|
62
62
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
/*! @azure/msal-common v16.
|
|
65
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
66
66
|
const invalidState = "invalid_state";
|
|
67
67
|
const noCryptoObject = "no_crypto_object";
|
|
68
68
|
|
|
69
|
-
/*! @azure/msal-common v16.
|
|
69
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
70
70
|
|
|
71
71
|
/*
|
|
72
72
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -86,12 +86,12 @@ function createClientConfigurationError(errorCode, correlationId) {
|
|
|
86
86
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/*! @azure/msal-common v16.
|
|
89
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
90
90
|
const authorityUriInsecure = "authority_uri_insecure";
|
|
91
91
|
const urlParseError = "url_parse_error";
|
|
92
92
|
const urlEmptyError = "empty_url_error";
|
|
93
93
|
|
|
94
|
-
/*! @azure/msal-common v16.
|
|
94
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
95
95
|
/*
|
|
96
96
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
97
97
|
* Licensed under the MIT License.
|
|
@@ -171,7 +171,7 @@ class StringUtils {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
/*! @azure/msal-common v16.
|
|
174
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
175
175
|
|
|
176
176
|
/*
|
|
177
177
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -358,7 +358,7 @@ class UrlString {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
/*! @azure/msal-common v16.
|
|
361
|
+
/*! @azure/msal-common v16.18.0 2026-12-02 */
|
|
362
362
|
/**
|
|
363
363
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
364
364
|
* @param base64Decode
|