@azure/msal-browser 5.14.0 → 5.15.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 +16 -16
- package/dist/app/IPublicClientApplication.mjs.map +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs.map +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +3 -3
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +7 -7
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +2 -2
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AccountManager.mjs.map +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
- package/dist/cache/BrowserCacheManager.mjs +10 -10
- package/dist/cache/BrowserCacheManager.mjs.map +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs.map +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CacheKeys.mjs.map +1 -1
- package/dist/cache/CookieStorage.mjs +4 -4
- package/dist/cache/CookieStorage.mjs.map +1 -1
- package/dist/cache/DatabaseStorage.mjs +7 -7
- package/dist/cache/DatabaseStorage.mjs.map +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +5 -5
- package/dist/cache/LocalStorage.mjs.map +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs.map +1 -1
- package/dist/cache/SessionStorage.mjs +2 -2
- package/dist/cache/SessionStorage.mjs.map +1 -1
- package/dist/cache/TokenCache.mjs +7 -7
- package/dist/cache/TokenCache.mjs.map +1 -1
- package/dist/config/Configuration.mjs +3 -3
- package/dist/config/Configuration.mjs.map +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +14 -15
- package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
- package/dist/controllers/StandardController.mjs +12 -12
- package/dist/controllers/StandardController.mjs.map +1 -1
- package/dist/crypto/BrowserCrypto.mjs +7 -7
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.mjs +3 -3
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +3 -3
- package/dist/crypto/PkceGenerator.mjs.map +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs.map +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +2 -2
- package/dist/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs.map +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs.map +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs.map +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs.map +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs.map +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs.map +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +2 -2
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
- package/dist/custom_auth/index.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +2 -2
- package/dist/encode/Base64Decode.mjs.map +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +5 -5
- package/dist/error/BrowserAuthError.mjs.map +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +5 -5
- package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +20 -10
- package/dist/error/NativeAuthError.mjs.map +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +9 -5
- package/dist/error/NestedAppAuthError.mjs.map +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventHandler.mjs.map +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventMessage.mjs.map +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/event/EventType.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +4 -4
- package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +23 -19
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
- package/dist/interaction_client/PopupClient.mjs +9 -9
- package/dist/interaction_client/PopupClient.mjs.map +1 -1
- package/dist/interaction_client/RedirectClient.mjs +13 -13
- package/dist/interaction_client/RedirectClient.mjs.map +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +4 -4
- package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +4 -4
- package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +3 -3
- package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +5 -5
- package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +3 -3
- package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +2 -2
- package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
- package/dist/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +2 -2
- package/dist/naa/BridgeProxy.mjs.map +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs.map +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +18 -17
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
- package/dist/navigation/NavigationClient.mjs +2 -2
- package/dist/navigation/NavigationClient.mjs.map +1 -1
- package/dist/network/FetchClient.mjs +7 -7
- package/dist/network/FetchClient.mjs.map +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/protocol/Authorize.mjs +8 -8
- package/dist/protocol/Authorize.mjs.map +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/redirect_bridge/index.mjs.map +1 -1
- package/dist/request/RequestHelpers.mjs +4 -4
- package/dist/request/RequestHelpers.mjs.map +1 -1
- package/dist/response/ResponseHandler.mjs +8 -8
- package/dist/response/ResponseHandler.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs.map +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +4 -4
- package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
- package/dist/utils/BrowserUtils.mjs +24 -20
- package/dist/utils/BrowserUtils.mjs.map +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/Helpers.mjs.map +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +4837 -4772
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +4837 -4772
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +7079 -7012
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +7079 -7012
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +80 -76
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +80 -76
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
- package/package.json +2 -2
- package/src/app/IPublicClientApplication.ts +30 -15
- package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +2 -0
- package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +8 -2
- package/src/broker/nativeBroker/PlatformAuthProvider.ts +2 -1
- package/src/cache/BrowserCacheManager.ts +19 -7
- package/src/cache/CookieStorage.ts +13 -3
- package/src/cache/DatabaseStorage.ts +12 -6
- package/src/cache/LocalStorage.ts +8 -4
- package/src/cache/SessionStorage.ts +2 -1
- package/src/cache/TokenCache.ts +15 -6
- package/src/config/Configuration.ts +4 -2
- package/src/controllers/NestedAppAuthController.ts +19 -11
- package/src/controllers/StandardController.ts +20 -9
- package/src/crypto/BrowserCrypto.ts +10 -2
- package/src/crypto/CryptoOps.ts +4 -2
- package/src/crypto/PkceGenerator.ts +8 -2
- package/src/custom_auth/core/CustomAuthAuthority.ts +4 -2
- package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +2 -1
- package/src/encode/Base64Decode.ts +2 -1
- package/src/error/BrowserAuthError.ts +9 -3
- package/src/error/BrowserConfigurationAuthError.ts +9 -3
- package/src/error/NativeAuthError.ts +44 -11
- package/src/error/NestedAppAuthError.ts +14 -4
- package/src/interaction_client/BaseInteractionClient.ts +8 -3
- package/src/interaction_client/PlatformAuthInteractionClient.ts +49 -21
- package/src/interaction_client/PopupClient.ts +14 -8
- package/src/interaction_client/RedirectClient.ts +21 -10
- package/src/interaction_client/SilentAuthCodeClient.ts +5 -3
- package/src/interaction_client/SilentIframeClient.ts +5 -3
- package/src/interaction_client/SilentRefreshClient.ts +3 -2
- package/src/interaction_client/StandardInteractionClient.ts +8 -4
- package/src/interaction_handler/InteractionHandler.ts +4 -2
- package/src/interaction_handler/SilentHandler.ts +4 -1
- package/src/naa/mapping/NestedAppAuthAdapter.ts +43 -14
- package/src/navigation/NavigationClient.ts +1 -0
- package/src/network/FetchClient.ts +14 -6
- package/src/packageMetadata.ts +1 -1
- package/src/protocol/Authorize.ts +23 -7
- package/src/request/RequestHelpers.ts +6 -3
- package/src/response/ResponseHandler.ts +20 -7
- package/src/utils/BrowserProtocolUtils.ts +11 -3
- package/src/utils/BrowserUtils.ts +41 -16
- package/types/app/IPublicClientApplication.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
- package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
- package/types/cache/BrowserCacheManager.d.ts.map +1 -1
- package/types/cache/CookieStorage.d.ts +1 -1
- package/types/cache/CookieStorage.d.ts.map +1 -1
- package/types/cache/DatabaseStorage.d.ts.map +1 -1
- package/types/cache/LocalStorage.d.ts.map +1 -1
- package/types/cache/SessionStorage.d.ts.map +1 -1
- package/types/cache/TokenCache.d.ts.map +1 -1
- package/types/config/Configuration.d.ts.map +1 -1
- package/types/controllers/NestedAppAuthController.d.ts.map +1 -1
- package/types/controllers/StandardController.d.ts.map +1 -1
- package/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/types/crypto/CryptoOps.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
- package/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
- package/types/encode/Base64Decode.d.ts.map +1 -1
- package/types/error/BrowserAuthError.d.ts +2 -2
- package/types/error/BrowserAuthError.d.ts.map +1 -1
- package/types/error/BrowserConfigurationAuthError.d.ts +2 -2
- package/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
- package/types/error/NativeAuthError.d.ts +2 -2
- package/types/error/NativeAuthError.d.ts.map +1 -1
- package/types/error/NestedAppAuthError.d.ts +2 -2
- package/types/error/NestedAppAuthError.d.ts.map +1 -1
- package/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
- package/types/interaction_client/PopupClient.d.ts.map +1 -1
- package/types/interaction_client/RedirectClient.d.ts.map +1 -1
- package/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
- package/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
- package/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
- package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
- package/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
- package/types/interaction_handler/SilentHandler.d.ts.map +1 -1
- package/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
- package/types/navigation/NavigationClient.d.ts.map +1 -1
- package/types/network/FetchClient.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
- package/types/protocol/Authorize.d.ts.map +1 -1
- package/types/request/RequestHelpers.d.ts.map +1 -1
- package/types/response/ResponseHandler.d.ts +1 -1
- package/types/response/ResponseHandler.d.ts.map +1 -1
- package/types/utils/BrowserProtocolUtils.d.ts +1 -1
- package/types/utils/BrowserProtocolUtils.d.ts.map +1 -1
- package/types/utils/BrowserUtils.d.ts +2 -2
- package/types/utils/BrowserUtils.d.ts.map +1 -1
|
@@ -1307,7 +1307,8 @@ export class StandardController implements IController {
|
|
|
1307
1307
|
if (request.code && request.nativeAccountId) {
|
|
1308
1308
|
// Throw error in case server returns both spa_code and spa_accountid in exchange for auth code.
|
|
1309
1309
|
throw createBrowserAuthError(
|
|
1310
|
-
BrowserAuthErrorCodes.spaCodeAndNativeAccountIdPresent
|
|
1310
|
+
BrowserAuthErrorCodes.spaCodeAndNativeAccountIdPresent,
|
|
1311
|
+
correlationId
|
|
1311
1312
|
);
|
|
1312
1313
|
} else if (request.code) {
|
|
1313
1314
|
const hybridAuthCode = request.code;
|
|
@@ -1404,12 +1405,14 @@ export class StandardController implements IController {
|
|
|
1404
1405
|
return result;
|
|
1405
1406
|
} else {
|
|
1406
1407
|
throw createBrowserAuthError(
|
|
1407
|
-
BrowserAuthErrorCodes.unableToAcquireTokenFromNativePlatform
|
|
1408
|
+
BrowserAuthErrorCodes.unableToAcquireTokenFromNativePlatform,
|
|
1409
|
+
correlationId
|
|
1408
1410
|
);
|
|
1409
1411
|
}
|
|
1410
1412
|
} else {
|
|
1411
1413
|
throw createBrowserAuthError(
|
|
1412
|
-
BrowserAuthErrorCodes.authCodeOrNativeAccountIdRequired
|
|
1414
|
+
BrowserAuthErrorCodes.authCodeOrNativeAccountIdRequired,
|
|
1415
|
+
correlationId
|
|
1413
1416
|
);
|
|
1414
1417
|
}
|
|
1415
1418
|
} catch (e) {
|
|
@@ -1505,7 +1508,8 @@ export class StandardController implements IController {
|
|
|
1505
1508
|
)(commonRequest);
|
|
1506
1509
|
default:
|
|
1507
1510
|
throw createClientAuthError(
|
|
1508
|
-
ClientAuthErrorCodes.tokenRefreshRequired
|
|
1511
|
+
ClientAuthErrorCodes.tokenRefreshRequired,
|
|
1512
|
+
commonRequest.correlationId
|
|
1509
1513
|
);
|
|
1510
1514
|
}
|
|
1511
1515
|
}
|
|
@@ -1538,7 +1542,8 @@ export class StandardController implements IController {
|
|
|
1538
1542
|
)(commonRequest);
|
|
1539
1543
|
default:
|
|
1540
1544
|
throw createClientAuthError(
|
|
1541
|
-
ClientAuthErrorCodes.tokenRefreshRequired
|
|
1545
|
+
ClientAuthErrorCodes.tokenRefreshRequired,
|
|
1546
|
+
commonRequest.correlationId
|
|
1542
1547
|
);
|
|
1543
1548
|
}
|
|
1544
1549
|
}
|
|
@@ -1738,6 +1743,7 @@ export class StandardController implements IController {
|
|
|
1738
1743
|
? TimeUtils.toSecondsFromDate(result.extExpiresOn)
|
|
1739
1744
|
: 0,
|
|
1740
1745
|
base64Decode,
|
|
1746
|
+
request.correlationId || "",
|
|
1741
1747
|
undefined, // refreshOn
|
|
1742
1748
|
result.tokenType as Constants.AuthenticationScheme,
|
|
1743
1749
|
undefined, // userAssertionHash
|
|
@@ -1784,7 +1790,8 @@ export class StandardController implements IController {
|
|
|
1784
1790
|
this.logger.trace("acquireTokenNative called", correlationId);
|
|
1785
1791
|
if (!this.platformAuthProvider) {
|
|
1786
1792
|
throw createBrowserAuthError(
|
|
1787
|
-
BrowserAuthErrorCodes.nativeConnectionNotEstablished
|
|
1793
|
+
BrowserAuthErrorCodes.nativeConnectionNotEstablished,
|
|
1794
|
+
correlationId
|
|
1788
1795
|
);
|
|
1789
1796
|
}
|
|
1790
1797
|
|
|
@@ -2195,7 +2202,10 @@ export class StandardController implements IController {
|
|
|
2195
2202
|
|
|
2196
2203
|
const account = request.account || this.getActiveAccount();
|
|
2197
2204
|
if (!account) {
|
|
2198
|
-
throw createBrowserAuthError(
|
|
2205
|
+
throw createBrowserAuthError(
|
|
2206
|
+
BrowserAuthErrorCodes.noAccountError,
|
|
2207
|
+
correlationId
|
|
2208
|
+
);
|
|
2199
2209
|
}
|
|
2200
2210
|
|
|
2201
2211
|
return this.acquireTokenSilentDeduped(request, account, correlationId)
|
|
@@ -2219,7 +2229,7 @@ export class StandardController implements IController {
|
|
|
2219
2229
|
.catch((error: Error) => {
|
|
2220
2230
|
if (error instanceof AuthError) {
|
|
2221
2231
|
// Ensures PWB scenarios can correctly match request to response
|
|
2222
|
-
error.
|
|
2232
|
+
error.correlationId = correlationId;
|
|
2223
2233
|
}
|
|
2224
2234
|
|
|
2225
2235
|
atsMeasurement.end(
|
|
@@ -2530,7 +2540,8 @@ export class StandardController implements IController {
|
|
|
2530
2540
|
this.platformAuthProvider = undefined; // Prevent future requests from continuing to attempt
|
|
2531
2541
|
// Cache will not contain tokens, given that previous WAM requests succeeded. Skip cache and RT renewal and go straight to iframe renewal
|
|
2532
2542
|
throw createClientAuthError(
|
|
2533
|
-
ClientAuthErrorCodes.tokenRefreshRequired
|
|
2543
|
+
ClientAuthErrorCodes.tokenRefreshRequired,
|
|
2544
|
+
silentRequest.correlationId
|
|
2534
2545
|
);
|
|
2535
2546
|
}
|
|
2536
2547
|
throw e;
|
|
@@ -59,15 +59,20 @@ export function validateCryptoAvailable(
|
|
|
59
59
|
): void {
|
|
60
60
|
if (!window) {
|
|
61
61
|
throw createBrowserAuthError(
|
|
62
|
-
BrowserAuthErrorCodes.nonBrowserEnvironment
|
|
62
|
+
BrowserAuthErrorCodes.nonBrowserEnvironment,
|
|
63
|
+
""
|
|
63
64
|
);
|
|
64
65
|
}
|
|
65
66
|
if (!window.crypto) {
|
|
66
|
-
throw createBrowserAuthError(
|
|
67
|
+
throw createBrowserAuthError(
|
|
68
|
+
BrowserAuthErrorCodes.cryptoNonExistent,
|
|
69
|
+
""
|
|
70
|
+
);
|
|
67
71
|
}
|
|
68
72
|
if (!skipValidateSubtleCrypto && !window.crypto.subtle) {
|
|
69
73
|
throw createBrowserAuthError(
|
|
70
74
|
BrowserAuthErrorCodes.cryptoNonExistent,
|
|
75
|
+
"",
|
|
71
76
|
SUBTLE_SUBERROR
|
|
72
77
|
);
|
|
73
78
|
}
|
|
@@ -260,6 +265,7 @@ export async function decryptEarResponse(
|
|
|
260
265
|
if (earJweParts.length !== 5) {
|
|
261
266
|
throw createBrowserAuthError(
|
|
262
267
|
BrowserAuthErrorCodes.failedToDecryptEarResponse,
|
|
268
|
+
"",
|
|
263
269
|
"jwe_length"
|
|
264
270
|
);
|
|
265
271
|
}
|
|
@@ -267,6 +273,7 @@ export async function decryptEarResponse(
|
|
|
267
273
|
const key = await importEarKey(earJwk).catch(() => {
|
|
268
274
|
throw createBrowserAuthError(
|
|
269
275
|
BrowserAuthErrorCodes.failedToDecryptEarResponse,
|
|
276
|
+
"",
|
|
270
277
|
"import_key"
|
|
271
278
|
);
|
|
272
279
|
});
|
|
@@ -298,6 +305,7 @@ export async function decryptEarResponse(
|
|
|
298
305
|
} catch (e) {
|
|
299
306
|
throw createBrowserAuthError(
|
|
300
307
|
BrowserAuthErrorCodes.failedToDecryptEarResponse,
|
|
308
|
+
"",
|
|
301
309
|
"decrypt"
|
|
302
310
|
);
|
|
303
311
|
}
|
package/src/crypto/CryptoOps.ts
CHANGED
|
@@ -183,7 +183,8 @@ export class CryptoOps implements ICrypto {
|
|
|
183
183
|
const keyFound = await this.cache.containsKey(kid, correlationId);
|
|
184
184
|
if (keyFound) {
|
|
185
185
|
throw createClientAuthError(
|
|
186
|
-
ClientAuthErrorCodes.bindingKeyNotRemoved
|
|
186
|
+
ClientAuthErrorCodes.bindingKeyNotRemoved,
|
|
187
|
+
correlationId
|
|
187
188
|
);
|
|
188
189
|
}
|
|
189
190
|
}
|
|
@@ -242,7 +243,8 @@ export class CryptoOps implements ICrypto {
|
|
|
242
243
|
|
|
243
244
|
if (!cachedKeyPair) {
|
|
244
245
|
throw createBrowserAuthError(
|
|
245
|
-
BrowserAuthErrorCodes.cryptoKeyNotFound
|
|
246
|
+
BrowserAuthErrorCodes.cryptoKeyNotFound,
|
|
247
|
+
correlationId || ""
|
|
246
248
|
);
|
|
247
249
|
}
|
|
248
250
|
|
|
@@ -76,7 +76,10 @@ function generateCodeVerifier(
|
|
|
76
76
|
const pkceCodeVerifierB64: string = urlEncodeArr(buffer);
|
|
77
77
|
return pkceCodeVerifierB64;
|
|
78
78
|
} catch (e) {
|
|
79
|
-
throw createBrowserAuthError(
|
|
79
|
+
throw createBrowserAuthError(
|
|
80
|
+
BrowserAuthErrorCodes.pkceNotCreated,
|
|
81
|
+
correlationId
|
|
82
|
+
);
|
|
80
83
|
}
|
|
81
84
|
}
|
|
82
85
|
|
|
@@ -102,6 +105,9 @@ async function generateCodeChallengeFromVerifier(
|
|
|
102
105
|
// encode hash as base64
|
|
103
106
|
return urlEncodeArr(new Uint8Array(pkceHashedCodeVerifier));
|
|
104
107
|
} catch (e) {
|
|
105
|
-
throw createBrowserAuthError(
|
|
108
|
+
throw createBrowserAuthError(
|
|
109
|
+
BrowserAuthErrorCodes.pkceNotCreated,
|
|
110
|
+
correlationId
|
|
111
|
+
);
|
|
106
112
|
}
|
|
107
113
|
}
|
|
@@ -37,8 +37,10 @@ export class CustomAuthAuthority extends Authority {
|
|
|
37
37
|
performanceClient: IPerformanceClient,
|
|
38
38
|
private customAuthProxyDomain?: string
|
|
39
39
|
) {
|
|
40
|
-
const ciamAuthorityUrl =
|
|
41
|
-
|
|
40
|
+
const ciamAuthorityUrl = CustomAuthAuthority.transformCIAMAuthority(
|
|
41
|
+
authority,
|
|
42
|
+
""
|
|
43
|
+
);
|
|
42
44
|
|
|
43
45
|
const authorityOptions: AuthorityOptions = {
|
|
44
46
|
protocolMode: config.system.protocolMode,
|
|
@@ -135,7 +135,8 @@ export class CustomAuthSilentCacheClient extends CustomAuthInteractionClientBase
|
|
|
135
135
|
if (postLogoutRedirectUri) {
|
|
136
136
|
const absoluteRedirectUri = UrlString.getAbsoluteUrl(
|
|
137
137
|
postLogoutRedirectUri,
|
|
138
|
-
getCurrentUri()
|
|
138
|
+
getCurrentUri(),
|
|
139
|
+
correlationId
|
|
139
140
|
);
|
|
140
141
|
|
|
141
142
|
this.logger.verbose(
|
|
@@ -38,7 +38,8 @@ export function base64DecToArr(base64String: string): Uint8Array {
|
|
|
38
38
|
break;
|
|
39
39
|
default:
|
|
40
40
|
throw createBrowserAuthError(
|
|
41
|
-
BrowserAuthErrorCodes.invalidBase64String
|
|
41
|
+
BrowserAuthErrorCodes.invalidBase64String,
|
|
42
|
+
""
|
|
42
43
|
);
|
|
43
44
|
}
|
|
44
45
|
const binString = atob(encodedString);
|
|
@@ -15,8 +15,13 @@ export function getDefaultErrorMessage(code: string): string {
|
|
|
15
15
|
* Browser library error class thrown by the MSAL.js library for SPAs
|
|
16
16
|
*/
|
|
17
17
|
export class BrowserAuthError extends AuthError {
|
|
18
|
-
constructor(errorCode: string, subError?: string) {
|
|
19
|
-
super(
|
|
18
|
+
constructor(errorCode: string, correlationId: string, subError?: string) {
|
|
19
|
+
super(
|
|
20
|
+
errorCode,
|
|
21
|
+
correlationId,
|
|
22
|
+
getDefaultErrorMessage(errorCode),
|
|
23
|
+
subError
|
|
24
|
+
);
|
|
20
25
|
|
|
21
26
|
Object.setPrototypeOf(this, BrowserAuthError.prototype);
|
|
22
27
|
this.name = "BrowserAuthError";
|
|
@@ -25,7 +30,8 @@ export class BrowserAuthError extends AuthError {
|
|
|
25
30
|
|
|
26
31
|
export function createBrowserAuthError(
|
|
27
32
|
errorCode: string,
|
|
33
|
+
correlationId: string,
|
|
28
34
|
subError?: string
|
|
29
35
|
): BrowserAuthError {
|
|
30
|
-
return new BrowserAuthError(errorCode, subError);
|
|
36
|
+
return new BrowserAuthError(errorCode, correlationId, subError);
|
|
31
37
|
}
|
|
@@ -11,8 +11,12 @@ export { BrowserConfigurationAuthErrorCodes };
|
|
|
11
11
|
* Browser library error class thrown by the MSAL.js library for SPAs
|
|
12
12
|
*/
|
|
13
13
|
export class BrowserConfigurationAuthError extends AuthError {
|
|
14
|
-
constructor(
|
|
15
|
-
|
|
14
|
+
constructor(
|
|
15
|
+
errorCode: string,
|
|
16
|
+
correlationId: string,
|
|
17
|
+
errorMessage?: string
|
|
18
|
+
) {
|
|
19
|
+
super(errorCode, correlationId, errorMessage);
|
|
16
20
|
this.name = "BrowserConfigurationAuthError";
|
|
17
21
|
|
|
18
22
|
Object.setPrototypeOf(this, BrowserConfigurationAuthError.prototype);
|
|
@@ -20,10 +24,12 @@ export class BrowserConfigurationAuthError extends AuthError {
|
|
|
20
24
|
}
|
|
21
25
|
|
|
22
26
|
export function createBrowserConfigurationAuthError(
|
|
23
|
-
errorCode: string
|
|
27
|
+
errorCode: string,
|
|
28
|
+
correlationId: string
|
|
24
29
|
): BrowserConfigurationAuthError {
|
|
25
30
|
return new BrowserConfigurationAuthError(
|
|
26
31
|
errorCode,
|
|
32
|
+
correlationId,
|
|
27
33
|
getDefaultErrorMessage(errorCode)
|
|
28
34
|
);
|
|
29
35
|
}
|
|
@@ -32,8 +32,17 @@ const INVALID_METHOD_ERROR = -2147186943;
|
|
|
32
32
|
export class NativeAuthError extends AuthError {
|
|
33
33
|
ext: OSError | undefined;
|
|
34
34
|
|
|
35
|
-
constructor(
|
|
36
|
-
|
|
35
|
+
constructor(
|
|
36
|
+
errorCode: string,
|
|
37
|
+
correlationId: string,
|
|
38
|
+
description?: string,
|
|
39
|
+
ext?: OSError
|
|
40
|
+
) {
|
|
41
|
+
super(
|
|
42
|
+
errorCode,
|
|
43
|
+
correlationId,
|
|
44
|
+
description || getDefaultErrorMessage(errorCode)
|
|
45
|
+
);
|
|
37
46
|
|
|
38
47
|
Object.setPrototypeOf(this, NativeAuthError.prototype);
|
|
39
48
|
this.name = "NativeAuthError";
|
|
@@ -79,32 +88,56 @@ export function isFatalNativeAuthError(error: NativeAuthError): boolean {
|
|
|
79
88
|
*/
|
|
80
89
|
export function createNativeAuthError(
|
|
81
90
|
code: string,
|
|
91
|
+
correlationId: string,
|
|
82
92
|
description?: string,
|
|
83
93
|
ext?: OSError
|
|
84
94
|
): AuthError {
|
|
95
|
+
let error: AuthError;
|
|
85
96
|
if (ext && ext.status) {
|
|
86
97
|
switch (ext.status) {
|
|
87
98
|
case NativeStatusCodes.ACCOUNT_UNAVAILABLE:
|
|
88
|
-
|
|
99
|
+
error = createInteractionRequiredAuthError(
|
|
89
100
|
InteractionRequiredAuthErrorCodes.nativeAccountUnavailable,
|
|
101
|
+
correlationId,
|
|
90
102
|
getDefaultErrorMessage(code)
|
|
91
103
|
);
|
|
104
|
+
break;
|
|
92
105
|
case NativeStatusCodes.USER_INTERACTION_REQUIRED:
|
|
93
|
-
|
|
106
|
+
error = new InteractionRequiredAuthError(
|
|
107
|
+
code,
|
|
108
|
+
correlationId,
|
|
109
|
+
description
|
|
110
|
+
);
|
|
111
|
+
break;
|
|
94
112
|
case NativeStatusCodes.USER_CANCEL:
|
|
95
|
-
|
|
96
|
-
BrowserAuthErrorCodes.userCancelled
|
|
113
|
+
error = createBrowserAuthError(
|
|
114
|
+
BrowserAuthErrorCodes.userCancelled,
|
|
115
|
+
correlationId
|
|
97
116
|
);
|
|
117
|
+
break;
|
|
98
118
|
case NativeStatusCodes.NO_NETWORK:
|
|
99
|
-
|
|
100
|
-
BrowserAuthErrorCodes.noNetworkConnectivity
|
|
119
|
+
error = createBrowserAuthError(
|
|
120
|
+
BrowserAuthErrorCodes.noNetworkConnectivity,
|
|
121
|
+
correlationId
|
|
101
122
|
);
|
|
123
|
+
break;
|
|
102
124
|
case NativeStatusCodes.UI_NOT_ALLOWED:
|
|
103
|
-
|
|
104
|
-
InteractionRequiredAuthErrorCodes.uiNotAllowed
|
|
125
|
+
error = createInteractionRequiredAuthError(
|
|
126
|
+
InteractionRequiredAuthErrorCodes.uiNotAllowed,
|
|
127
|
+
correlationId
|
|
128
|
+
);
|
|
129
|
+
break;
|
|
130
|
+
default:
|
|
131
|
+
error = new NativeAuthError(
|
|
132
|
+
code,
|
|
133
|
+
correlationId,
|
|
134
|
+
description,
|
|
135
|
+
ext
|
|
105
136
|
);
|
|
106
137
|
}
|
|
138
|
+
return error;
|
|
107
139
|
}
|
|
108
140
|
|
|
109
|
-
|
|
141
|
+
error = new NativeAuthError(code, correlationId, description, ext);
|
|
142
|
+
return error;
|
|
110
143
|
}
|
|
@@ -7,14 +7,24 @@ import { AuthError } from "@azure/msal-common/browser";
|
|
|
7
7
|
import { unsupportedMethod } from "./NativeAuthErrorCodes.js";
|
|
8
8
|
|
|
9
9
|
export class NestedAppAuthError extends AuthError {
|
|
10
|
-
constructor(
|
|
11
|
-
|
|
10
|
+
constructor(
|
|
11
|
+
errorCode: string,
|
|
12
|
+
correlationId: string,
|
|
13
|
+
errorMessage?: string
|
|
14
|
+
) {
|
|
15
|
+
super(errorCode, correlationId, errorMessage);
|
|
12
16
|
|
|
13
17
|
Object.setPrototypeOf(this, NestedAppAuthError.prototype);
|
|
14
18
|
this.name = "NestedAppAuthError";
|
|
15
19
|
}
|
|
16
20
|
|
|
17
|
-
public static createUnsupportedError(
|
|
18
|
-
|
|
21
|
+
public static createUnsupportedError(
|
|
22
|
+
correlationId?: string
|
|
23
|
+
): NestedAppAuthError {
|
|
24
|
+
/*
|
|
25
|
+
* Some controller stubs (perf callbacks, getPerformanceClient, getRedirectResponse)
|
|
26
|
+
* have no request param and thus no correlationId to forward
|
|
27
|
+
*/
|
|
28
|
+
return new NestedAppAuthError(unsupportedMethod, correlationId || "");
|
|
19
29
|
}
|
|
20
30
|
}
|
|
@@ -97,7 +97,11 @@ export function getRedirectUri(
|
|
|
97
97
|
): string {
|
|
98
98
|
logger.verbose("getRedirectUri called", correlationId);
|
|
99
99
|
const redirectUri = requestRedirectUri || clientConfigRedirectUri || "";
|
|
100
|
-
return UrlString.getAbsoluteUrl(
|
|
100
|
+
return UrlString.getAbsoluteUrl(
|
|
101
|
+
redirectUri,
|
|
102
|
+
BrowserUtils.getCurrentUri(),
|
|
103
|
+
correlationId
|
|
104
|
+
);
|
|
101
105
|
}
|
|
102
106
|
|
|
103
107
|
/**
|
|
@@ -189,7 +193,7 @@ export async function getDiscoveredAuthority(
|
|
|
189
193
|
const userAuthority =
|
|
190
194
|
account && resolvedInstanceAware
|
|
191
195
|
? config.auth.authority.replace(
|
|
192
|
-
UrlString.getDomainFromUrl(resolvedAuthority),
|
|
196
|
+
UrlString.getDomainFromUrl(resolvedAuthority, correlationId),
|
|
193
197
|
account.environment
|
|
194
198
|
)
|
|
195
199
|
: resolvedAuthority;
|
|
@@ -217,7 +221,8 @@ export async function getDiscoveredAuthority(
|
|
|
217
221
|
|
|
218
222
|
if (account && !discoveredAuthority.isAlias(account.environment)) {
|
|
219
223
|
throw createClientConfigurationError(
|
|
220
|
-
ClientConfigurationErrorCodes.authorityMismatch
|
|
224
|
+
ClientConfigurationErrorCodes.authorityMismatch,
|
|
225
|
+
correlationId
|
|
221
226
|
);
|
|
222
227
|
}
|
|
223
228
|
|
|
@@ -266,7 +266,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
266
266
|
return {
|
|
267
267
|
authority: request.authority,
|
|
268
268
|
correlationId: this.correlationId,
|
|
269
|
-
scopes: ScopeSet.fromString(
|
|
269
|
+
scopes: ScopeSet.fromString(
|
|
270
|
+
request.scope,
|
|
271
|
+
this.correlationId
|
|
272
|
+
).asArray(),
|
|
270
273
|
account: cachedAccount,
|
|
271
274
|
forceRefresh: false,
|
|
272
275
|
};
|
|
@@ -287,7 +290,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
287
290
|
"NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided",
|
|
288
291
|
this.correlationId
|
|
289
292
|
);
|
|
290
|
-
throw createClientAuthError(
|
|
293
|
+
throw createClientAuthError(
|
|
294
|
+
ClientAuthErrorCodes.noAccountFound,
|
|
295
|
+
this.correlationId
|
|
296
|
+
);
|
|
291
297
|
}
|
|
292
298
|
// fetch the account from browser cache
|
|
293
299
|
const account = this.browserStorage.getBaseAccountInfo(
|
|
@@ -298,7 +304,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
298
304
|
);
|
|
299
305
|
|
|
300
306
|
if (!account) {
|
|
301
|
-
throw createClientAuthError(
|
|
307
|
+
throw createClientAuthError(
|
|
308
|
+
ClientAuthErrorCodes.noAccountFound,
|
|
309
|
+
this.correlationId
|
|
310
|
+
);
|
|
302
311
|
}
|
|
303
312
|
|
|
304
313
|
// leverage silent flow for cached tokens retrieval
|
|
@@ -320,7 +329,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
320
329
|
|
|
321
330
|
const idTokenClaims = AuthToken.extractTokenClaims(
|
|
322
331
|
idToken?.secret || "",
|
|
323
|
-
base64Decode
|
|
332
|
+
base64Decode,
|
|
333
|
+
this.correlationId
|
|
324
334
|
);
|
|
325
335
|
|
|
326
336
|
const fullAccount = updateAccountTenantProfileData(
|
|
@@ -395,7 +405,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
395
405
|
const redirectUri = navigateToLoginRequestUrl
|
|
396
406
|
? UrlString.getAbsoluteUrl(
|
|
397
407
|
request.redirectStartPage || window.location.href,
|
|
398
|
-
getCurrentUri()
|
|
408
|
+
getCurrentUri(),
|
|
409
|
+
this.correlationId
|
|
399
410
|
)
|
|
400
411
|
: getRedirectUri(
|
|
401
412
|
request.redirectUri,
|
|
@@ -522,7 +533,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
522
533
|
// generate identifiers
|
|
523
534
|
const idTokenClaims = AuthToken.extractTokenClaims(
|
|
524
535
|
response.id_token,
|
|
525
|
-
base64Decode
|
|
536
|
+
base64Decode,
|
|
537
|
+
this.correlationId
|
|
526
538
|
);
|
|
527
539
|
|
|
528
540
|
const homeAccountIdentifier = this.createHomeAccountIdentifier(
|
|
@@ -552,7 +564,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
552
564
|
response.account.id !== request.accountId
|
|
553
565
|
) {
|
|
554
566
|
// User switch in native broker prompt is not supported. All users must first sign in through web flow to ensure server state is in sync
|
|
555
|
-
throw createNativeAuthError(
|
|
567
|
+
throw createNativeAuthError(
|
|
568
|
+
NativeAuthErrorCodes.userSwitch,
|
|
569
|
+
this.correlationId
|
|
570
|
+
);
|
|
556
571
|
}
|
|
557
572
|
|
|
558
573
|
// Get the preferred_cache domain for the given authority
|
|
@@ -640,8 +655,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
640
655
|
*/
|
|
641
656
|
generateScopes(requestScopes: string, responseScopes?: string): ScopeSet {
|
|
642
657
|
return responseScopes
|
|
643
|
-
? ScopeSet.fromString(responseScopes)
|
|
644
|
-
: ScopeSet.fromString(requestScopes);
|
|
658
|
+
? ScopeSet.fromString(responseScopes, this.correlationId)
|
|
659
|
+
: ScopeSet.fromString(requestScopes, this.correlationId);
|
|
645
660
|
}
|
|
646
661
|
|
|
647
662
|
/**
|
|
@@ -689,7 +704,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
689
704
|
* PopTokenGenerator to query the full key for signing
|
|
690
705
|
*/
|
|
691
706
|
if (!request.keyId) {
|
|
692
|
-
throw createClientAuthError(
|
|
707
|
+
throw createClientAuthError(
|
|
708
|
+
ClientAuthErrorCodes.keyIdMissing,
|
|
709
|
+
this.correlationId
|
|
710
|
+
);
|
|
693
711
|
}
|
|
694
712
|
return popTokenGenerator.signPopToken(
|
|
695
713
|
response.access_token,
|
|
@@ -751,6 +769,13 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
751
769
|
*/
|
|
752
770
|
if (accountInfo.nativeAccountId !== response.account.id) {
|
|
753
771
|
accountInfo.nativeAccountId = response.account.id;
|
|
772
|
+
// Also update the matching tenant profile (source of truth)
|
|
773
|
+
const targetTenantId = tid || accountInfo.tenantId;
|
|
774
|
+
const tenantProfile =
|
|
775
|
+
accountInfo.tenantProfiles?.get(targetTenantId);
|
|
776
|
+
if (tenantProfile) {
|
|
777
|
+
tenantProfile.nativeAccountId = response.account.id;
|
|
778
|
+
}
|
|
754
779
|
}
|
|
755
780
|
|
|
756
781
|
// generate PoP token as needed
|
|
@@ -861,6 +886,7 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
861
886
|
tokenExpirationSeconds,
|
|
862
887
|
0,
|
|
863
888
|
base64Decode,
|
|
889
|
+
request.correlationId,
|
|
864
890
|
undefined,
|
|
865
891
|
request.tokenType as Constants.AuthenticationScheme,
|
|
866
892
|
undefined,
|
|
@@ -994,16 +1020,13 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
994
1020
|
|
|
995
1021
|
// scopes are expected to be received by the native broker as "scope" and will be added to the request below. Other properties that should be dropped from the request to the native broker can be included in the object destructuring here.
|
|
996
1022
|
const { scopes, claims, ...remainingProperties } = request;
|
|
997
|
-
const scopeSet = new ScopeSet(scopes || []);
|
|
1023
|
+
const scopeSet = new ScopeSet(scopes || [], this.correlationId);
|
|
998
1024
|
scopeSet.appendScopes(Constants.OIDC_DEFAULT_SCOPES);
|
|
999
1025
|
|
|
1000
|
-
const mergedClaims =
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
configClaims
|
|
1005
|
-
)
|
|
1006
|
-
: claims;
|
|
1026
|
+
const mergedClaims = RequestParameterBuilder.buildMergedClaims(
|
|
1027
|
+
claims,
|
|
1028
|
+
configClaims?.length ? configClaims : undefined
|
|
1029
|
+
);
|
|
1007
1030
|
|
|
1008
1031
|
const validatedRequest: PlatformAuthRequest = {
|
|
1009
1032
|
...remainingProperties,
|
|
@@ -1032,7 +1055,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
1032
1055
|
// Check for PoP token requests: signPopToken should only be set to true if popKid is not set
|
|
1033
1056
|
if (validatedRequest.signPopToken && !!request.popKid) {
|
|
1034
1057
|
throw createBrowserAuthError(
|
|
1035
|
-
BrowserAuthErrorCodes.invalidPopTokenRequest
|
|
1058
|
+
BrowserAuthErrorCodes.invalidPopTokenRequest,
|
|
1059
|
+
this.correlationId
|
|
1036
1060
|
);
|
|
1037
1061
|
}
|
|
1038
1062
|
|
|
@@ -1110,7 +1134,10 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
1110
1134
|
);
|
|
1111
1135
|
}
|
|
1112
1136
|
|
|
1113
|
-
const canonicalAuthority = new UrlString(
|
|
1137
|
+
const canonicalAuthority = new UrlString(
|
|
1138
|
+
requestAuthority,
|
|
1139
|
+
this.correlationId
|
|
1140
|
+
);
|
|
1114
1141
|
canonicalAuthority.validateAsUri();
|
|
1115
1142
|
return canonicalAuthority;
|
|
1116
1143
|
}
|
|
@@ -1154,7 +1181,8 @@ export class PlatformAuthInteractionClient extends BaseInteractionClient {
|
|
|
1154
1181
|
this.correlationId
|
|
1155
1182
|
);
|
|
1156
1183
|
throw createBrowserAuthError(
|
|
1157
|
-
BrowserAuthErrorCodes.nativePromptNotSupported
|
|
1184
|
+
BrowserAuthErrorCodes.nativePromptNotSupported,
|
|
1185
|
+
this.correlationId
|
|
1158
1186
|
);
|
|
1159
1187
|
}
|
|
1160
1188
|
}
|
|
@@ -434,7 +434,7 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
434
434
|
popupParams.popup?.close();
|
|
435
435
|
|
|
436
436
|
if (e instanceof AuthError) {
|
|
437
|
-
(e as AuthError).
|
|
437
|
+
(e as AuthError).correlationId = this.correlationId;
|
|
438
438
|
serverTelemetryManager.cacheFailedRequest(e);
|
|
439
439
|
}
|
|
440
440
|
throw e;
|
|
@@ -759,7 +759,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
759
759
|
};
|
|
760
760
|
const absoluteUrl = UrlString.getAbsoluteUrl(
|
|
761
761
|
mainWindowRedirectUri,
|
|
762
|
-
BrowserUtils.getCurrentUri()
|
|
762
|
+
BrowserUtils.getCurrentUri(),
|
|
763
|
+
this.correlationId
|
|
763
764
|
);
|
|
764
765
|
await this.navigationClient.navigateInternal(
|
|
765
766
|
absoluteUrl,
|
|
@@ -779,7 +780,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
779
780
|
validRequest.state || "",
|
|
780
781
|
{
|
|
781
782
|
interactionType: InteractionType.Popup,
|
|
782
|
-
}
|
|
783
|
+
},
|
|
784
|
+
validRequest.correlationId
|
|
783
785
|
);
|
|
784
786
|
|
|
785
787
|
// Create logout string and navigate user window to logout.
|
|
@@ -818,7 +820,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
818
820
|
};
|
|
819
821
|
const absoluteUrl = UrlString.getAbsoluteUrl(
|
|
820
822
|
mainWindowRedirectUri,
|
|
821
|
-
BrowserUtils.getCurrentUri()
|
|
823
|
+
BrowserUtils.getCurrentUri(),
|
|
824
|
+
this.correlationId
|
|
822
825
|
);
|
|
823
826
|
|
|
824
827
|
this.logger.verbose(
|
|
@@ -844,7 +847,7 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
844
847
|
popupParams.popup?.close();
|
|
845
848
|
|
|
846
849
|
if (e instanceof AuthError) {
|
|
847
|
-
(e as AuthError).
|
|
850
|
+
(e as AuthError).correlationId = this.correlationId;
|
|
848
851
|
serverTelemetryManager.cacheFailedRequest(e);
|
|
849
852
|
}
|
|
850
853
|
this.eventHandler.emitEvent(
|
|
@@ -886,7 +889,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
886
889
|
// Throw error if request URL is empty.
|
|
887
890
|
this.logger.error("Navigate url is empty", this.correlationId);
|
|
888
891
|
throw createBrowserAuthError(
|
|
889
|
-
BrowserAuthErrorCodes.emptyNavigateUri
|
|
892
|
+
BrowserAuthErrorCodes.emptyNavigateUri,
|
|
893
|
+
this.correlationId
|
|
890
894
|
);
|
|
891
895
|
}
|
|
892
896
|
}
|
|
@@ -927,7 +931,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
927
931
|
// Popup will be null if popups are blocked
|
|
928
932
|
if (!popupWindow) {
|
|
929
933
|
throw createBrowserAuthError(
|
|
930
|
-
BrowserAuthErrorCodes.emptyWindowError
|
|
934
|
+
BrowserAuthErrorCodes.emptyWindowError,
|
|
935
|
+
this.correlationId
|
|
931
936
|
);
|
|
932
937
|
}
|
|
933
938
|
try {
|
|
@@ -958,7 +963,8 @@ export class PopupClient extends StandardInteractionClient {
|
|
|
958
963
|
this.correlationId
|
|
959
964
|
);
|
|
960
965
|
throw createBrowserAuthError(
|
|
961
|
-
BrowserAuthErrorCodes.popupWindowError
|
|
966
|
+
BrowserAuthErrorCodes.popupWindowError,
|
|
967
|
+
this.correlationId
|
|
962
968
|
);
|
|
963
969
|
}
|
|
964
970
|
}
|