@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-browser v4.
|
|
1
|
+
/*! @azure/msal-browser v4.29.0 2026-02-23 */
|
|
2
2
|
'use strict';
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
/*! @azure/msal-common v15.
|
|
5
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6
6
|
/*
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8
8
|
* Licensed under the MIT License.
|
|
@@ -276,7 +276,7 @@ const JsonWebTokenTypes = {
|
|
|
276
276
|
// Token renewal offset default in seconds
|
|
277
277
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
278
278
|
|
|
279
|
-
/*! @azure/msal-common v15.
|
|
279
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
280
280
|
/*
|
|
281
281
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
282
282
|
* Licensed under the MIT License.
|
|
@@ -287,7 +287,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
|
287
287
|
const unexpectedError = "unexpected_error";
|
|
288
288
|
const postRequestFailed$1 = "post_request_failed";
|
|
289
289
|
|
|
290
|
-
/*! @azure/msal-common v15.
|
|
290
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
291
291
|
|
|
292
292
|
/*
|
|
293
293
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -322,7 +322,7 @@ function createAuthError(code, additionalMessage) {
|
|
|
322
322
|
: AuthErrorMessages[code]);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
/*! @azure/msal-common v15.
|
|
325
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
326
326
|
/*
|
|
327
327
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
328
328
|
* Licensed under the MIT License.
|
|
@@ -373,7 +373,7 @@ const methodNotImplemented = "method_not_implemented";
|
|
|
373
373
|
const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
|
|
374
374
|
const platformBrokerError = "platform_broker_error";
|
|
375
375
|
|
|
376
|
-
/*! @azure/msal-common v15.
|
|
376
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
377
377
|
|
|
378
378
|
/*
|
|
379
379
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -448,7 +448,7 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
448
448
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
/*! @azure/msal-common v15.
|
|
451
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
452
452
|
|
|
453
453
|
/*
|
|
454
454
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -487,7 +487,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
487
487
|
},
|
|
488
488
|
};
|
|
489
489
|
|
|
490
|
-
/*! @azure/msal-common v15.
|
|
490
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
491
491
|
|
|
492
492
|
/*
|
|
493
493
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -678,12 +678,12 @@ class Logger {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
|
|
681
|
-
/*! @azure/msal-common v15.
|
|
681
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
682
682
|
/* eslint-disable header/header */
|
|
683
683
|
const name$1 = "@azure/msal-common";
|
|
684
|
-
const version$1 = "15.
|
|
684
|
+
const version$1 = "15.15.0";
|
|
685
685
|
|
|
686
|
-
/*! @azure/msal-common v15.
|
|
686
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
687
687
|
/*
|
|
688
688
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
689
689
|
* Licensed under the MIT License.
|
|
@@ -692,7 +692,7 @@ const AzureCloudInstance = {
|
|
|
692
692
|
// AzureCloudInstance is not specified.
|
|
693
693
|
None: "none"};
|
|
694
694
|
|
|
695
|
-
/*! @azure/msal-common v15.
|
|
695
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
696
696
|
/*
|
|
697
697
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
698
698
|
* Licensed under the MIT License.
|
|
@@ -722,7 +722,7 @@ const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
|
|
|
722
722
|
const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
|
|
723
723
|
const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
|
|
724
724
|
|
|
725
|
-
/*! @azure/msal-common v15.
|
|
725
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
726
726
|
|
|
727
727
|
/*
|
|
728
728
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -768,7 +768,7 @@ function createClientConfigurationError(errorCode) {
|
|
|
768
768
|
return new ClientConfigurationError(errorCode);
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
/*! @azure/msal-common v15.
|
|
771
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
772
772
|
/*
|
|
773
773
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
774
774
|
* Licensed under the MIT License.
|
|
@@ -865,7 +865,7 @@ class StringUtils {
|
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
867
|
|
|
868
|
-
/*! @azure/msal-common v15.
|
|
868
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
869
869
|
|
|
870
870
|
/*
|
|
871
871
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1060,7 +1060,7 @@ class ScopeSet {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
|
-
/*! @azure/msal-common v15.
|
|
1063
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1064
1064
|
|
|
1065
1065
|
/*
|
|
1066
1066
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1100,7 +1100,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
/*! @azure/msal-common v15.
|
|
1103
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1104
1104
|
/*
|
|
1105
1105
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1106
1106
|
* Licensed under the MIT License.
|
|
@@ -1182,7 +1182,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
1182
1182
|
return updatedAccountInfo;
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
/*! @azure/msal-common v15.
|
|
1185
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1186
1186
|
/*
|
|
1187
1187
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1188
1188
|
* Licensed under the MIT License.
|
|
@@ -1197,7 +1197,7 @@ const AuthorityType = {
|
|
|
1197
1197
|
Ciam: 3,
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
|
-
/*! @azure/msal-common v15.
|
|
1200
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1201
1201
|
/*
|
|
1202
1202
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1203
1203
|
* Licensed under the MIT License.
|
|
@@ -1219,7 +1219,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
1219
1219
|
return null;
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
|
-
/*! @azure/msal-common v15.
|
|
1222
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1223
1223
|
/*
|
|
1224
1224
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1225
1225
|
* Licensed under the MIT License.
|
|
@@ -1243,7 +1243,7 @@ const ProtocolMode = {
|
|
|
1243
1243
|
EAR: "EAR",
|
|
1244
1244
|
};
|
|
1245
1245
|
|
|
1246
|
-
/*! @azure/msal-common v15.
|
|
1246
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1247
1247
|
|
|
1248
1248
|
/*
|
|
1249
1249
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1478,7 +1478,7 @@ class AccountEntity {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
/*! @azure/msal-common v15.
|
|
1481
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1482
1482
|
|
|
1483
1483
|
/*
|
|
1484
1484
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1559,7 +1559,7 @@ function checkMaxAge(authTime, maxAge) {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
|
|
1562
|
-
/*! @azure/msal-common v15.
|
|
1562
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1563
1563
|
|
|
1564
1564
|
/*
|
|
1565
1565
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1675,7 +1675,7 @@ function normalizeUrlForComparison(url) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
|
-
/*! @azure/msal-common v15.
|
|
1678
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1679
1679
|
|
|
1680
1680
|
/*
|
|
1681
1681
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1839,7 +1839,7 @@ class UrlString {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
/*! @azure/msal-common v15.
|
|
1842
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
1843
1843
|
|
|
1844
1844
|
/*
|
|
1845
1845
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2014,7 +2014,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2014
2014
|
return null;
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
/*! @azure/msal-common v15.
|
|
2017
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2018
2018
|
/*
|
|
2019
2019
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2020
2020
|
* Licensed under the MIT License.
|
|
@@ -2022,7 +2022,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
2022
2022
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
2023
2023
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
2024
2024
|
|
|
2025
|
-
/*! @azure/msal-common v15.
|
|
2025
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2026
2026
|
|
|
2027
2027
|
/*
|
|
2028
2028
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2067,7 +2067,7 @@ function createCacheError(e) {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
|
-
/*! @azure/msal-common v15.
|
|
2070
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
2071
2071
|
|
|
2072
2072
|
/*
|
|
2073
2073
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3177,7 +3177,7 @@ class DefaultStorageClass extends CacheManager {
|
|
|
3177
3177
|
}
|
|
3178
3178
|
}
|
|
3179
3179
|
|
|
3180
|
-
/*! @azure/msal-common v15.
|
|
3180
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3181
3181
|
/*
|
|
3182
3182
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3183
3183
|
* Licensed under the MIT License.
|
|
@@ -3439,6 +3439,11 @@ const PerformanceEvents = {
|
|
|
3439
3439
|
LoadIdToken: "loadIdToken",
|
|
3440
3440
|
LoadAccessToken: "loadAccessToken",
|
|
3441
3441
|
LoadRefreshToken: "loadRefreshToken",
|
|
3442
|
+
/**
|
|
3443
|
+
* SSO capability verification call (msal-browser).
|
|
3444
|
+
* Fire-and-forget SSO verification call made after interactive authentication completes.
|
|
3445
|
+
*/
|
|
3446
|
+
SsoCapable: "ssoCapable",
|
|
3442
3447
|
};
|
|
3443
3448
|
/**
|
|
3444
3449
|
* State of the performance event.
|
|
@@ -3449,7 +3454,7 @@ const PerformanceEvents = {
|
|
|
3449
3454
|
const PerformanceEventStatus = {
|
|
3450
3455
|
InProgress: 1};
|
|
3451
3456
|
|
|
3452
|
-
/*! @azure/msal-common v15.
|
|
3457
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3453
3458
|
|
|
3454
3459
|
/*
|
|
3455
3460
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3528,7 +3533,7 @@ class StubPerformanceClient {
|
|
|
3528
3533
|
}
|
|
3529
3534
|
}
|
|
3530
3535
|
|
|
3531
|
-
/*! @azure/msal-common v15.
|
|
3536
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3532
3537
|
|
|
3533
3538
|
/*
|
|
3534
3539
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3628,7 +3633,7 @@ function isOidcProtocolMode(config) {
|
|
|
3628
3633
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
3629
3634
|
}
|
|
3630
3635
|
|
|
3631
|
-
/*! @azure/msal-common v15.
|
|
3636
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3632
3637
|
/*
|
|
3633
3638
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3634
3639
|
* Licensed under the MIT License.
|
|
@@ -3638,7 +3643,7 @@ const CcsCredentialType = {
|
|
|
3638
3643
|
UPN: "UPN",
|
|
3639
3644
|
};
|
|
3640
3645
|
|
|
3641
|
-
/*! @azure/msal-common v15.
|
|
3646
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3642
3647
|
/*
|
|
3643
3648
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3644
3649
|
* Licensed under the MIT License.
|
|
@@ -3688,7 +3693,7 @@ const INSTANCE_AWARE = "instance_aware";
|
|
|
3688
3693
|
const EAR_JWK = "ear_jwk";
|
|
3689
3694
|
const EAR_JWE_CRYPTO = "ear_jwe_crypto";
|
|
3690
3695
|
|
|
3691
|
-
/*! @azure/msal-common v15.
|
|
3696
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
3692
3697
|
|
|
3693
3698
|
/*
|
|
3694
3699
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4068,7 +4073,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
|
|
|
4068
4073
|
});
|
|
4069
4074
|
}
|
|
4070
4075
|
|
|
4071
|
-
/*! @azure/msal-common v15.
|
|
4076
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4072
4077
|
/*
|
|
4073
4078
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4074
4079
|
* Licensed under the MIT License.
|
|
@@ -4080,7 +4085,7 @@ function isOpenIdConfigResponse(response) {
|
|
|
4080
4085
|
response.hasOwnProperty("jwks_uri"));
|
|
4081
4086
|
}
|
|
4082
4087
|
|
|
4083
|
-
/*! @azure/msal-common v15.
|
|
4088
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4084
4089
|
/*
|
|
4085
4090
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4086
4091
|
* Licensed under the MIT License.
|
|
@@ -4090,7 +4095,7 @@ function isCloudInstanceDiscoveryResponse(response) {
|
|
|
4090
4095
|
response.hasOwnProperty("metadata"));
|
|
4091
4096
|
}
|
|
4092
4097
|
|
|
4093
|
-
/*! @azure/msal-common v15.
|
|
4098
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4094
4099
|
/*
|
|
4095
4100
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4096
4101
|
* Licensed under the MIT License.
|
|
@@ -4100,7 +4105,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
|
4100
4105
|
response.hasOwnProperty("error_description"));
|
|
4101
4106
|
}
|
|
4102
4107
|
|
|
4103
|
-
/*! @azure/msal-common v15.
|
|
4108
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4104
4109
|
/*
|
|
4105
4110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4106
4111
|
* Licensed under the MIT License.
|
|
@@ -4196,7 +4201,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
4196
4201
|
};
|
|
4197
4202
|
};
|
|
4198
4203
|
|
|
4199
|
-
/*! @azure/msal-common v15.
|
|
4204
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4200
4205
|
|
|
4201
4206
|
/*
|
|
4202
4207
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4302,7 +4307,7 @@ RegionDiscovery.IMDS_OPTIONS = {
|
|
|
4302
4307
|
},
|
|
4303
4308
|
};
|
|
4304
4309
|
|
|
4305
|
-
/*! @azure/msal-common v15.
|
|
4310
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4306
4311
|
/*
|
|
4307
4312
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4308
4313
|
* Licensed under the MIT License.
|
|
@@ -4367,7 +4372,7 @@ function wasClockTurnedBack(cachedAt) {
|
|
|
4367
4372
|
return cachedAtSec > nowSeconds();
|
|
4368
4373
|
}
|
|
4369
4374
|
|
|
4370
|
-
/*! @azure/msal-common v15.
|
|
4375
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4371
4376
|
|
|
4372
4377
|
/*
|
|
4373
4378
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4629,7 +4634,7 @@ function isAuthorityMetadataExpired(metadata) {
|
|
|
4629
4634
|
return metadata.expiresAt <= nowSeconds();
|
|
4630
4635
|
}
|
|
4631
4636
|
|
|
4632
|
-
/*! @azure/msal-common v15.
|
|
4637
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
4633
4638
|
|
|
4634
4639
|
/*
|
|
4635
4640
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5468,7 +5473,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
5468
5473
|
};
|
|
5469
5474
|
}
|
|
5470
5475
|
|
|
5471
|
-
/*! @azure/msal-common v15.
|
|
5476
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5472
5477
|
|
|
5473
5478
|
/*
|
|
5474
5479
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5499,7 +5504,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
5499
5504
|
}
|
|
5500
5505
|
}
|
|
5501
5506
|
|
|
5502
|
-
/*! @azure/msal-common v15.
|
|
5507
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5503
5508
|
|
|
5504
5509
|
/*
|
|
5505
5510
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5518,7 +5523,7 @@ class ServerError extends AuthError {
|
|
|
5518
5523
|
}
|
|
5519
5524
|
}
|
|
5520
5525
|
|
|
5521
|
-
/*! @azure/msal-common v15.
|
|
5526
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5522
5527
|
/*
|
|
5523
5528
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5524
5529
|
* Licensed under the MIT License.
|
|
@@ -5539,7 +5544,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
5539
5544
|
};
|
|
5540
5545
|
}
|
|
5541
5546
|
|
|
5542
|
-
/*! @azure/msal-common v15.
|
|
5547
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5543
5548
|
|
|
5544
5549
|
/*
|
|
5545
5550
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5626,7 +5631,7 @@ class ThrottlingUtils {
|
|
|
5626
5631
|
}
|
|
5627
5632
|
}
|
|
5628
5633
|
|
|
5629
|
-
/*! @azure/msal-common v15.
|
|
5634
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5630
5635
|
|
|
5631
5636
|
/*
|
|
5632
5637
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5657,7 +5662,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
5657
5662
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
5658
5663
|
}
|
|
5659
5664
|
|
|
5660
|
-
/*! @azure/msal-common v15.
|
|
5665
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5661
5666
|
|
|
5662
5667
|
/*
|
|
5663
5668
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5805,23 +5810,58 @@ class BaseClient {
|
|
|
5805
5810
|
}
|
|
5806
5811
|
}
|
|
5807
5812
|
|
|
5808
|
-
/*! @azure/msal-common v15.
|
|
5813
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5809
5814
|
/*
|
|
5810
5815
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5811
5816
|
* Licensed under the MIT License.
|
|
5812
5817
|
*/
|
|
5813
|
-
|
|
5818
|
+
/**
|
|
5819
|
+
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
5820
|
+
* @public
|
|
5821
|
+
*/
|
|
5814
5822
|
const noTokensFound = "no_tokens_found";
|
|
5823
|
+
/**
|
|
5824
|
+
* MSAL-defined error code indicating a native account is unavailable on the platform.
|
|
5825
|
+
* @public
|
|
5826
|
+
*/
|
|
5815
5827
|
const nativeAccountUnavailable = "native_account_unavailable";
|
|
5828
|
+
/**
|
|
5829
|
+
* MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
|
|
5830
|
+
* @public
|
|
5831
|
+
*/
|
|
5816
5832
|
const refreshTokenExpired = "refresh_token_expired";
|
|
5833
|
+
/**
|
|
5834
|
+
* MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
|
|
5835
|
+
* @public
|
|
5836
|
+
*/
|
|
5817
5837
|
const uxNotAllowed = "ux_not_allowed";
|
|
5818
|
-
|
|
5838
|
+
/**
|
|
5839
|
+
* Server-originated error code indicating interaction is required to complete the request.
|
|
5840
|
+
* @public
|
|
5841
|
+
*/
|
|
5819
5842
|
const interactionRequired = "interaction_required";
|
|
5843
|
+
/**
|
|
5844
|
+
* Server-originated error code indicating user consent is required.
|
|
5845
|
+
* @public
|
|
5846
|
+
*/
|
|
5820
5847
|
const consentRequired = "consent_required";
|
|
5848
|
+
/**
|
|
5849
|
+
* Server-originated error code indicating user login is required.
|
|
5850
|
+
* @public
|
|
5851
|
+
*/
|
|
5821
5852
|
const loginRequired = "login_required";
|
|
5822
|
-
|
|
5853
|
+
/**
|
|
5854
|
+
* Server-originated error code indicating the token is invalid or corrupted.
|
|
5855
|
+
* @public
|
|
5856
|
+
*/
|
|
5857
|
+
const badToken = "bad_token";
|
|
5858
|
+
/**
|
|
5859
|
+
* Server-originated error code indicating the user was interrupted and must reattempt the flow.
|
|
5860
|
+
* @public
|
|
5861
|
+
*/
|
|
5862
|
+
const interruptedUser = "interrupted_user";
|
|
5823
5863
|
|
|
5824
|
-
/*! @azure/msal-common v15.
|
|
5864
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5825
5865
|
|
|
5826
5866
|
/*
|
|
5827
5867
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5836,6 +5876,7 @@ const InteractionRequiredServerErrorMessage = [
|
|
|
5836
5876
|
loginRequired,
|
|
5837
5877
|
badToken,
|
|
5838
5878
|
uxNotAllowed,
|
|
5879
|
+
interruptedUser,
|
|
5839
5880
|
];
|
|
5840
5881
|
const InteractionRequiredAuthSubErrorMessage = [
|
|
5841
5882
|
"message_only",
|
|
@@ -5844,6 +5885,7 @@ const InteractionRequiredAuthSubErrorMessage = [
|
|
|
5844
5885
|
"user_password_expired",
|
|
5845
5886
|
"consent_required",
|
|
5846
5887
|
"bad_token",
|
|
5888
|
+
"interrupted_user",
|
|
5847
5889
|
];
|
|
5848
5890
|
const InteractionRequiredAuthErrorMessages = {
|
|
5849
5891
|
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
@@ -5851,6 +5893,7 @@ const InteractionRequiredAuthErrorMessages = {
|
|
|
5851
5893
|
[refreshTokenExpired]: "Refresh token has expired.",
|
|
5852
5894
|
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
5853
5895
|
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
5896
|
+
[interruptedUser]: "The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve.",
|
|
5854
5897
|
};
|
|
5855
5898
|
/**
|
|
5856
5899
|
* Error thrown when user interaction is required.
|
|
@@ -5893,7 +5936,7 @@ function createInteractionRequiredAuthError(errorCode) {
|
|
|
5893
5936
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
5894
5937
|
}
|
|
5895
5938
|
|
|
5896
|
-
/*! @azure/msal-common v15.
|
|
5939
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5897
5940
|
|
|
5898
5941
|
/*
|
|
5899
5942
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5965,7 +6008,7 @@ class ProtocolUtils {
|
|
|
5965
6008
|
}
|
|
5966
6009
|
}
|
|
5967
6010
|
|
|
5968
|
-
/*! @azure/msal-common v15.
|
|
6011
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
5969
6012
|
|
|
5970
6013
|
/*
|
|
5971
6014
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6047,7 +6090,7 @@ class PopTokenGenerator {
|
|
|
6047
6090
|
}
|
|
6048
6091
|
}
|
|
6049
6092
|
|
|
6050
|
-
/*! @azure/msal-common v15.
|
|
6093
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6051
6094
|
/*
|
|
6052
6095
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6053
6096
|
* Licensed under the MIT License.
|
|
@@ -6074,7 +6117,7 @@ class PopTokenGenerator {
|
|
|
6074
6117
|
}
|
|
6075
6118
|
}
|
|
6076
6119
|
|
|
6077
|
-
/*! @azure/msal-common v15.
|
|
6120
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6078
6121
|
|
|
6079
6122
|
/*
|
|
6080
6123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6413,7 +6456,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
6413
6456
|
return baseAccount;
|
|
6414
6457
|
}
|
|
6415
6458
|
|
|
6416
|
-
/*! @azure/msal-common v15.
|
|
6459
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6417
6460
|
/*
|
|
6418
6461
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6419
6462
|
* Licensed under the MIT License.
|
|
@@ -6431,7 +6474,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
|
6431
6474
|
}
|
|
6432
6475
|
}
|
|
6433
6476
|
|
|
6434
|
-
/*! @azure/msal-common v15.
|
|
6477
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6435
6478
|
|
|
6436
6479
|
/*
|
|
6437
6480
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6667,7 +6710,7 @@ class AuthorizationCodeClient extends BaseClient {
|
|
|
6667
6710
|
}
|
|
6668
6711
|
}
|
|
6669
6712
|
|
|
6670
|
-
/*! @azure/msal-common v15.
|
|
6713
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6671
6714
|
|
|
6672
6715
|
/*
|
|
6673
6716
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6879,7 +6922,7 @@ class RefreshTokenClient extends BaseClient {
|
|
|
6879
6922
|
}
|
|
6880
6923
|
}
|
|
6881
6924
|
|
|
6882
|
-
/*! @azure/msal-common v15.
|
|
6925
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6883
6926
|
|
|
6884
6927
|
/*
|
|
6885
6928
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6977,7 +7020,7 @@ class SilentFlowClient extends BaseClient {
|
|
|
6977
7020
|
}
|
|
6978
7021
|
}
|
|
6979
7022
|
|
|
6980
|
-
/*! @azure/msal-common v15.
|
|
7023
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6981
7024
|
|
|
6982
7025
|
/*
|
|
6983
7026
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6992,7 +7035,7 @@ const StubbedNetworkModule = {
|
|
|
6992
7035
|
},
|
|
6993
7036
|
};
|
|
6994
7037
|
|
|
6995
|
-
/*! @azure/msal-common v15.
|
|
7038
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
6996
7039
|
|
|
6997
7040
|
/*
|
|
6998
7041
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7216,7 +7259,7 @@ function extractLoginHint(account) {
|
|
|
7216
7259
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
7217
7260
|
}
|
|
7218
7261
|
|
|
7219
|
-
/*! @azure/msal-common v15.
|
|
7262
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7220
7263
|
|
|
7221
7264
|
/*
|
|
7222
7265
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7479,7 +7522,7 @@ class ServerTelemetryManager {
|
|
|
7479
7522
|
}
|
|
7480
7523
|
}
|
|
7481
7524
|
|
|
7482
|
-
/*! @azure/msal-common v15.
|
|
7525
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7483
7526
|
/*
|
|
7484
7527
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7485
7528
|
* Licensed under the MIT License.
|
|
@@ -7487,7 +7530,7 @@ class ServerTelemetryManager {
|
|
|
7487
7530
|
const missingKidError = "missing_kid_error";
|
|
7488
7531
|
const missingAlgError = "missing_alg_error";
|
|
7489
7532
|
|
|
7490
|
-
/*! @azure/msal-common v15.
|
|
7533
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7491
7534
|
|
|
7492
7535
|
/*
|
|
7493
7536
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7512,7 +7555,7 @@ function createJoseHeaderError(code) {
|
|
|
7512
7555
|
return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
|
|
7513
7556
|
}
|
|
7514
7557
|
|
|
7515
|
-
/*! @azure/msal-common v15.
|
|
7558
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
7516
7559
|
|
|
7517
7560
|
/*
|
|
7518
7561
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7947,7 +7990,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
|
|
|
7947
7990
|
|
|
7948
7991
|
/* eslint-disable header/header */
|
|
7949
7992
|
const name = "@azure/msal-browser";
|
|
7950
|
-
const version = "4.
|
|
7993
|
+
const version = "4.29.0";
|
|
7951
7994
|
|
|
7952
7995
|
/*
|
|
7953
7996
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -17802,6 +17845,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
|
|
|
17802
17845
|
supportsNestedAppAuth: false,
|
|
17803
17846
|
instanceAware: false,
|
|
17804
17847
|
encodeExtraQueryParams: false,
|
|
17848
|
+
verifySSO: false,
|
|
17805
17849
|
};
|
|
17806
17850
|
// Default cache options for browser
|
|
17807
17851
|
const DEFAULT_CACHE_OPTIONS = {
|
|
@@ -19561,6 +19605,52 @@ class SilentIframeClient extends StandardInteractionClient {
|
|
|
19561
19605
|
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);
|
|
19562
19606
|
}
|
|
19563
19607
|
}
|
|
19608
|
+
/**
|
|
19609
|
+
* Verifies SSO capability by making an iframe request to /authorize without exchanging the code for tokens.
|
|
19610
|
+
* This is useful for verifying SSO capability in the background without the overhead of a full token exchange.
|
|
19611
|
+
* @param request - The SSO silent request
|
|
19612
|
+
* @returns true if SSO verification was successful with a valid authorization code, false otherwise
|
|
19613
|
+
*/
|
|
19614
|
+
async verifySso(request) {
|
|
19615
|
+
this.performanceClient.addQueueMeasurement(PerformanceEvents.SilentIframeClientAcquireToken, request.correlationId);
|
|
19616
|
+
const inputRequest = { ...request };
|
|
19617
|
+
if (!inputRequest.prompt) {
|
|
19618
|
+
inputRequest.prompt = PromptValue.NONE;
|
|
19619
|
+
}
|
|
19620
|
+
// Create silent request
|
|
19621
|
+
const silentRequest = await invokeAsync(this.initializeAuthorizationRequest.bind(this), PerformanceEvents.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, request.correlationId)(inputRequest, InteractionType.Silent);
|
|
19622
|
+
const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, request.correlationId)({
|
|
19623
|
+
serverTelemetryManager: this.initializeServerTelemetryManager(this.apiId),
|
|
19624
|
+
requestAuthority: silentRequest.authority,
|
|
19625
|
+
requestAzureCloudOptions: silentRequest.azureCloudOptions,
|
|
19626
|
+
requestExtraQueryParameters: silentRequest.extraQueryParameters,
|
|
19627
|
+
account: silentRequest.account,
|
|
19628
|
+
});
|
|
19629
|
+
const correlationId = silentRequest.correlationId;
|
|
19630
|
+
const pkceCodes = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
|
|
19631
|
+
const requestWithPkce = {
|
|
19632
|
+
...silentRequest,
|
|
19633
|
+
codeChallenge: pkceCodes.challenge,
|
|
19634
|
+
};
|
|
19635
|
+
// Create authorize request url
|
|
19636
|
+
const navigateUrl = await invokeAsync(getAuthCodeRequestUrl, PerformanceEvents.GetAuthCodeUrl, this.logger, this.performanceClient, correlationId)(this.config, authClient.authority, requestWithPkce, this.logger, this.performanceClient);
|
|
19637
|
+
// Get the frame handle for the silent request - this triggers the SSO verification
|
|
19638
|
+
const msalFrame = await invokeAsync(initiateCodeRequest, PerformanceEvents.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, correlationId)(navigateUrl, this.performanceClient, this.logger, correlationId, this.config.system.navigateFrameWait);
|
|
19639
|
+
const responseType = this.config.auth.OIDCOptions.serverResponseType;
|
|
19640
|
+
// Monitor the iframe for the response
|
|
19641
|
+
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);
|
|
19642
|
+
// Deserialize the response
|
|
19643
|
+
const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, correlationId)(responseString, responseType, this.logger);
|
|
19644
|
+
// Validate the response - this checks for errors and validates state
|
|
19645
|
+
validateAuthorizationResponse(serverParams, silentRequest.state);
|
|
19646
|
+
// Verify a valid authorization code is present
|
|
19647
|
+
if (!serverParams.code) {
|
|
19648
|
+
this.logger.warning("SSO verification response did not contain an authorization code", correlationId);
|
|
19649
|
+
return false;
|
|
19650
|
+
}
|
|
19651
|
+
this.logger.verbose("SSO verification completed successfully with valid authorization code - skipped token exchange", correlationId);
|
|
19652
|
+
return true;
|
|
19653
|
+
}
|
|
19564
19654
|
/**
|
|
19565
19655
|
* Currently Unsupported
|
|
19566
19656
|
*/
|
|
@@ -20211,6 +20301,8 @@ class StandardController {
|
|
|
20211
20301
|
rootMeasurement.end({
|
|
20212
20302
|
success: true,
|
|
20213
20303
|
}, undefined, result.account);
|
|
20304
|
+
// Fire-and-forget SSO capability verification in background
|
|
20305
|
+
this.verifySsoCapability(result.account, InteractionType.Redirect);
|
|
20214
20306
|
}
|
|
20215
20307
|
else {
|
|
20216
20308
|
/*
|
|
@@ -20443,6 +20535,8 @@ class StandardController {
|
|
|
20443
20535
|
accessTokenSize: result.accessToken.length,
|
|
20444
20536
|
idTokenSize: result.idToken.length,
|
|
20445
20537
|
}, undefined, result.account);
|
|
20538
|
+
// SSO capability verification in background
|
|
20539
|
+
this.verifySsoCapability(result.account, InteractionType.Popup);
|
|
20446
20540
|
return result;
|
|
20447
20541
|
})
|
|
20448
20542
|
.catch((e) => {
|
|
@@ -20476,6 +20570,53 @@ class StandardController {
|
|
|
20476
20570
|
visibilityChangeCount: 1,
|
|
20477
20571
|
});
|
|
20478
20572
|
}
|
|
20573
|
+
/**
|
|
20574
|
+
* SSO capability verification in the background.
|
|
20575
|
+
* This method makes an iframe request to /authorize to verify SSO capability without calling /token.
|
|
20576
|
+
* This method does not block the caller and tracks telemetry for success/failure.
|
|
20577
|
+
* This method only executes if verifySSO is set to true in the auth configuration.
|
|
20578
|
+
* @param account - The account to use for the SSO verification
|
|
20579
|
+
* @param parentApi - The API ID of the parent operation for logging purposes
|
|
20580
|
+
*/
|
|
20581
|
+
verifySsoCapability(account, parentApi) {
|
|
20582
|
+
// Check if SSO capability verification is enabled
|
|
20583
|
+
if (!this.config.auth.verifySSO) {
|
|
20584
|
+
return;
|
|
20585
|
+
}
|
|
20586
|
+
const correlationId = this.browserCrypto.createNewGuid();
|
|
20587
|
+
const ssoCapableMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoCapable, correlationId);
|
|
20588
|
+
ssoCapableMeasurement.add({
|
|
20589
|
+
parentApi: parentApi,
|
|
20590
|
+
});
|
|
20591
|
+
this.logger.verbose(`SSO capability verification initiated after ${parentApi}`, correlationId);
|
|
20592
|
+
/*
|
|
20593
|
+
* Use setTimeout to ensure this runs in a separate macrotask after the current call stack completes
|
|
20594
|
+
* This ensures the result is returned to the caller before the SSO verification starts and doesn't affect performance
|
|
20595
|
+
*/
|
|
20596
|
+
setTimeout(() => {
|
|
20597
|
+
const ssoVerificationRequest = {
|
|
20598
|
+
account: account,
|
|
20599
|
+
correlationId: correlationId,
|
|
20600
|
+
};
|
|
20601
|
+
const silentIframeClient = this.createSilentIframeClient(correlationId);
|
|
20602
|
+
silentIframeClient
|
|
20603
|
+
.verifySso(ssoVerificationRequest)
|
|
20604
|
+
.then((success) => {
|
|
20605
|
+
this.logger.verbose(`SSO capability verification completed after ${parentApi}, success: ${success}`, correlationId);
|
|
20606
|
+
ssoCapableMeasurement.end({
|
|
20607
|
+
fromCache: false,
|
|
20608
|
+
success: success,
|
|
20609
|
+
}, undefined, account);
|
|
20610
|
+
})
|
|
20611
|
+
.catch((error) => {
|
|
20612
|
+
this.logger.warning(`SSO capability verification failed after ${parentApi}: ${error.message}`, correlationId);
|
|
20613
|
+
ssoCapableMeasurement.end({
|
|
20614
|
+
fromCache: false,
|
|
20615
|
+
success: false,
|
|
20616
|
+
}, error, account);
|
|
20617
|
+
});
|
|
20618
|
+
}, 0);
|
|
20619
|
+
}
|
|
20479
20620
|
// #endregion
|
|
20480
20621
|
// #region Silent Flow
|
|
20481
20622
|
/**
|
|
@@ -21241,6 +21382,10 @@ class StandardController {
|
|
|
21241
21382
|
const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
|
|
21242
21383
|
const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
|
|
21243
21384
|
if (shouldTryToResolveSilently) {
|
|
21385
|
+
const silentRefreshReason = `${refreshTokenError.errorCode}${refreshTokenError.subError
|
|
21386
|
+
? `|${refreshTokenError.subError}`
|
|
21387
|
+
: ""}`;
|
|
21388
|
+
this.performanceClient.addFields({ silentRefreshReason }, silentRequest.correlationId);
|
|
21244
21389
|
if (!this.activeIframeRequest) {
|
|
21245
21390
|
let _resolve;
|
|
21246
21391
|
// Always set the active request tracker immediately after checking it to prevent races
|