@azure/msal-browser 5.28.0 → 5.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (507) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  22. package/dist/controllers/StandardController.mjs +1 -1
  23. package/dist/crypto/BrowserCrypto.mjs +1 -1
  24. package/dist/crypto/CryptoOps.mjs +1 -1
  25. package/dist/crypto/PkceGenerator.mjs +1 -1
  26. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  27. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  28. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  29. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +6 -4
  30. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
  31. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +58 -62
  32. package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  33. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +3 -5
  51. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -1
  52. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +19 -13
  53. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -1
  54. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +8 -2
  55. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -1
  56. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +58 -69
  57. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs.map +1 -1
  58. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +3 -3
  59. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +42 -15
  60. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -1
  61. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +17 -4
  62. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs.map +1 -1
  63. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
  64. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +14 -18
  65. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -1
  66. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +2 -4
  67. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -1
  68. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +2 -3
  69. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -1
  70. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +17 -6
  71. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -1
  72. package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +110 -0
  73. package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
  74. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  75. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  76. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  77. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  78. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +2 -1
  79. package/dist/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
  80. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  81. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  82. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  83. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  84. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  85. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  86. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  87. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  88. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  89. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  90. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  91. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  92. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  93. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  94. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  95. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  96. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  97. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +256 -150
  98. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -1
  99. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +2 -6
  100. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -1
  101. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +10 -3
  102. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -1
  103. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  104. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  105. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  106. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  107. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  108. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  109. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  110. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  111. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  112. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -7
  113. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -1
  114. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
  115. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +35 -19
  116. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -1
  117. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
  118. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
  119. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +20 -9
  120. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -1
  121. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
  122. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
  123. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -1
  124. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -2
  125. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -1
  126. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  127. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  128. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +5 -7
  129. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -1
  130. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +3 -2
  131. package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  132. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +17 -2
  133. package/dist/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  134. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  135. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  136. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  137. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  138. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  139. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  140. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  141. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  142. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  143. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  144. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  145. package/dist/custom_auth/index.mjs +4 -3
  146. package/dist/custom_auth/index.mjs.map +1 -1
  147. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  148. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  149. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  150. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  151. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  152. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  153. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  154. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  155. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  156. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  157. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  158. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +23 -7
  159. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -1
  160. package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs +24 -0
  161. package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs.map +1 -0
  162. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  163. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  164. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  165. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  166. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  167. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  168. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  169. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  170. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  171. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  172. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  173. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  174. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  175. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +4 -7
  176. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -1
  177. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +2 -2
  178. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs.map +1 -1
  179. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  180. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  181. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  182. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  183. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  184. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  185. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  186. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  187. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  188. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  189. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  190. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  191. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  192. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  193. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +17 -8
  194. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -1
  195. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs +78 -0
  196. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs.map +1 -0
  197. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs +48 -0
  198. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs.map +1 -0
  199. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs +49 -0
  200. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs.map +1 -0
  201. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +17 -24
  202. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -1
  203. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  204. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  205. package/dist/encode/Base64Decode.mjs +1 -1
  206. package/dist/encode/Base64Encode.mjs +1 -1
  207. package/dist/error/BrowserAuthError.mjs +1 -1
  208. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  209. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  210. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  211. package/dist/error/NativeAuthError.mjs +1 -1
  212. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  213. package/dist/error/NestedAppAuthError.mjs +1 -1
  214. package/dist/event/EventHandler.mjs +1 -1
  215. package/dist/event/EventMessage.mjs +1 -1
  216. package/dist/event/EventType.mjs +1 -1
  217. package/dist/index.mjs +1 -1
  218. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  219. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  220. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +38 -31
  221. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  222. package/dist/interaction_client/PopupClient.mjs +1 -1
  223. package/dist/interaction_client/RedirectClient.mjs +6 -2
  224. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  225. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  226. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  227. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  228. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  229. package/dist/interaction_client/StandardInteractionClient.mjs +5 -1
  230. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  231. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  232. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  233. package/dist/log-strings-mapping.json +21 -9
  234. package/dist/naa/BridgeError.mjs +1 -1
  235. package/dist/naa/BridgeProxy.mjs +1 -1
  236. package/dist/naa/BridgeStatusCode.mjs +1 -1
  237. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  238. package/dist/navigation/NavigationClient.mjs +1 -1
  239. package/dist/network/FetchClient.mjs +1 -1
  240. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  241. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  242. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  243. package/dist/packageMetadata.mjs +2 -2
  244. package/dist/popup_relay/constants.mjs +1 -1
  245. package/dist/popup_relay/index.mjs +1 -1
  246. package/dist/popup_relay/relayClient.mjs +1 -1
  247. package/dist/protocol/Authorize.mjs +1 -1
  248. package/dist/redirect_bridge/index.mjs +1 -1
  249. package/dist/request/RequestHelpers.mjs +1 -1
  250. package/dist/request/SilentRequestHelpers.mjs +1 -1
  251. package/dist/response/ResponseHandler.mjs +1 -1
  252. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  253. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  254. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  255. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  256. package/dist/utils/BrowserConstants.mjs +1 -1
  257. package/dist/utils/BrowserDetection.mjs +1 -1
  258. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  259. package/dist/utils/BrowserUtils.mjs +1 -1
  260. package/dist/utils/Helpers.mjs +1 -1
  261. package/dist/utils/IframeMonitor.mjs +1 -1
  262. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  263. package/dist/utils/PopupMonitor.mjs +1 -1
  264. package/dist/utils/PopupOriginCheck.mjs +1 -1
  265. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  266. package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
  267. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  268. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  269. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  270. package/dist/webBrokerBridge/index.mjs +1 -1
  271. package/lib/custom-auth-path/log-strings-mapping.json +21 -9
  272. package/lib/custom-auth-path/msal-custom-auth.cjs +1160 -765
  273. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  274. package/lib/custom-auth-path/msal-custom-auth.js +1160 -765
  275. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  276. package/lib/log-strings-mapping.json +7 -3
  277. package/lib/msal-browser.cjs +187 -117
  278. package/lib/msal-browser.cjs.map +1 -1
  279. package/lib/msal-browser.js +187 -117
  280. package/lib/msal-browser.js.map +1 -1
  281. package/lib/msal-browser.min.js +2 -2
  282. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  283. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  284. package/lib/popup-relay/msal-popup-relay.js +2 -2
  285. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  286. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  287. package/lib/redirect-bridge/msal-redirect-bridge.cjs +39 -10
  288. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  289. package/lib/redirect-bridge/msal-redirect-bridge.js +39 -10
  290. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  291. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
  292. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
  293. package/package.json +2 -2
  294. package/src/custom_auth/CustomAuthActionInputs.ts +12 -5
  295. package/src/custom_auth/CustomAuthPublicClientApplication.ts +5 -3
  296. package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +5 -3
  297. package/src/custom_auth/controller/CustomAuthStandardController.ts +79 -110
  298. package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.ts +1 -2
  299. package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +1 -4
  300. package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +5 -4
  301. package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +28 -16
  302. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +6 -0
  303. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.ts +83 -72
  304. package/src/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.ts +3 -3
  305. package/src/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.ts +7 -5
  306. package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +10 -6
  307. package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +9 -6
  308. package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +4 -6
  309. package/src/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.ts +36 -0
  310. package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +6 -8
  311. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.ts +2 -2
  312. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +61 -12
  313. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.ts +21 -3
  314. package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +30 -24
  315. package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +1 -3
  316. package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +11 -2
  317. package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +1 -2
  318. package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +26 -7
  319. package/src/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.ts +179 -0
  320. package/src/custom_auth/core/error/InvalidArgumentError.ts +1 -1
  321. package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +12 -12
  322. package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +394 -238
  323. package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +2 -6
  324. package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +2 -15
  325. package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +63 -26
  326. package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +0 -6
  327. package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +74 -26
  328. package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +48 -9
  329. package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +4 -6
  330. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +0 -6
  331. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +14 -53
  332. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +0 -18
  333. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +32 -13
  334. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +8 -9
  335. package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +4 -5
  336. package/src/custom_auth/core/telemetry/PublicApiId.ts +1 -0
  337. package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
  338. package/src/custom_auth/index.ts +10 -11
  339. package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +6 -7
  340. package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +28 -5
  341. package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.ts +30 -0
  342. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +4 -8
  343. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +4 -7
  344. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +3 -6
  345. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +0 -3
  346. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.ts +2 -3
  347. package/src/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.ts +49 -0
  348. package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +8 -4
  349. package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +16 -4
  350. package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +26 -5
  351. package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.ts +101 -0
  352. package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.ts +53 -0
  353. package/src/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.ts +97 -0
  354. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +0 -6
  355. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +25 -48
  356. package/src/interaction_client/PlatformAuthInteractionClient.ts +53 -38
  357. package/src/interaction_client/RedirectClient.ts +5 -1
  358. package/src/interaction_client/StandardInteractionClient.ts +4 -0
  359. package/src/packageMetadata.ts +1 -1
  360. package/types/custom_auth/CustomAuthActionInputs.d.ts +12 -5
  361. package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  362. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  363. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +5 -3
  364. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
  365. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +5 -3
  366. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -1
  367. package/types/custom_auth/controller/CustomAuthStandardController.d.ts +2 -0
  368. package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  369. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts +1 -2
  370. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodRegistrationV2.d.ts.map +1 -1
  371. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +1 -4
  372. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -1
  373. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +5 -4
  374. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -1
  375. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +17 -8
  376. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -1
  377. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +6 -0
  378. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -1
  379. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts +23 -44
  380. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.d.ts.map +1 -1
  381. package/types/custom_auth/core/auth_flow/v2/result/AuthMethodRegistrationChallengeResultV2.d.ts +3 -3
  382. package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts +7 -6
  383. package/types/custom_auth/core/auth_flow/v2/result/AuthMethodVerificationSubmitChallengeResultV2.d.ts.map +1 -1
  384. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +7 -6
  385. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -1
  386. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +8 -7
  387. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -1
  388. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +4 -6
  389. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -1
  390. package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +20 -0
  391. package/types/custom_auth/core/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
  392. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +6 -8
  393. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -1
  394. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.d.ts +2 -2
  395. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +3 -6
  396. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -1
  397. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts +3 -3
  398. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.d.ts.map +1 -1
  399. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +6 -8
  400. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -1
  401. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +1 -3
  402. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -1
  403. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +9 -2
  404. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -1
  405. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +1 -2
  406. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -1
  407. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +5 -6
  408. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -1
  409. package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +23 -0
  410. package/types/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
  411. package/types/custom_auth/core/error/InvalidArgumentError.d.ts +1 -0
  412. package/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -1
  413. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +8 -1
  414. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -1
  415. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +12 -10
  416. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -1
  417. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +1 -1
  418. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -1
  419. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +2 -5
  420. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -1
  421. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +22 -3
  422. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -1
  423. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -1
  424. package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -1
  425. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +2 -1
  426. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -1
  427. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +1 -1
  428. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -1
  429. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -1
  430. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +8 -8
  431. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -1
  432. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -1
  433. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +18 -6
  434. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -1
  435. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +6 -10
  436. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -1
  437. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +0 -4
  438. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -1
  439. package/types/custom_auth/core/telemetry/PublicApiId.d.ts +1 -0
  440. package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  441. package/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
  442. package/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  443. package/types/custom_auth/index.d.ts +5 -5
  444. package/types/custom_auth/index.d.ts.map +1 -1
  445. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +6 -8
  446. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -1
  447. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +7 -5
  448. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -1
  449. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts +7 -0
  450. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.d.ts.map +1 -0
  451. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +4 -8
  452. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -1
  453. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +5 -6
  454. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -1
  455. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +3 -6
  456. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -1
  457. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +0 -1
  458. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -1
  459. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts +3 -2
  460. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.d.ts.map +1 -1
  461. package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts +27 -0
  462. package/types/custom_auth/sign_up/auth_flow/v2/result/ExistingAccountActionResultsV2.d.ts.map +1 -0
  463. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +6 -3
  464. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -1
  465. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +12 -3
  466. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -1
  467. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +8 -3
  468. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -1
  469. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts +24 -0
  470. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.d.ts.map +1 -0
  471. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts +18 -0
  472. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.d.ts.map +1 -0
  473. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts +7 -0
  474. package/types/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.d.ts.map +1 -0
  475. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +0 -4
  476. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -1
  477. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +5 -4
  478. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -1
  479. package/types/interaction_client/PlatformAuthInteractionClient.d.ts +4 -3
  480. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  481. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  482. package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  483. package/types/packageMetadata.d.ts +1 -1
  484. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +0 -82
  485. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +0 -1
  486. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +0 -25
  487. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +0 -1
  488. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +0 -45
  489. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +0 -1
  490. package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +0 -23
  491. package/src/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.ts +0 -19
  492. package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +0 -22
  493. package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +0 -115
  494. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +0 -34
  495. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +0 -61
  496. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +0 -14
  497. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +0 -1
  498. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts +0 -13
  499. package/types/custom_auth/core/auth_flow/v2/result/ResendCodeResultV2.d.ts.map +0 -1
  500. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +0 -9
  501. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +0 -1
  502. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +0 -17
  503. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +0 -1
  504. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +0 -11
  505. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +0 -1
  506. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +0 -19
  507. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.28.0 2026-11-05 */
