@azure/msal-browser 4.28.2 → 4.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientNext.mjs +1 -1
- package/dist/broker/nativeBroker/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/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.d.ts +7 -0
- package/dist/config/Configuration.d.ts.map +1 -1
- package/dist/config/Configuration.mjs +2 -1
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/ControllerFactory.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.d.ts +9 -0
- package/dist/controllers/StandardController.d.ts.map +1 -1
- package/dist/controllers/StandardController.mjs +56 -1
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +1 -1
- package/dist/crypto/CryptoOps.mjs +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
- package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
- package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
- package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
- package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
- package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
- package/dist/custom-auth-path/config/Configuration.d.ts +7 -0
- package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
- package/dist/custom-auth-path/config/Configuration.mjs +2 -1
- package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
- package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
- package/dist/custom-auth-path/controllers/StandardController.d.ts +9 -0
- package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs +56 -1
- package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
- package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
- package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
- package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
- package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
- package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
- package/dist/custom-auth-path/event/EventType.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +7 -0
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +49 -3
- package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
- package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
- package/dist/custom-auth-path/packageMetadata.mjs +2 -2
- package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
- package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
- package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
- package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
- package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.d.ts +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 +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.d.ts +7 -0
- package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +49 -3
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -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/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/msal-custom-auth.cjs +213 -68
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +213 -68
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/custom-auth-path/types/config/Configuration.d.ts +7 -0
- package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts +9 -0
- package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +7 -0
- package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
- package/lib/msal-browser.cjs +221 -70
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +221 -70
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +64 -64
- package/lib/types/config/Configuration.d.ts +7 -0
- package/lib/types/config/Configuration.d.ts.map +1 -1
- package/lib/types/controllers/StandardController.d.ts +9 -0
- package/lib/types/controllers/StandardController.d.ts.map +1 -1
- package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/lib/types/interaction_client/SilentIframeClient.d.ts +7 -0
- package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +2 -2
- package/src/config/Configuration.ts +8 -0
- package/src/controllers/StandardController.ts +92 -0
- package/src/interaction_client/SilentIframeClient.ts +136 -0
- package/src/packageMetadata.ts +1 -1
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.29.0 2026-02-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v15.
|
|
9
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
// Token renewal offset default in seconds
|
|
284
284
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
285
285
|
|
|
286
|
-
/*! @azure/msal-common v15.
|
|
286
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
287
287
|
/*
|
|
288
288
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
289
289
|
* Licensed under the MIT License.
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
unexpectedError: unexpectedError
|
|
301
301
|
});
|
|
302
302
|
|
|
303
|
-
/*! @azure/msal-common v15.
|
|
303
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
304
304
|
|
|
305
305
|
/*
|
|
306
306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
: AuthErrorMessages[code]);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
/*! @azure/msal-common v15.
|
|
352
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
353
353
|
/*
|
|
354
354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
355
355
|
* Licensed under the MIT License.
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
userTimeoutReached: userTimeoutReached
|
|
450
450
|
});
|
|
451
451
|
|
|
452
|
-
/*! @azure/msal-common v15.
|
|
452
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
453
453
|
|
|
454
454
|
/*
|
|
455
455
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
/*! @azure/msal-common v15.
|
|
709
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
710
710
|
|
|
711
711
|
/*
|
|
712
712
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
},
|
|
746
746
|
};
|
|
747
747
|
|
|
748
|
-
/*! @azure/msal-common v15.
|
|
748
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
749
749
|
|
|
750
750
|
/*
|
|
751
751
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -936,12 +936,12 @@
|
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
/*! @azure/msal-common v15.
|
|
939
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
940
940
|
/* eslint-disable header/header */
|
|
941
941
|
const name$1 = "@azure/msal-common";
|
|
942
|
-
const version$1 = "15.
|
|
942
|
+
const version$1 = "15.15.0";
|
|
943
943
|
|
|
944
|
-
/*! @azure/msal-common v15.
|
|
944
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
945
945
|
/*
|
|
946
946
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
947
947
|
* Licensed under the MIT License.
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
AzureUsGovernment: "https://login.microsoftonline.us",
|
|
962
962
|
};
|
|
963
963
|
|
|
964
|
-
/*! @azure/msal-common v15.
|
|
964
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
965
965
|
/*
|
|
966
966
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
967
967
|
* Licensed under the MIT License.
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
urlParseError: urlParseError
|
|
1020
1020
|
});
|
|
1021
1021
|
|
|
1022
|
-
/*! @azure/msal-common v15.
|
|
1022
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1023
1023
|
|
|
1024
1024
|
/*
|
|
1025
1025
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
return new ClientConfigurationError(errorCode);
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
/*! @azure/msal-common v15.
|
|
1170
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1171
1171
|
/*
|
|
1172
1172
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1173
1173
|
* Licensed under the MIT License.
|
|
@@ -1264,7 +1264,7 @@
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
/*! @azure/msal-common v15.
|
|
1267
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1268
1268
|
|
|
1269
1269
|
/*
|
|
1270
1270
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
/*! @azure/msal-common v15.
|
|
1462
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1463
1463
|
|
|
1464
1464
|
/*
|
|
1465
1465
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1499,7 +1499,7 @@
|
|
|
1499
1499
|
};
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
-
/*! @azure/msal-common v15.
|
|
1502
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1503
1503
|
/*
|
|
1504
1504
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1505
1505
|
* Licensed under the MIT License.
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
return updatedAccountInfo;
|
|
1582
1582
|
}
|
|
1583
1583
|
|
|
1584
|
-
/*! @azure/msal-common v15.
|
|
1584
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1585
1585
|
/*
|
|
1586
1586
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1587
1587
|
* Licensed under the MIT License.
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
Ciam: 3,
|
|
1597
1597
|
};
|
|
1598
1598
|
|
|
1599
|
-
/*! @azure/msal-common v15.
|
|
1599
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1600
1600
|
/*
|
|
1601
1601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1602
1602
|
* Licensed under the MIT License.
|
|
@@ -1618,7 +1618,7 @@
|
|
|
1618
1618
|
return null;
|
|
1619
1619
|
}
|
|
1620
1620
|
|
|
1621
|
-
/*! @azure/msal-common v15.
|
|
1621
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1622
1622
|
/*
|
|
1623
1623
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1624
1624
|
* Licensed under the MIT License.
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
EAR: "EAR",
|
|
1643
1643
|
};
|
|
1644
1644
|
|
|
1645
|
-
/*! @azure/msal-common v15.
|
|
1645
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1646
1646
|
|
|
1647
1647
|
/*
|
|
1648
1648
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1877,7 +1877,7 @@
|
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
-
/*! @azure/msal-common v15.
|
|
1880
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1881
1881
|
|
|
1882
1882
|
/*
|
|
1883
1883
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1958,7 +1958,7 @@
|
|
|
1958
1958
|
}
|
|
1959
1959
|
}
|
|
1960
1960
|
|
|
1961
|
-
/*! @azure/msal-common v15.
|
|
1961
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1962
1962
|
|
|
1963
1963
|
/*
|
|
1964
1964
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2074,7 +2074,7 @@
|
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
|
|
2077
|
-
/*! @azure/msal-common v15.
|
|
2077
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2078
2078
|
|
|
2079
2079
|
/*
|
|
2080
2080
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
2240
2240
|
|
|
2241
|
-
/*! @azure/msal-common v15.
|
|
2241
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2242
2242
|
|
|
2243
2243
|
/*
|
|
2244
2244
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2413,7 +2413,7 @@
|
|
|
2413
2413
|
return null;
|
|
2414
2414
|
}
|
|
2415
2415
|
|
|
2416
|
-
/*! @azure/msal-common v15.
|
|
2416
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2417
2417
|
/*
|
|
2418
2418
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2419
2419
|
* Licensed under the MIT License.
|
|
@@ -2421,7 +2421,7 @@
|
|
|
2421
2421
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2422
2422
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2423
2423
|
|
|
2424
|
-
/*! @azure/msal-common v15.
|
|
2424
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2425
2425
|
|
|
2426
2426
|
/*
|
|
2427
2427
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2466,7 +2466,7 @@
|
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
|
-
/*! @azure/msal-common v15.
|
|
2469
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2470
2470
|
|
|
2471
2471
|
/*
|
|
2472
2472
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3577,7 +3577,7 @@
|
|
|
3577
3577
|
}
|
|
3578
3578
|
}
|
|
3579
3579
|
|
|
3580
|
-
/*! @azure/msal-common v15.
|
|
3580
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3581
3581
|
/*
|
|
3582
3582
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3583
3583
|
* Licensed under the MIT License.
|
|
@@ -3839,6 +3839,11 @@
|
|
|
3839
3839
|
LoadIdToken: "loadIdToken",
|
|
3840
3840
|
LoadAccessToken: "loadAccessToken",
|
|
3841
3841
|
LoadRefreshToken: "loadRefreshToken",
|
|
3842
|
+
/**
|
|
3843
|
+
* SSO capability verification call (msal-browser).
|
|
3844
|
+
* Fire-and-forget SSO verification call made after interactive authentication completes.
|
|
3845
|
+
*/
|
|
3846
|
+
SsoCapable: "ssoCapable",
|
|
3842
3847
|
};
|
|
3843
3848
|
const PerformanceEventAbbreviations = new Map([
|
|
3844
3849
|
[PerformanceEvents.AcquireTokenByCode, "ATByCode"],
|
|
@@ -4066,6 +4071,7 @@
|
|
|
4066
4071
|
[PerformanceEvents.Decrypt, "decrypt"],
|
|
4067
4072
|
[PerformanceEvents.GenerateEarKey, "genEarKey"],
|
|
4068
4073
|
[PerformanceEvents.DecryptEarResponse, "decryptEarResp"],
|
|
4074
|
+
[PerformanceEvents.SsoCapable, "SsoCapable"],
|
|
4069
4075
|
]);
|
|
4070
4076
|
/**
|
|
4071
4077
|
* State of the performance event.
|
|
@@ -4104,7 +4110,7 @@
|
|
|
4104
4110
|
"upgradedCacheCount",
|
|
4105
4111
|
]);
|
|
4106
4112
|
|
|
4107
|
-
/*! @azure/msal-common v15.
|
|
4113
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4108
4114
|
|
|
4109
4115
|
/*
|
|
4110
4116
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4183,7 +4189,7 @@
|
|
|
4183
4189
|
}
|
|
4184
4190
|
}
|
|
4185
4191
|
|
|
4186
|
-
/*! @azure/msal-common v15.
|
|
4192
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4187
4193
|
|
|
4188
4194
|
/*
|
|
4189
4195
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4283,7 +4289,7 @@
|
|
|
4283
4289
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
4284
4290
|
}
|
|
4285
4291
|
|
|
4286
|
-
/*! @azure/msal-common v15.
|
|
4292
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4287
4293
|
/*
|
|
4288
4294
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4289
4295
|
* Licensed under the MIT License.
|
|
@@ -4293,7 +4299,7 @@
|
|
|
4293
4299
|
UPN: "UPN",
|
|
4294
4300
|
};
|
|
4295
4301
|
|
|
4296
|
-
/*! @azure/msal-common v15.
|
|
4302
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4297
4303
|
/*
|
|
4298
4304
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4299
4305
|
* Licensed under the MIT License.
|
|
@@ -4343,7 +4349,7 @@
|
|
|
4343
4349
|
const EAR_JWK = "ear_jwk";
|
|
4344
4350
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
4345
4351
|
|
|
4346
|
-
/*! @azure/msal-common v15.
|
|
4352
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4347
4353
|
|
|
4348
4354
|
/*
|
|
4349
4355
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4723,7 +4729,7 @@
|
|
|
4723
4729
|
});
|
|
4724
4730
|
}
|
|
4725
4731
|
|
|
4726
|
-
/*! @azure/msal-common v15.
|
|
4732
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4727
4733
|
/*
|
|
4728
4734
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4729
4735
|
* Licensed under the MIT License.
|
|
@@ -4735,7 +4741,7 @@
|
|
|
4735
4741
|
response.hasOwnProperty("jwks_uri"));
|
|
4736
4742
|
}
|
|
4737
4743
|
|
|
4738
|
-
/*! @azure/msal-common v15.
|
|
4744
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4739
4745
|
/*
|
|
4740
4746
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4741
4747
|
* Licensed under the MIT License.
|
|
@@ -4745,7 +4751,7 @@
|
|
|
4745
4751
|
response.hasOwnProperty("metadata"));
|
|
4746
4752
|
}
|
|
4747
4753
|
|
|
4748
|
-
/*! @azure/msal-common v15.
|
|
4754
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4749
4755
|
/*
|
|
4750
4756
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4751
4757
|
* Licensed under the MIT License.
|
|
@@ -4755,7 +4761,7 @@
|
|
|
4755
4761
|
response.hasOwnProperty("error_description"));
|
|
4756
4762
|
}
|
|
4757
4763
|
|
|
4758
|
-
/*! @azure/msal-common v15.
|
|
4764
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4759
4765
|
/*
|
|
4760
4766
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4761
4767
|
* Licensed under the MIT License.
|
|
@@ -4851,7 +4857,7 @@
|
|
|
4851
4857
|
};
|
|
4852
4858
|
};
|
|
4853
4859
|
|
|
4854
|
-
/*! @azure/msal-common v15.
|
|
4860
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4855
4861
|
|
|
4856
4862
|
/*
|
|
4857
4863
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4957,7 +4963,7 @@
|
|
|
4957
4963
|
},
|
|
4958
4964
|
};
|
|
4959
4965
|
|
|
4960
|
-
/*! @azure/msal-common v15.
|
|
4966
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4961
4967
|
/*
|
|
4962
4968
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4963
4969
|
* Licensed under the MIT License.
|
|
@@ -5022,7 +5028,7 @@
|
|
|
5022
5028
|
return cachedAtSec > nowSeconds();
|
|
5023
5029
|
}
|
|
5024
5030
|
|
|
5025
|
-
/*! @azure/msal-common v15.
|
|
5031
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5026
5032
|
|
|
5027
5033
|
/*
|
|
5028
5034
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5284,7 +5290,7 @@
|
|
|
5284
5290
|
return metadata.expiresAt <= nowSeconds();
|
|
5285
5291
|
}
|
|
5286
5292
|
|
|
5287
|
-
/*! @azure/msal-common v15.
|
|
5293
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5288
5294
|
|
|
5289
5295
|
/*
|
|
5290
5296
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6123,7 +6129,7 @@
|
|
|
6123
6129
|
};
|
|
6124
6130
|
}
|
|
6125
6131
|
|
|
6126
|
-
/*! @azure/msal-common v15.
|
|
6132
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6127
6133
|
|
|
6128
6134
|
/*
|
|
6129
6135
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6154,7 +6160,7 @@
|
|
|
6154
6160
|
}
|
|
6155
6161
|
}
|
|
6156
6162
|
|
|
6157
|
-
/*! @azure/msal-common v15.
|
|
6163
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6158
6164
|
|
|
6159
6165
|
/*
|
|
6160
6166
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6173,7 +6179,7 @@
|
|
|
6173
6179
|
}
|
|
6174
6180
|
}
|
|
6175
6181
|
|
|
6176
|
-
/*! @azure/msal-common v15.
|
|
6182
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6177
6183
|
/*
|
|
6178
6184
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6179
6185
|
* Licensed under the MIT License.
|
|
@@ -6194,7 +6200,7 @@
|
|
|
6194
6200
|
};
|
|
6195
6201
|
}
|
|
6196
6202
|
|
|
6197
|
-
/*! @azure/msal-common v15.
|
|
6203
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6198
6204
|
|
|
6199
6205
|
/*
|
|
6200
6206
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6281,7 +6287,7 @@
|
|
|
6281
6287
|
}
|
|
6282
6288
|
}
|
|
6283
6289
|
|
|
6284
|
-
/*! @azure/msal-common v15.
|
|
6290
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6285
6291
|
|
|
6286
6292
|
/*
|
|
6287
6293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6312,7 +6318,7 @@
|
|
|
6312
6318
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6313
6319
|
}
|
|
6314
6320
|
|
|
6315
|
-
/*! @azure/msal-common v15.
|
|
6321
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6316
6322
|
|
|
6317
6323
|
/*
|
|
6318
6324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6460,27 +6466,63 @@
|
|
|
6460
6466
|
}
|
|
6461
6467
|
}
|
|
6462
6468
|
|
|
6463
|
-
/*! @azure/msal-common v15.
|
|
6469
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6464
6470
|
/*
|
|
6465
6471
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6466
6472
|
* Licensed under the MIT License.
|
|
6467
6473
|
*/
|
|
6468
|
-
|
|
6474
|
+
/**
|
|
6475
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
6476
|
+
* @public
|
|
6477
|
+
*/
|
|
6469
6478
|
const noTokensFound = "no_tokens_found";
|
|
6479
|
+
/**
|
|
6480
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
6481
|
+
* @public
|
|
6482
|
+
*/
|
|
6470
6483
|
const nativeAccountUnavailable = "native_account_unavailable";
|
|
6484
|
+
/**
|
|
6485
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
6486
|
+
* @public
|
|
6487
|
+
*/
|
|
6471
6488
|
const refreshTokenExpired = "refresh_token_expired";
|
|
6489
|
+
/**
|
|
6490
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
6491
|
+
* @public
|
|
6492
|
+
*/
|
|
6472
6493
|
const uxNotAllowed = "ux_not_allowed";
|
|
6473
|
-
|
|
6494
|
+
/**
|
|
6495
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
6496
|
+
* @public
|
|
6497
|
+
*/
|
|
6474
6498
|
const interactionRequired = "interaction_required";
|
|
6499
|
+
/**
|
|
6500
|
+
* Server-originated error code indicating user consent is required.
|
|
6501
|
+
* @public
|
|
6502
|
+
*/
|
|
6475
6503
|
const consentRequired = "consent_required";
|
|
6504
|
+
/**
|
|
6505
|
+
* Server-originated error code indicating user login is required.
|
|
6506
|
+
* @public
|
|
6507
|
+
*/
|
|
6476
6508
|
const loginRequired = "login_required";
|
|
6477
|
-
|
|
6509
|
+
/**
|
|
6510
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
6511
|
+
* @public
|
|
6512
|
+
*/
|
|
6513
|
+
const badToken = "bad_token";
|
|
6514
|
+
/**
|
|
6515
|
+
* Server-originated error code indicating the user was interrupted and must reattempt the flow.
|
|
6516
|
+
* @public
|
|
6517
|
+
*/
|
|
6518
|
+
const interruptedUser = "interrupted_user";
|
|
6478
6519
|
|
|
6479
6520
|
var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
|
|
6480
6521
|
__proto__: null,
|
|
6481
6522
|
badToken: badToken,
|
|
6482
6523
|
consentRequired: consentRequired,
|
|
6483
6524
|
interactionRequired: interactionRequired,
|
|
6525
|
+
interruptedUser: interruptedUser,
|
|
6484
6526
|
loginRequired: loginRequired,
|
|
6485
6527
|
nativeAccountUnavailable: nativeAccountUnavailable,
|
|
6486
6528
|
noTokensFound: noTokensFound,
|
|
@@ -6488,7 +6530,7 @@
|
|
|
6488
6530
|
uxNotAllowed: uxNotAllowed
|
|
6489
6531
|
});
|
|
6490
6532
|
|
|
6491
|
-
/*! @azure/msal-common v15.
|
|
6533
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6492
6534
|
|
|
6493
6535
|
/*
|
|
6494
6536
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6503,6 +6545,7 @@
|
|
|
6503
6545
|
loginRequired,
|
|
6504
6546
|
badToken,
|
|
6505
6547
|
uxNotAllowed,
|
|
6548
|
+
interruptedUser,
|
|
6506
6549
|
];
|
|
6507
6550
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
6508
6551
|
"message_only",
|
|
@@ -6511,6 +6554,7 @@
|
|
|
6511
6554
|
"user_password_expired",
|
|
6512
6555
|
"consent_required",
|
|
6513
6556
|
"bad_token",
|
|
6557
|
+
"interrupted_user",
|
|
6514
6558
|
];
|
|
6515
6559
|
const InteractionRequiredAuthErrorMessages = {
|
|
6516
6560
|
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
@@ -6518,6 +6562,7 @@
|
|
|
6518
6562
|
[refreshTokenExpired]: "Refresh token has expired.",
|
|
6519
6563
|
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
6520
6564
|
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
6565
|
+
[interruptedUser]: "The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve.",
|
|
6521
6566
|
};
|
|
6522
6567
|
/**
|
|
6523
6568
|
* Interaction required errors defined by the SDK
|
|
@@ -6536,6 +6581,10 @@
|
|
|
6536
6581
|
code: badToken,
|
|
6537
6582
|
desc: InteractionRequiredAuthErrorMessages[badToken],
|
|
6538
6583
|
},
|
|
6584
|
+
interrupted_user: {
|
|
6585
|
+
code: interruptedUser,
|
|
6586
|
+
desc: InteractionRequiredAuthErrorMessages[interruptedUser],
|
|
6587
|
+
},
|
|
6539
6588
|
};
|
|
6540
6589
|
/**
|
|
6541
6590
|
* Error thrown when user interaction is required.
|
|
@@ -6578,7 +6627,7 @@
|
|
|
6578
6627
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
6579
6628
|
}
|
|
6580
6629
|
|
|
6581
|
-
/*! @azure/msal-common v15.
|
|
6630
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6582
6631
|
|
|
6583
6632
|
/*
|
|
6584
6633
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6650,7 +6699,7 @@
|
|
|
6650
6699
|
}
|
|
6651
6700
|
}
|
|
6652
6701
|
|
|
6653
|
-
/*! @azure/msal-common v15.
|
|
6702
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6654
6703
|
|
|
6655
6704
|
/*
|
|
6656
6705
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6732,7 +6781,7 @@
|
|
|
6732
6781
|
}
|
|
6733
6782
|
}
|
|
6734
6783
|
|
|
6735
|
-
/*! @azure/msal-common v15.
|
|
6784
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6736
6785
|
/*
|
|
6737
6786
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6738
6787
|
* Licensed under the MIT License.
|
|
@@ -6759,7 +6808,7 @@
|
|
|
6759
6808
|
}
|
|
6760
6809
|
}
|
|
6761
6810
|
|
|
6762
|
-
/*! @azure/msal-common v15.
|
|
6811
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6763
6812
|
|
|
6764
6813
|
/*
|
|
6765
6814
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7098,7 +7147,7 @@
|
|
|
7098
7147
|
return baseAccount;
|
|
7099
7148
|
}
|
|
7100
7149
|
|
|
7101
|
-
/*! @azure/msal-common v15.
|
|
7150
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7102
7151
|
/*
|
|
7103
7152
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7104
7153
|
* Licensed under the MIT License.
|
|
@@ -7116,7 +7165,7 @@
|
|
|
7116
7165
|
}
|
|
7117
7166
|
}
|
|
7118
7167
|
|
|
7119
|
-
/*! @azure/msal-common v15.
|
|
7168
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7120
7169
|
|
|
7121
7170
|
/*
|
|
7122
7171
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7352,7 +7401,7 @@
|
|
|
7352
7401
|
}
|
|
7353
7402
|
}
|
|
7354
7403
|
|
|
7355
|
-
/*! @azure/msal-common v15.
|
|
7404
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7356
7405
|
|
|
7357
7406
|
/*
|
|
7358
7407
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7564,7 +7613,7 @@
|
|
|
7564
7613
|
}
|
|
7565
7614
|
}
|
|
7566
7615
|
|
|
7567
|
-
/*! @azure/msal-common v15.
|
|
7616
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7568
7617
|
|
|
7569
7618
|
/*
|
|
7570
7619
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7662,7 +7711,7 @@
|
|
|
7662
7711
|
}
|
|
7663
7712
|
}
|
|
7664
7713
|
|
|
7665
|
-
/*! @azure/msal-common v15.
|
|
7714
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7666
7715
|
|
|
7667
7716
|
/*
|
|
7668
7717
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7677,7 +7726,7 @@
|
|
|
7677
7726
|
},
|
|
7678
7727
|
};
|
|
7679
7728
|
|
|
7680
|
-
/*! @azure/msal-common v15.
|
|
7729
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7681
7730
|
|
|
7682
7731
|
/*
|
|
7683
7732
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7901,7 +7950,7 @@
|
|
|
7901
7950
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7902
7951
|
}
|
|
7903
7952
|
|
|
7904
|
-
/*! @azure/msal-common v15.
|
|
7953
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7905
7954
|
|
|
7906
7955
|
/*
|
|
7907
7956
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7959,7 +8008,7 @@
|
|
|
7959
8008
|
}
|
|
7960
8009
|
}
|
|
7961
8010
|
|
|
7962
|
-
/*! @azure/msal-common v15.
|
|
8011
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7963
8012
|
|
|
7964
8013
|
/*
|
|
7965
8014
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8222,7 +8271,7 @@
|
|
|
8222
8271
|
}
|
|
8223
8272
|
}
|
|
8224
8273
|
|
|
8225
|
-
/*! @azure/msal-common v15.
|
|
8274
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
8226
8275
|
/*
|
|
8227
8276
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8228
8277
|
* Licensed under the MIT License.
|
|
@@ -8230,7 +8279,7 @@
|
|
|
8230
8279
|
const missingKidError = "missing_kid_error";
|
|
8231
8280
|
const missingAlgError = "missing_alg_error";
|
|
8232
8281
|
|
|
8233
|
-
/*! @azure/msal-common v15.
|
|
8282
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
8234
8283
|
|
|
8235
8284
|
/*
|
|
8236
8285
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8255,7 +8304,7 @@
|
|
|
8255
8304
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
8256
8305
|
}
|
|
8257
8306
|
|
|
8258
|
-
/*! @azure/msal-common v15.
|
|
8307
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
8259
8308
|
|
|
8260
8309
|
/*
|
|
8261
8310
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8295,7 +8344,7 @@
|
|
|
8295
8344
|
}
|
|
8296
8345
|
}
|
|
8297
8346
|
|
|
8298
|
-
/*! @azure/msal-common v15.
|
|
8347
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
8299
8348
|
|
|
8300
8349
|
/*
|
|
8301
8350
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -10348,6 +10397,7 @@
|
|
|
10348
10397
|
supportsNestedAppAuth: false,
|
|
10349
10398
|
instanceAware: false,
|
|
10350
10399
|
encodeExtraQueryParams: false,
|
|
10400
|
+
verifySSO: false,
|
|
10351
10401
|
};
|
|
10352
10402
|
// Default cache options for browser
|
|
10353
10403
|
const DEFAULT_CACHE_OPTIONS = {
|
|
@@ -10436,7 +10486,7 @@
|
|
|
10436
10486
|
|
|
10437
10487
|
/* eslint-disable header/header */
|
|
10438
10488
|
const name = "@azure/msal-browser";
|
|
10439
|
-
const version = "4.
|
|
10489
|
+
const version = "4.29.0";
|
|
10440
10490
|
|
|
10441
10491
|
/*
|
|
10442
10492
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -16821,6 +16871,52 @@
|
|
|
16821
16871
|
return invokeAsync(handleResponseEAR, PerformanceEvents.HandleResponseEar, this.logger, this.performanceClient, correlationId)(silentRequest, serverParams, this.apiId, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
|
|
16822
16872
|
}
|
|
16823
16873
|
}
|
|
16874
|
+
/**
|
|
16875
|
+
* Verifies SSO capability by making an iframe request to /authorize without exchanging the code for tokens.
|
|
16876
|
+
* This is useful for verifying SSO capability in the background without the overhead of a full token exchange.
|
|
16877
|
+
* @param request - The SSO silent request
|
|
16878
|
+
* @returns true if SSO verification was successful with a valid authorization code, false otherwise
|
|
16879
|
+
*/
|
|
16880
|
+
async verifySso(request) {
|
|
16881
|
+
this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
|
|
16882
|
+
const inputRequest = { ...request };
|
|
16883
|
+
if (!inputRequest.prompt) {
|
|
16884
|
+
inputRequest.prompt = PromptValue.NONE;
|
|
16885
|
+
}
|
|
16886
|
+
// Create silent request
|
|
16887
|
+
const silentRequest = await invokeAsync(this.initializeAuthorizationRequest.bind(this), PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, request.correlationId)(inputRequest, exports.InteractionType.Silent);
|
|
16888
|
+
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, request.correlationId)({
|
|
16889
|
+
serverTelemetryManager: this.initializeServerTelemetryManager(this.apiId),
|
|
16890
|
+
requestAuthority: silentRequest.authority,
|
|
16891
|
+
requestAzureCloudOptions: silentRequest.azureCloudOptions,
|
|
16892
|
+
requestExtraQueryParameters: silentRequest.extraQueryParameters,
|
|
16893
|
+
account: silentRequest.account,
|
|
16894
|
+
});
|
|
16895
|
+
const correlationId = silentRequest.correlationId;
|
|
16896
|
+
const pkceCodes = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
|
|
16897
|
+
const requestWithPkce = {
|
|
16898
|
+
...silentRequest,
|
|
16899
|
+
codeChallenge: pkceCodes.challenge,
|
|
16900
|
+
};
|
|
16901
|
+
// Create authorize request url
|
|
16902
|
+
const navigateUrl = await invokeAsync(getAuthCodeRequestUrl, PerformanceEvents.GetAuthCodeUrl, this.logger, this.performanceClient, correlationId)(this.config, authClient.authority, requestWithPkce, this.logger, this.performanceClient);
|
|
16903
|
+
// Get the frame handle for the silent request - this triggers the SSO verification
|
|
16904
|
+
const msalFrame = await invokeAsync(initiateCodeRequest, PerformanceEvents.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, correlationId)(navigateUrl, this.performanceClient, this.logger, correlationId, this.config.system.navigateFrameWait);
|
|
16905
|
+
const responseType = this.config.auth.OIDCOptions.serverResponseType;
|
|
16906
|
+
// Monitor the iframe for the response
|
|
16907
|
+
const responseString = await invokeAsync(monitorIframeForHash, PerformanceEvents.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, correlationId)(msalFrame, this.config.system.iframeHashTimeout, this.config.system.pollIntervalMilliseconds, this.performanceClient, this.logger, correlationId, responseType);
|
|
16908
|
+
// Deserialize the response
|
|
16909
|
+
const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, correlationId)(responseString, responseType, this.logger);
|
|
16910
|
+
// Validate the response - this checks for errors and validates state
|
|
16911
|
+
validateAuthorizationResponse(serverParams, silentRequest.state);
|
|
16912
|
+
// Verify a valid authorization code is present
|
|
16913
|
+
if (!serverParams.code) {
|
|
16914
|
+
this.logger.warning("SSO verification response did not contain an authorization code", correlationId);
|
|
16915
|
+
return false;
|
|
16916
|
+
}
|
|
16917
|
+
this.logger.verbose("SSO verification completed successfully with valid authorization code - skipped token exchange", correlationId);
|
|
16918
|
+
return true;
|
|
16919
|
+
}
|
|
16824
16920
|
/**
|
|
16825
16921
|
* Currently Unsupported
|
|
16826
16922
|
*/
|
|
@@ -17471,6 +17567,8 @@
|
|
|
17471
17567
|
rootMeasurement.end({
|
|
17472
17568
|
success: true,
|
|
17473
17569
|
}, undefined, result.account);
|
|
17570
|
+
// Fire-and-forget SSO capability verification in background
|
|
17571
|
+
this.verifySsoCapability(result.account, exports.InteractionType.Redirect);
|
|
17474
17572
|
}
|
|
17475
17573
|
else {
|
|
17476
17574
|
/*
|
|
@@ -17703,6 +17801,8 @@
|
|
|
17703
17801
|
accessTokenSize: result.accessToken.length,
|
|
17704
17802
|
idTokenSize: result.idToken.length,
|
|
17705
17803
|
}, undefined, result.account);
|
|
17804
|
+
// SSO capability verification in background
|
|
17805
|
+
this.verifySsoCapability(result.account, exports.InteractionType.Popup);
|
|
17706
17806
|
return result;
|
|
17707
17807
|
})
|
|
17708
17808
|
.catch((e) => {
|
|
@@ -17736,6 +17836,53 @@
|
|
|
17736
17836
|
visibilityChangeCount: 1,
|
|
17737
17837
|
});
|
|
17738
17838
|
}
|
|
17839
|
+
/**
|
|
17840
|
+
* SSO capability verification in the background.
|
|
17841
|
+
* This method makes an iframe request to /authorize to verify SSO capability without calling /token.
|
|
17842
|
+
* This method does not block the caller and tracks telemetry for success/failure.
|
|
17843
|
+
* This method only executes if verifySSO is set to true in the auth configuration.
|
|
17844
|
+
* @param account - The account to use for the SSO verification
|
|
17845
|
+
* @param parentApi - The API ID of the parent operation for logging purposes
|
|
17846
|
+
*/
|
|
17847
|
+
verifySsoCapability(account, parentApi) {
|
|
17848
|
+
// Check if SSO capability verification is enabled
|
|
17849
|
+
if (!this.config.auth.verifySSO) {
|
|
17850
|
+
return;
|
|
17851
|
+
}
|
|
17852
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
17853
|
+
const ssoCapableMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoCapable, correlationId);
|
|
17854
|
+
ssoCapableMeasurement.add({
|
|
17855
|
+
parentApi: parentApi,
|
|
17856
|
+
});
|
|
17857
|
+
this.logger.verbose(`SSO capability verification initiated after ${parentApi}`, correlationId);
|
|
17858
|
+
/*
|
|
17859
|
+
* Use setTimeout to ensure this runs in a separate macrotask after the current call stack completes
|
|
17860
|
+
* This ensures the result is returned to the caller before the SSO verification starts and doesn't affect performance
|
|
17861
|
+
*/
|
|
17862
|
+
setTimeout(() => {
|
|
17863
|
+
const ssoVerificationRequest = {
|
|
17864
|
+
account: account,
|
|
17865
|
+
correlationId: correlationId,
|
|
17866
|
+
};
|
|
17867
|
+
const silentIframeClient = this.createSilentIframeClient(correlationId);
|
|
17868
|
+
silentIframeClient
|
|
17869
|
+
.verifySso(ssoVerificationRequest)
|
|
17870
|
+
.then((success) => {
|
|
17871
|
+
this.logger.verbose(`SSO capability verification completed after ${parentApi}, success: ${success}`, correlationId);
|
|
17872
|
+
ssoCapableMeasurement.end({
|
|
17873
|
+
fromCache: false,
|
|
17874
|
+
success: success,
|
|
17875
|
+
}, undefined, account);
|
|
17876
|
+
})
|
|
17877
|
+
.catch((error) => {
|
|
17878
|
+
this.logger.warning(`SSO capability verification failed after ${parentApi}: ${error.message}`, correlationId);
|
|
17879
|
+
ssoCapableMeasurement.end({
|
|
17880
|
+
fromCache: false,
|
|
17881
|
+
success: false,
|
|
17882
|
+
}, error, account);
|
|
17883
|
+
});
|
|
17884
|
+
}, 0);
|
|
17885
|
+
}
|
|
17739
17886
|
// #endregion
|
|
17740
17887
|
// #region Silent Flow
|
|
17741
17888
|
/**
|
|
@@ -18501,6 +18648,10 @@
|
|
|
18501
18648
|
const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
|
|
18502
18649
|
const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
|
|
18503
18650
|
if (shouldTryToResolveSilently) {
|
|
18651
|
+
const silentRefreshReason = `${refreshTokenError.errorCode}${refreshTokenError.subError
|
|
18652
|
+
? `|${refreshTokenError.subError}`
|
|
18653
|
+
: ""}`;
|
|
18654
|
+
this.performanceClient.addFields({ silentRefreshReason }, silentRequest.correlationId);
|
|
18504
18655
|
if (!this.activeIframeRequest) {
|
|
18505
18656
|
let _resolve;
|
|
18506
18657
|
// Always set the active request tracker immediately after checking it to prevent races
|