1
+ /*! @azure/msal-browser v5.29.1 2026-11-12 */
2
2
  'use strict';
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v16.16.0 2026-11-05 */
9
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -66,7 +66,7 @@
66
66
  */
67
67
  const POPUP_ORIGIN_CHECK_DONE = "pocd";
68
68
 
69
- /*! @azure/msal-common v16.16.0 2026-11-05 */
69
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
70
70
  /*
71
71
  * Copyright (c) Microsoft Corporation. All rights reserved.
72
72
  * Licensed under the MIT License.
@@ -305,7 +305,7 @@
305
305
  // Token renewal offset default in seconds
306
306
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
307
307
 
308
- /*! @azure/msal-common v16.16.0 2026-11-05 */
308
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
309
309
  /*
310
310
  * Copyright (c) Microsoft Corporation. All rights reserved.
311
311
  * Licensed under the MIT License.
@@ -334,7 +334,7 @@
334
334
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
335
335
  }
336
336
 
337
- /*! @azure/msal-common v16.16.0 2026-11-05 */
337
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
338
338
 
339
339
  /*
340
340
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -357,7 +357,7 @@
357
357
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
358
358
  }
359
359
 
360
- /*! @azure/msal-common v16.16.0 2026-11-05 */
360
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
361
361
  /*
362
362
  * Copyright (c) Microsoft Corporation. All rights reserved.
363
363
  * Licensed under the MIT License.
@@ -443,7 +443,7 @@
443
443
  userCanceled: userCanceled
444
444
  });
445
445
 
446
- /*! @azure/msal-common v16.16.0 2026-11-05 */
446
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
447
447
 
448
448
  /*
449
449
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -481,7 +481,7 @@
481
481
  };
482
482
  }
483
483
 
484
- /*! @azure/msal-common v16.16.0 2026-11-05 */
484
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
485
485
 
486
486
  /*
487
487
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -547,7 +547,7 @@
547
547
  return matches[2];
548
548
  }
549
549
 
550
- /*! @azure/msal-common v16.16.0 2026-11-05 */
550
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
551
551
 
552
552
  /*
553
553
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -635,7 +635,7 @@
635
635
  return updatedAccountInfo;
636
636
  }
637
637
 
638
- /*! @azure/msal-common v16.16.0 2026-11-05 */
638
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
639
639
  /*
640
640
  * Copyright (c) Microsoft Corporation. All rights reserved.
641
641
  * Licensed under the MIT License.
@@ -649,7 +649,7 @@
649
649
  Ciam: 3,
650
650
  };
651
651
 
652
- /*! @azure/msal-common v16.16.0 2026-11-05 */
652
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
653
653
  /*
654
654
  * Copyright (c) Microsoft Corporation. All rights reserved.
655
655
  * Licensed under the MIT License.
@@ -671,7 +671,7 @@
671
671
  return null;
672
672
  }
673
673
 
674
- /*! @azure/msal-common v16.16.0 2026-11-05 */
674
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
675
675
  /*
676
676
  * Copyright (c) Microsoft Corporation. All rights reserved.
677
677
  * Licensed under the MIT License.
@@ -695,7 +695,7 @@
695
695
  EAR: "EAR",
696
696
  };
697
697
 
698
- /*! @azure/msal-common v16.16.0 2026-11-05 */
698
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
699
699
  /**
700
700
  * Returns the AccountInfo interface for this account.
701
701
  * @internal
@@ -884,7 +884,7 @@
884
884
  entity.hasOwnProperty("authorityType"));
885
885
  }
886
886
 
887
- /*! @azure/msal-common v16.16.0 2026-11-05 */
887
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
888
888
  /*
889
889
  * Copyright (c) Microsoft Corporation. All rights reserved.
890
890
  * Licensed under the MIT License.
@@ -901,7 +901,7 @@
901
901
  unexpectedError: unexpectedError
902
902
  });
903
903
 
904
- /*! @azure/msal-common v16.16.0 2026-11-05 */
904
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
905
905
 
906
906
  /*
907
907
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -921,7 +921,7 @@
921
921
  return new ClientConfigurationError(errorCode, correlationId);
922
922
  }
923
923
 
924
- /*! @azure/msal-common v16.16.0 2026-11-05 */
924
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
925
925
  /*
926
926
  * Copyright (c) Microsoft Corporation. All rights reserved.
927
927
  * Licensed under the MIT License.
@@ -961,7 +961,7 @@
961
961
  return headerName === undefined ? undefined : headers[headerName];
962
962
  }
963
963
 
964
- /*! @azure/msal-common v16.16.0 2026-11-05 */
964
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
965
965
  /*
966
966
  * Copyright (c) Microsoft Corporation. All rights reserved.
967
967
  * Licensed under the MIT License.
@@ -1031,7 +1031,7 @@
1031
1031
  urlParseError: urlParseError
1032
1032
  });
1033
1033
 
1034
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1034
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1035
1035
 
1036
1036
  /*
1037
1037
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1090,7 +1090,7 @@
1090
1090
  }
1091
1091
  }
1092
1092
 
1093
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1093
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1094
1094
  /*
1095
1095
  * Copyright (c) Microsoft Corporation. All rights reserved.
1096
1096
  * Licensed under the MIT License.
@@ -1102,7 +1102,7 @@
1102
1102
  response.hasOwnProperty("jwks_uri"));
1103
1103
  }
1104
1104
 
1105
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1105
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1106
1106
  /*
1107
1107
  * Copyright (c) Microsoft Corporation. All rights reserved.
1108
1108
  * Licensed under the MIT License.
@@ -1182,12 +1182,18 @@
1182
1182
  }
1183
1183
  }
1184
1184
 
1185
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1185
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1186
1186
 
1187
1187
  /*
1188
1188
  * Copyright (c) Microsoft Corporation. All rights reserved.
1189
1189
  * Licensed under the MIT License.
1190
1190
  */
1191
+ // Matches ASCII controls, space, DEL, backslash, or the userinfo separator (@).
1192
+ const UNSAFE_AUTHORITY = /[\x00-\x20\x7f\\@]/;
1193
+ const DEFAULT_PORTS = {
1194
+ "https:": ":443",
1195
+ "http:": ":80",
1196
+ };
1191
1197
  /**
1192
1198
  * Url object class which can perform various transformations on url strings.
1193
1199
  */
@@ -1303,6 +1309,29 @@
1303
1309
  AbsolutePath: match[5],
1304
1310
  QueryString: match[7],
1305
1311
  };
1312
+ let parsedUrl;
1313
+ try {
1314
+ parsedUrl = new URL(this.urlString);
1315
+ }
1316
+ catch {
1317
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1318
+ }
1319
+ const host = urlComponents.HostNameAndPort?.toLowerCase();
1320
+ const schemeAndAuthority = `${urlComponents.Protocol}//${host}`;
1321
+ const defaultPort = DEFAULT_PORTS[parsedUrl.protocol] ?? "";
1322
+ /*
1323
+ * Cross-check the original host; reparsing parsedUrl would hide parser differences.
1324
+ * URL has validated IPv6 syntax, so only bracketed hosts need a normalization comparison.
1325
+ */
1326
+ const hostMatches = host === parsedUrl.host ||
1327
+ host === `${parsedUrl.host}${defaultPort}` ||
1328
+ (host?.startsWith("[") &&
1329
+ new URL(`${urlComponents.Protocol}//${host}`).host ===
1330
+ parsedUrl.host);
1331
+ // Check authority ambiguity without restricting resource paths, queries, or fragments.
1332
+ if (UNSAFE_AUTHORITY.test(schemeAndAuthority) || !hostMatches) {
1333
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1334
+ }
1306
1335
  let pathSegments = urlComponents.AbsolutePath.split("/");
1307
1336
  pathSegments = pathSegments.filter((val) => val && val.length > 0); // remove empty elements
1308
1337
  urlComponents.PathSegments = pathSegments;
@@ -1340,7 +1369,7 @@
1340
1369
  }
1341
1370
  }
1342
1371
 
1343
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1372
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1344
1373
 
1345
1374
  /*
1346
1375
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1494,7 +1523,7 @@
1494
1523
  return null;
1495
1524
  }
1496
1525
 
1497
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1526
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1498
1527
  /*
1499
1528
  * Copyright (c) Microsoft Corporation. All rights reserved.
1500
1529
  * Licensed under the MIT License.
@@ -1512,7 +1541,7 @@
1512
1541
  AzureUsGovernment: "https://login.microsoftonline.us",
1513
1542
  };
1514
1543
 
1515
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1544
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1516
1545
  /*
1517
1546
  * Copyright (c) Microsoft Corporation. All rights reserved.
1518
1547
  * Licensed under the MIT License.
@@ -1522,7 +1551,7 @@
1522
1551
  response.hasOwnProperty("metadata"));
1523
1552
  }
1524
1553
 
1525
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1554
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1526
1555
  /*
1527
1556
  * Copyright (c) Microsoft Corporation. All rights reserved.
1528
1557
  * Licensed under the MIT License.
@@ -1532,7 +1561,7 @@
1532
1561
  response.hasOwnProperty("error_description"));
1533
1562
  }
1534
1563
 
1535
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1564
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1536
1565
  /*
1537
1566
  * Copyright (c) Microsoft Corporation. All rights reserved.
1538
1567
  * Licensed under the MIT License.
@@ -1603,7 +1632,7 @@
1603
1632
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1604
1633
  const SetUserData = "setUserData";
1605
1634
 
1606
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1635
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1607
1636
  /*
1608
1637
  * Copyright (c) Microsoft Corporation. All rights reserved.
1609
1638
  * Licensed under the MIT License.
@@ -1639,7 +1668,8 @@
1639
1668
  catch (e) {
1640
1669
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1641
1670
  try {
1642
- logger.trace(JSON.stringify(e), correlationId);
1671
+ // Prevent numeric error details from being treated as minified log hashes.
1672
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1643
1673
  }
1644
1674
  catch (e) {
1645
1675
  logger.trace("00dty7", correlationId);
@@ -1683,7 +1713,7 @@
1683
1713
  .catch((e) => {
1684
1714
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1685
1715
  try {
1686
- logger.trace(JSON.stringify(e), correlationId);
1716
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1687
1717
  }
1688
1718
  catch (e) {
1689
1719
  logger.trace("00dty7", correlationId);
@@ -1696,12 +1726,26 @@
1696
1726
  };
1697
1727
  };
1698
1728
 
1699
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1729
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1700
1730
 
1701
1731
  /*
1702
1732
  * Copyright (c) Microsoft Corporation. All rights reserved.
1703
1733
  * Licensed under the MIT License.
1704
1734
  */
1735
+ // Starts with an ASCII letter; remaining characters are ASCII letters, digits, or hyphens.
1736
+ const REGION_NAME_PATTERN = /^[a-z][a-z0-9-]*$/i;
1737
+ // A region becomes a DNS label, limited to 63 octets by RFC 1035 section 2.3.4.
1738
+ const MAX_REGION_NAME_LENGTH = 63;
1739
+ /**
1740
+ * Whether a region can safely be used as a single DNS label.
1741
+ */
1742
+ function isValidRegion(region) {
1743
+ return (typeof region === "string" &&
1744
+ region.length <= MAX_REGION_NAME_LENGTH &&
1745
+ REGION_NAME_PATTERN.test(region) &&
1746
+ // Keep the trailing-hyphen rule explicit rather than complicating the pattern.
1747
+ !region.endsWith("-"));
1748
+ }
1705
1749
  class RegionDiscovery {
1706
1750
  constructor(networkInterface, logger, performanceClient, correlationId) {
1707
1751
  this.networkInterface = networkInterface;
@@ -1761,12 +1805,16 @@
1761
1805
  regionDiscoveryMetadata.region_source =
1762
1806
  RegionDiscoverySources.ENVIRONMENT_VARIABLE;
1763
1807
  }
1764
- // If no region was auto detected from the environment or from the IMDS endpoint, mark the attempt as a FAILED_AUTO_DETECTION
1765
- if (!autodetectedRegionName) {
1808
+ // Untrusted discovery values must be a single DNS label before becoming a host prefix.
1809
+ if (!autodetectedRegionName || !isValidRegion(autodetectedRegionName)) {
1810
+ if (autodetectedRegionName) {
1811
+ this.logger.warning("0n83q0", this.correlationId);
1812
+ }
1766
1813
  regionDiscoveryMetadata.region_source =
1767
1814
  RegionDiscoverySources.FAILED_AUTO_DETECTION;
1815
+ return null;
1768
1816
  }
1769
- return autodetectedRegionName || null;
1817
+ return autodetectedRegionName;
1770
1818
  }
1771
1819
  /**
1772
1820
  * Make the call to the IMDS endpoint
@@ -1807,7 +1855,7 @@
1807
1855
  },
1808
1856
  };
1809
1857
 
1810
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1858
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1811
1859
  /*
1812
1860
  * Copyright (c) Microsoft Corporation. All rights reserved.
1813
1861
  * Licensed under the MIT License.
@@ -1872,7 +1920,7 @@
1872
1920
  return cachedAtSec > nowSeconds();
1873
1921
  }
1874
1922
 
1875
- /*! @azure/msal-common v16.16.0 2026-11-05 */
1923
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1876
1924
 
1877
1925
  /*
1878
1926
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2159,7 +2207,7 @@
2159
2207
  return [...attributeTokens].sort().join(" ");
2160
2208
  }
2161
2209
 
2162
- /*! @azure/msal-common v16.16.0 2026-11-05 */
2210
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
2163
2211
 
2164
2212
  /*
2165
2213
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3012,6 +3060,9 @@
3012
3060
  * @param region string
3013
3061
  */
3014
3062
  static buildRegionalAuthorityString(host, region, correlationId, queryString) {
3063
+ if (!isValidRegion(region)) {
3064
+ throw createClientConfigurationError(urlParseError, correlationId);
3065
+ }
3015
3066
  // Create and validate a Url string object with the initial authority string
3016
3067
  const authorityUrlInstance = new UrlString(host, correlationId);
3017
3068
  authorityUrlInstance.validateAsUri();
@@ -3022,7 +3073,7 @@
3022
3073
  }
3023
3074
  // Include the query string portion of the url
3024
3075
  const url = UrlString.constructAuthorityUriFromObject({
3025
- ...authorityUrlInstance.getUrlComponents(),
3076
+ ...authorityUrlParts,
3026
3077
  HostNameAndPort: hostNameAndPort,
3027
3078
  }, correlationId).urlString;
3028
3079
  // Add the query string if a query string was provided
@@ -3127,7 +3178,7 @@
3127
3178
  };
3128
3179
  }
3129
3180
 
3130
- /*! @azure/msal-common v16.16.0 2026-11-05 */
3181
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3131
3182
 
3132
3183
  /*
3133
3184
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3161,7 +3212,7 @@
3161
3212
  }
3162
3213
  }
3163
3214
 
3164
- /*! @azure/msal-common v16.16.0 2026-11-05 */
3215
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3165
3216
 
3166
3217
  /*
3167
3218
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3357,7 +3408,7 @@
3357
3408
  }
3358
3409
  }
3359
3410
 
3360
- /*! @azure/msal-common v16.16.0 2026-11-05 */
3411
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3361
3412
 
3362
3413
  /*
3363
3414
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3857,7 +3908,7 @@
3857
3908
  }
3858
3909
  }
3859
3910
 
3860
- /*! @azure/msal-common v16.16.0 2026-11-05 */
3911
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3861
3912
 
3862
3913
  /*
3863
3914
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3988,7 +4039,7 @@
3988
4039
  }
3989
4040
  }
3990
4041
 
3991
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4042
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3992
4043
 
3993
4044
  /*
3994
4045
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4036,7 +4087,7 @@
4036
4087
  },
4037
4088
  };
4038
4089
 
4039
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4090
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4040
4091
 
4041
4092
  /*
4042
4093
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4059,7 +4110,7 @@
4059
4110
  },
4060
4111
  };
4061
4112
 
4062
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4113
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4063
4114
  /*
4064
4115
  * Copyright (c) Microsoft Corporation. All rights reserved.
4065
4116
  * Licensed under the MIT License.
@@ -4348,12 +4399,12 @@
4348
4399
  }
4349
4400
  }
4350
4401
 
4351
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4402
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4352
4403
  /* eslint-disable header/header */
4353
4404
  const name$1 = "@azure/msal-common";
4354
- const version$1 = "16.16.0";
4405
+ const version$1 = "16.16.2";
4355
4406
 
4356
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4407
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4357
4408
  /*
4358
4409
  * Copyright (c) Microsoft Corporation. All rights reserved.
4359
4410
  * Licensed under the MIT License.
@@ -4361,7 +4412,7 @@
4361
4412
  const cacheQuotaExceeded = "cache_quota_exceeded";
4362
4413
  const cacheErrorUnknown = "cache_error_unknown";
4363
4414
 
4364
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4415
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4365
4416
 
4366
4417
  /*
4367
4418
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4399,7 +4450,7 @@
4399
4450
  }
4400
4451
  }
4401
4452
 
4402
- /*! @azure/msal-common v16.16.0 2026-11-05 */
4453
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4403
4454
 
4404
4455
  /*
4405
4456
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4863,19 +4914,25 @@
4863
4914
  * @param account
4864
4915
  */
4865
4916
  removeAccount(account, correlationId) {
4866
- this.removeAccountContext(account, correlationId);
4867
4917
  const accountKeys = this.getAccountKeys();
4868
4918
  const keyFilter = (key) => {
4869
4919
  return (key.includes(account.homeAccountId) &&
4870
4920
  key.includes(account.environment));
4871
4921
  };
4922
+ this.getTokenKeys()
4923
+ .idToken.filter(keyFilter)
4924
+ .forEach((key) => {
4925
+ this.removeIdToken(key, correlationId);
4926
+ });
4927
+ this.removeAccountContext(account, correlationId);
4872
4928
  accountKeys.filter(keyFilter).forEach((key) => {
4873
4929
  this.removeItem(key, correlationId);
4874
4930
  this.performanceClient.incrementFields({ accountsRemoved: 1 }, correlationId);
4875
4931
  });
4876
4932
  }
4877
4933
  /**
4878
- * Removes credentials associated with the provided account
4934
+ * Removes access and refresh tokens associated with the provided account,
4935
+ * preserving the account and its ID tokens.
4879
4936
  * @param account
4880
4937
  */
4881
4938
  removeAccountContext(account, correlationId) {
@@ -4884,9 +4941,6 @@
4884
4941
  return (key.includes(account.homeAccountId) &&
4885
4942
  key.includes(account.environment));
4886
4943
  };
4887
- allTokenKeys.idToken.filter(keyFilter).forEach((key) => {
4888
- this.removeIdToken(key, correlationId);
4889
- });
4890
4944
  allTokenKeys.accessToken.filter(keyFilter).forEach((key) => {
4891
4945
  this.removeAccessToken(key, correlationId);
4892
4946
  });
@@ -5624,7 +5678,7 @@
5624
5678
  }
5625
5679
  }
5626
5680
 
5627
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5681
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5628
5682
  /*
5629
5683
  * Copyright (c) Microsoft Corporation. All rights reserved.
5630
5684
  * Licensed under the MIT License.
@@ -5689,7 +5743,7 @@
5689
5743
  "fetchRetryCount",
5690
5744
  ]);
5691
5745
 
5692
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5746
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5693
5747
 
5694
5748
  /*
5695
5749
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5747,7 +5801,7 @@
5747
5801
  }
5748
5802
  }
5749
5803
 
5750
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5804
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5751
5805
 
5752
5806
  /*
5753
5807
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5845,7 +5899,7 @@
5845
5899
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5846
5900
  }
5847
5901
 
5848
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5902
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5849
5903
  /*
5850
5904
  * Copyright (c) Microsoft Corporation. All rights reserved.
5851
5905
  * Licensed under the MIT License.
@@ -5872,7 +5926,7 @@
5872
5926
  }
5873
5927
  }
5874
5928
 
5875
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5929
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5876
5930
 
5877
5931
  /*
5878
5932
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5893,7 +5947,7 @@
5893
5947
  return new JoseHeaderError(code, correlationId);
5894
5948
  }
5895
5949
 
5896
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5950
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5897
5951
  /*
5898
5952
  * Copyright (c) Microsoft Corporation. All rights reserved.
5899
5953
  * Licensed under the MIT License.
@@ -5918,7 +5972,7 @@
5918
5972
  return Object.getPrototypeOf(value) === proto;
5919
5973
  }
5920
5974
 
5921
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5975
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5922
5976
  /*
5923
5977
  * Copyright (c) Microsoft Corporation. All rights reserved.
5924
5978
  * Licensed under the MIT License.
@@ -5928,7 +5982,7 @@
5928
5982
  const missingJwkError = "missing_jwk_error";
5929
5983
  const invalidJwkError = "invalid_jwk_error";
5930
5984
 
5931
- /*! @azure/msal-common v16.16.0 2026-11-05 */
5985
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5932
5986
 
5933
5987
  /*
5934
5988
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5994,7 +6048,7 @@
5994
6048
  }
5995
6049
  }
5996
6050
 
5997
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6051
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5998
6052
 
5999
6053
  /*
6000
6054
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6095,7 +6149,7 @@
6095
6149
  }
6096
6150
  }
6097
6151
 
6098
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6152
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6099
6153
 
6100
6154
  /*
6101
6155
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6250,7 +6304,7 @@
6250
6304
  }
6251
6305
  }
6252
6306
 
6253
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6307
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6254
6308
  /*
6255
6309
  * Copyright (c) Microsoft Corporation. All rights reserved.
6256
6310
  * Licensed under the MIT License.
@@ -6314,7 +6368,7 @@
6314
6368
  uiNotAllowed: uiNotAllowed
6315
6369
  });
6316
6370
 
6317
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6371
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6318
6372
 
6319
6373
  /*
6320
6374
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6381,7 +6435,7 @@
6381
6435
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
6382
6436
  }
6383
6437
 
6384
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6438
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6385
6439
 
6386
6440
  /*
6387
6441
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6400,7 +6454,7 @@
6400
6454
  }
6401
6455
  }
6402
6456
 
6403
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6457
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6404
6458
 
6405
6459
  /*
6406
6460
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6471,7 +6525,7 @@
6471
6525
  }
6472
6526
  }
6473
6527
 
6474
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6528
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6475
6529
 
6476
6530
  /*
6477
6531
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6899,7 +6953,7 @@
6899
6953
  return baseAccount;
6900
6954
  }
6901
6955
 
6902
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6956
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6903
6957
  /*
6904
6958
  * Copyright (c) Microsoft Corporation. All rights reserved.
6905
6959
  * Licensed under the MIT License.
@@ -6909,7 +6963,7 @@
6909
6963
  UPN: "UPN",
6910
6964
  };
6911
6965
 
6912
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6966
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6913
6967
  /*
6914
6968
  * Copyright (c) Microsoft Corporation. All rights reserved.
6915
6969
  * Licensed under the MIT License.
@@ -6928,7 +6982,7 @@
6928
6982
  }
6929
6983
  }
6930
6984
 
6931
- /*! @azure/msal-common v16.16.0 2026-11-05 */
6985
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6932
6986
 
6933
6987
  /*
6934
6988
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6952,7 +7006,7 @@
6952
7006
  };
6953
7007
  }
6954
7008
 
6955
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7009
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6956
7010
 
6957
7011
  /*
6958
7012
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7042,7 +7096,7 @@
7042
7096
  return undefined;
7043
7097
  }
7044
7098
 
7045
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7099
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7046
7100
 
7047
7101
  /*
7048
7102
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7073,7 +7127,7 @@
7073
7127
  return new NetworkError(error, httpStatus, responseHeaders);
7074
7128
  }
7075
7129
 
7076
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7130
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7077
7131
 
7078
7132
  /*
7079
7133
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7207,7 +7261,7 @@
7207
7261
  return response;
7208
7262
  }
7209
7263
 
7210
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7264
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7211
7265
 
7212
7266
  /*
7213
7267
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7250,7 +7304,8 @@
7250
7304
  throw createClientAuthError(requestCannotBeMade, request.correlationId);
7251
7305
  }
7252
7306
  // Check for new cloud instance
7253
- if (authCodePayload && authCodePayload.cloud_instance_host_name) {
7307
+ if (this.config.authOptions.instanceAware === true &&
7308
+ authCodePayload?.cloud_instance_host_name) {
7254
7309
  await invokeAsync(this.updateTokenEndpointAuthority.bind(this), UpdateTokenEndpointAuthority, this.logger, this.performanceClient, request.correlationId)(authCodePayload.cloud_instance_host_name, request.correlationId);
7255
7310
  }
7256
7311
  const reqTimestamp = nowSeconds();
@@ -7474,7 +7529,7 @@
7474
7529
  }
7475
7530
  }
7476
7531
 
7477
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7532
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7478
7533
 
7479
7534
  /*
7480
7535
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7659,13 +7714,13 @@
7659
7714
  decodedServerResponseState = decodeURIComponent(serverResponse.state);
7660
7715
  }
7661
7716
  catch (e) {
7662
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7717
+ throw createClientAuthError(invalidState, correlationId);
7663
7718
  }
7664
7719
  try {
7665
7720
  decodedRequestState = decodeURIComponent(requestState);
7666
7721
  }
7667
7722
  catch (e) {
7668
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7723
+ throw createClientAuthError(invalidState, correlationId);
7669
7724
  }
7670
7725
  if (decodedServerResponseState !== decodedRequestState) {
7671
7726
  throw createClientAuthError(stateMismatch, correlationId);
@@ -7704,7 +7759,7 @@
7704
7759
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7705
7760
  }
7706
7761
 
7707
- /*! @azure/msal-common v16.16.0 2026-11-05 */
7762
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7708
7763
 
7709
7764
  /*
7710
7765
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8253,7 +8308,7 @@
8253
8308
  }
8254
8309
  }
8255
8310
 
8256
- /*! @azure/msal-common v16.16.0 2026-11-05 */
8311
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8257
8312
 
8258
8313
  /*
8259
8314
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8488,7 +8543,7 @@
8488
8543
  }
8489
8544
  }
8490
8545
 
8491
- /*! @azure/msal-common v16.16.0 2026-11-05 */
8546
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8492
8547
 
8493
8548
  /*
8494
8549
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8781,7 +8836,7 @@
8781
8836
  clearNativeBrokerErrorCode() { }
8782
8837
  }
8783
8838
 
8784
- /*! @azure/msal-common v16.16.0 2026-11-05 */
8839
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8785
8840
 
8786
8841
  /*
8787
8842
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8908,7 +8963,7 @@
8908
8963
  }
8909
8964
  }
8910
8965
 
8911
- /*! @azure/msal-common v16.16.0 2026-11-05 */
8966
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8912
8967
 
8913
8968
  /*
8914
8969
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8924,7 +8979,7 @@
8924
8979
  },
8925
8980
  };
8926
8981
 
8927
- /*! @azure/msal-common v16.16.0 2026-11-05 */
8982
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8928
8983
 
8929
8984
  /*
8930
8985
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11659,7 +11714,7 @@
11659
11714
 
11660
11715
  /* eslint-disable header/header */
11661
11716
  const name = "@azure/msal-browser";
11662
- const version = "5.28.0";
11717
+ const version = "5.29.1";
11663
11718
 
11664
11719
  /*
11665
11720
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13905,6 +13960,10 @@
13905
13960
  clientId: this.config.auth.clientId,
13906
13961
  authority: discoveredAuthority,
13907
13962
  clientCapabilities: this.config.auth.clientCapabilities,
13963
+ instanceAware: requestExtraQueryParameters?.instance_aware
13964
+ ?.length
13965
+ ? requestExtraQueryParameters.instance_aware === "true"
13966
+ : this.config.auth.instanceAware,
13908
13967
  redirectUri: this.config.auth.redirectUri,
13909
13968
  isMcp: this.config.auth.isMcp,
13910
13969
  },
@@ -14552,37 +14611,38 @@
14552
14611
  }, e);
14553
14612
  throw e;
14554
14613
  }
14555
- // check if the tokens can be retrieved from internal cache
14556
- let cachedResult;
14557
- try {
14558
- cachedResult = await this.acquireTokensFromCache(this.accountId, nativeRequest);
14559
- }
14560
- catch (e) {
14561
- if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
14562
- this.logger.info("0eitbc", this.correlationId);
14614
+ if (this.apiId === ApiId.acquireTokenSilent_silentFlow) {
14615
+ let cachedResult;
14616
+ try {
14617
+ cachedResult = await this.acquireTokensFromCache(this.accountId, nativeRequest, cacheLookupPolicy);
14618
+ }
14619
+ catch (e) {
14620
+ if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
14621
+ this.logger.info("0eitbc", this.correlationId);
14622
+ nativeATMeasurement.add({
14623
+ isNativeBroker: false,
14624
+ });
14625
+ nativeATMeasurement.end({
14626
+ success: false,
14627
+ });
14628
+ await this.resetGeneratedDpopRequestKeyBestEffort(nativeRequest);
14629
+ throw e;
14630
+ }
14631
+ // continue with a native call for any and all errors
14632
+ this.logger.info("0957j1", this.correlationId);
14633
+ }
14634
+ if (cachedResult) {
14635
+ // Served from the native internal cache; token did not come directly from the broker
14563
14636
  nativeATMeasurement.add({
14564
14637
  isNativeBroker: false,
14565
14638
  });
14566
14639
  nativeATMeasurement.end({
14567
- success: false,
14640
+ success: true,
14641
+ fromCache: true,
14568
14642
  });
14569
- await this.resetGeneratedDpopRequestKeyBestEffort(nativeRequest);
14570
- throw e;
14643
+ await this.resetGeneratedDpopRequestKey(nativeRequest);
14644
+ return cachedResult;
14571
14645
  }
14572
- // continue with a native call for any and all errors
14573
- this.logger.info("0957j1", this.correlationId);
14574
- }
14575
- if (cachedResult) {
14576
- // Served from the native internal cache; token did not come directly from the broker
14577
- nativeATMeasurement.add({
14578
- isNativeBroker: false,
14579
- });
14580
- nativeATMeasurement.end({
14581
- success: true,
14582
- fromCache: true,
14583
- });
14584
- await this.resetGeneratedDpopRequestKey(nativeRequest);
14585
- return cachedResult;
14586
14646
  }
14587
14647
  // dispatch the request to the broker
14588
14648
  try {
@@ -14673,12 +14733,18 @@
14673
14733
  };
14674
14734
  }
14675
14735
  /**
14676
- * Fetches the tokens from the cache if un-expired
14736
+ * Fetches unexpired tokens when allowed by cache policy.
14677
14737
  * @param nativeAccountId
14678
14738
  * @param request
14679
- * @returns authenticationResult
14739
+ * @param cacheLookupPolicy
14740
+ * @returns Cached result, or undefined when cache policy bypasses lookup.
14680
14741
  */
14681
- async acquireTokensFromCache(nativeAccountId, request) {
14742
+ async acquireTokensFromCache(nativeAccountId, request, cacheLookupPolicy = CacheLookupPolicy.Default) {
14743
+ if (cacheLookupPolicy === CacheLookupPolicy.RefreshTokenAndNetwork ||
14744
+ cacheLookupPolicy === CacheLookupPolicy.Skip) {
14745
+ this.logger.verbose("03uwyk", this.correlationId);
14746
+ return undefined;
14747
+ }
14682
14748
  if (!nativeAccountId) {
14683
14749
  this.logger.warning("1ndf3e", this.correlationId);
14684
14750
  throw createClientAuthError(noAccountFound, this.correlationId);
@@ -15028,7 +15094,7 @@
15028
15094
  async cacheAccount(accountEntity, kmsi, clearExistingTokens = true) {
15029
15095
  // Store the account info and hence `nativeAccountId` in browser cache
15030
15096
  await this.browserStorage.setAccount(accountEntity, this.correlationId, kmsi, this.apiId);
15031
- // Remove any existing cached tokens for this account in browser storage
15097
+ // Remove cached web access and refresh tokens, preserving ID tokens.
15032
15098
  if (clearExistingTokens) {
15033
15099
  this.browserStorage.removeAccountContext(getAccountInfo(accountEntity), this.correlationId);
15034
15100
  }
@@ -17976,7 +18042,11 @@
17976
18042
  const discoveredAuthority = await invokeAsync(getDiscoveredAuthority, StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, request.correlationId)(this.config, this.correlationId, this.performanceClient, this.browserStorage, this.logger, authority, azureCloudOptions, extraQueryParameters, account);
17977
18043
  return invokeAsync(handleResponseEAR, HandleResponseEar, this.logger, this.performanceClient, request.correlationId)(request, serverParams, ApiId.acquireTokenRedirect, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
17978
18044
  }
17979
- const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({ serverTelemetryManager, requestAuthority: request.authority });
18045
+ const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
18046
+ serverTelemetryManager,
18047
+ requestAuthority: request.authority,
18048
+ requestExtraQueryParameters: request.extraQueryParameters,
18049
+ });
17980
18050
  return invokeAsync(handleResponseCode, HandleResponseCode, this.logger, this.performanceClient, request.correlationId)(request, serverParams, codeVerifier, ApiId.acquireTokenRedirect, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
17981
18051
  }
17982
18052
  /**