@azure/msal-browser 5.1.0 → 5.2.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.
Files changed (350) 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/cache/AccountManager.mjs +1 -1
  8. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  9. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +2 -2
  11. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  12. package/dist/cache/CacheHelpers.mjs +1 -1
  13. package/dist/cache/CacheKeys.mjs +1 -1
  14. package/dist/cache/CookieStorage.mjs +1 -1
  15. package/dist/cache/DatabaseStorage.mjs +1 -1
  16. package/dist/cache/EncryptedData.mjs +1 -1
  17. package/dist/cache/LocalStorage.mjs +1 -1
  18. package/dist/cache/MemoryStorage.mjs +1 -1
  19. package/dist/cache/SessionStorage.mjs +1 -1
  20. package/dist/cache/TokenCache.mjs +1 -1
  21. package/dist/config/Configuration.mjs +1 -1
  22. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  23. package/dist/controllers/NestedAppAuthController.mjs +10 -10
  24. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  25. package/dist/controllers/StandardController.d.ts.map +1 -1
  26. package/dist/controllers/StandardController.mjs +35 -35
  27. package/dist/controllers/StandardController.mjs.map +1 -1
  28. package/dist/crypto/BrowserCrypto.mjs +1 -1
  29. package/dist/crypto/CryptoOps.mjs +1 -1
  30. package/dist/crypto/PkceGenerator.mjs +1 -1
  31. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  32. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  33. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  34. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  35. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  37. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  38. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  39. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  40. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +2 -2
  41. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  42. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  43. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  44. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  46. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  47. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  50. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  51. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  52. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  53. package/dist/custom-auth-path/controllers/StandardController.mjs +35 -35
  54. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  55. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  56. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  57. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  58. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  59. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  60. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  165. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  166. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  167. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  168. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  169. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  170. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  171. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  172. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  173. package/dist/custom-auth-path/event/EventHandler.d.ts +1 -1
  174. package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
  175. package/dist/custom-auth-path/event/EventHandler.mjs +3 -2
  176. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
  177. package/dist/custom-auth-path/event/EventMessage.d.ts +1 -0
  178. package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
  179. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  180. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  181. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  183. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  184. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +9 -9
  185. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  186. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  187. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +8 -8
  188. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  189. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  196. package/dist/custom-auth-path/log-strings-mapping.json +2 -2
  197. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  198. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  199. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  200. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  201. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  202. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  203. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  204. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  205. package/dist/custom-auth-path/protocol/Authorize.mjs +5 -1
  206. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  207. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  208. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  209. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
  210. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  211. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  212. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  213. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  214. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  215. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  216. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  217. package/dist/encode/Base64Decode.mjs +1 -1
  218. package/dist/encode/Base64Encode.mjs +1 -1
  219. package/dist/error/BrowserAuthError.mjs +1 -1
  220. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  221. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  222. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  223. package/dist/error/NativeAuthError.mjs +1 -1
  224. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  225. package/dist/error/NestedAppAuthError.mjs +1 -1
  226. package/dist/event/EventHandler.d.ts +1 -1
  227. package/dist/event/EventHandler.d.ts.map +1 -1
  228. package/dist/event/EventHandler.mjs +3 -2
  229. package/dist/event/EventHandler.mjs.map +1 -1
  230. package/dist/event/EventMessage.d.ts +1 -0
  231. package/dist/event/EventMessage.d.ts.map +1 -1
  232. package/dist/event/EventMessage.mjs +1 -1
  233. package/dist/event/EventMessage.mjs.map +1 -1
  234. package/dist/event/EventType.mjs +1 -1
  235. package/dist/index.mjs +1 -1
  236. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  237. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  238. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  239. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  240. package/dist/interaction_client/PopupClient.mjs +9 -9
  241. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  242. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  243. package/dist/interaction_client/RedirectClient.mjs +8 -8
  244. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  245. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  246. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  247. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  248. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  249. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  250. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  251. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  252. package/dist/log-strings-mapping.json +2 -2
  253. package/dist/naa/BridgeError.mjs +1 -1
  254. package/dist/naa/BridgeProxy.mjs +1 -1
  255. package/dist/naa/BridgeStatusCode.mjs +1 -1
  256. package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  257. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +25 -8
  258. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  259. package/dist/navigation/NavigationClient.mjs +1 -1
  260. package/dist/network/FetchClient.mjs +1 -1
  261. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  262. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  263. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  264. package/dist/packageMetadata.d.ts +1 -1
  265. package/dist/packageMetadata.mjs +2 -2
  266. package/dist/protocol/Authorize.d.ts.map +1 -1
  267. package/dist/protocol/Authorize.mjs +5 -1
  268. package/dist/protocol/Authorize.mjs.map +1 -1
  269. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
  270. package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
  271. package/dist/redirect-bridge/config/Configuration.mjs +1 -1
  272. package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts.map +1 -1
  273. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
  274. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
  275. package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
  276. package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
  277. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
  278. package/dist/redirect-bridge/event/EventHandler.d.ts +1 -1
  279. package/dist/redirect-bridge/event/EventHandler.d.ts.map +1 -1
  280. package/dist/redirect-bridge/event/EventMessage.d.ts +1 -0
  281. package/dist/redirect-bridge/event/EventMessage.d.ts.map +1 -1
  282. package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -1
  283. package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -1
  284. package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  285. package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
  286. package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
  287. package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -1
  288. package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
  289. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  290. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  291. package/dist/request/RequestHelpers.mjs +1 -1
  292. package/dist/response/ResponseHandler.mjs +1 -1
  293. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  294. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  295. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  296. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  297. package/dist/utils/BrowserConstants.mjs +1 -1
  298. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  299. package/dist/utils/BrowserUtils.mjs +1 -1
  300. package/dist/utils/Helpers.mjs +1 -1
  301. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  302. package/lib/custom-auth-path/log-strings-mapping.json +2 -2
  303. package/lib/custom-auth-path/msal-custom-auth.cjs +137 -117
  304. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  305. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  306. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  307. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  308. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  309. package/lib/custom-auth-path/types/event/EventHandler.d.ts +1 -1
  310. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
  311. package/lib/custom-auth-path/types/event/EventMessage.d.ts +1 -0
  312. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
  313. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  314. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  315. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  316. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  317. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  318. package/lib/log-strings-mapping.json +2 -2
  319. package/lib/msal-browser.cjs +171 -134
  320. package/lib/msal-browser.cjs.map +1 -1
  321. package/lib/msal-browser.js +171 -134
  322. package/lib/msal-browser.js.map +1 -1
  323. package/lib/msal-browser.min.js +2 -2
  324. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  325. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  326. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  327. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  328. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  329. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  330. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  331. package/lib/types/event/EventHandler.d.ts +1 -1
  332. package/lib/types/event/EventHandler.d.ts.map +1 -1
  333. package/lib/types/event/EventMessage.d.ts +1 -0
  334. package/lib/types/event/EventMessage.d.ts.map +1 -1
  335. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  336. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  337. package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  338. package/lib/types/packageMetadata.d.ts +1 -1
  339. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  340. package/package.json +2 -2
  341. package/src/cache/BrowserCacheManager.ts +4 -1
  342. package/src/controllers/NestedAppAuthController.ts +9 -0
  343. package/src/controllers/StandardController.ts +46 -17
  344. package/src/event/EventHandler.ts +2 -0
  345. package/src/event/EventMessage.ts +1 -0
  346. package/src/interaction_client/PopupClient.ts +8 -0
  347. package/src/interaction_client/RedirectClient.ts +7 -0
  348. package/src/naa/mapping/NestedAppAuthAdapter.ts +30 -6
  349. package/src/packageMetadata.ts +1 -1
  350. package/src/protocol/Authorize.ts +13 -0
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v5.1.0 2026-01-28 */
1
+ /*! @azure/msal-browser v5.2.0 2026-02-10 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -229,7 +229,7 @@ const JsonWebTokenTypes = {
229
229
  // Token renewal offset default in seconds
230
230
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
231
231
 
232
- /*! @azure/msal-common v16.0.3 2026-01-28 */
232
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
233
233
  /*
234
234
  * Copyright (c) Microsoft Corporation. All rights reserved.
235
235
  * Licensed under the MIT License.
@@ -279,7 +279,7 @@ const INSTANCE_AWARE = "instance_aware";
279
279
  const EAR_JWK = "ear_jwk";
280
280
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
281
281
 
282
- /*! @azure/msal-common v16.0.3 2026-01-28 */
282
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
283
283
  /*
284
284
  * Copyright (c) Microsoft Corporation. All rights reserved.
285
285
  * Licensed under the MIT License.
@@ -310,7 +310,7 @@ function createAuthError(code, additionalMessage) {
310
310
  return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
311
311
  }
312
312
 
313
- /*! @azure/msal-common v16.0.3 2026-01-28 */
313
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
314
314
 
315
315
  /*
316
316
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -330,7 +330,7 @@ function createClientConfigurationError(errorCode) {
330
330
  return new ClientConfigurationError(errorCode);
331
331
  }
332
332
 
333
- /*! @azure/msal-common v16.0.3 2026-01-28 */
333
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
334
334
  /*
335
335
  * Copyright (c) Microsoft Corporation. All rights reserved.
336
336
  * Licensed under the MIT License.
@@ -427,7 +427,7 @@ class StringUtils {
427
427
  }
428
428
  }
429
429
 
430
- /*! @azure/msal-common v16.0.3 2026-01-28 */
430
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
431
431
 
432
432
  /*
433
433
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -450,7 +450,7 @@ function createClientAuthError(errorCode, additionalMessage) {
450
450
  return new ClientAuthError(errorCode, additionalMessage);
451
451
  }
452
452
 
453
- /*! @azure/msal-common v16.0.3 2026-01-28 */
453
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
454
454
  /*
455
455
  * Copyright (c) Microsoft Corporation. All rights reserved.
456
456
  * Licensed under the MIT License.
@@ -474,7 +474,7 @@ const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
474
474
  const authorityMismatch = "authority_mismatch";
475
475
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
476
476
 
477
- /*! @azure/msal-common v16.0.3 2026-01-28 */
477
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
478
478
  /*
479
479
  * Copyright (c) Microsoft Corporation. All rights reserved.
480
480
  * Licensed under the MIT License.
@@ -511,7 +511,7 @@ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
511
511
  const keyIdMissing = "key_id_missing";
512
512
  const methodNotImplemented = "method_not_implemented";
513
513
 
514
- /*! @azure/msal-common v16.0.3 2026-01-28 */
514
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
515
515
 
516
516
  /*
517
517
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -706,7 +706,7 @@ class ScopeSet {
706
706
  }
707
707
  }
708
708
 
709
- /*! @azure/msal-common v16.0.3 2026-01-28 */
709
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
710
710
 
711
711
  /*
712
712
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1073,7 +1073,7 @@ function addEARParameters(parameters, jwk) {
1073
1073
  parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
1074
1074
  }
1075
1075
 
1076
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1076
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1077
1077
 
1078
1078
  /*
1079
1079
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1182,7 +1182,7 @@ function normalizeUrlForComparison(url) {
1182
1182
  }
1183
1183
  }
1184
1184
 
1185
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1185
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1186
1186
 
1187
1187
  /*
1188
1188
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1221,7 +1221,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
1221
1221
  },
1222
1222
  };
1223
1223
 
1224
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1224
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1225
1225
  /*
1226
1226
  * Copyright (c) Microsoft Corporation. All rights reserved.
1227
1227
  * Licensed under the MIT License.
@@ -1482,12 +1482,12 @@ class Logger {
1482
1482
  }
1483
1483
  }
1484
1484
 
1485
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1485
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1486
1486
  /* eslint-disable header/header */
1487
1487
  const name$1 = "@azure/msal-common";
1488
- const version$1 = "16.0.3";
1488
+ const version$1 = "16.0.4";
1489
1489
 
1490
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1490
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1491
1491
  /*
1492
1492
  * Copyright (c) Microsoft Corporation. All rights reserved.
1493
1493
  * Licensed under the MIT License.
@@ -1496,7 +1496,7 @@ const AzureCloudInstance = {
1496
1496
  // AzureCloudInstance is not specified.
1497
1497
  None: "none"};
1498
1498
 
1499
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1499
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1500
1500
  /*
1501
1501
  * Copyright (c) Microsoft Corporation. All rights reserved.
1502
1502
  * Licensed under the MIT License.
@@ -1578,7 +1578,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1578
1578
  return updatedAccountInfo;
1579
1579
  }
1580
1580
 
1581
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1581
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1582
1582
 
1583
1583
  /*
1584
1584
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1658,7 +1658,7 @@ function checkMaxAge(authTime, maxAge) {
1658
1658
  }
1659
1659
  }
1660
1660
 
1661
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1661
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1662
1662
 
1663
1663
  /*
1664
1664
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1815,7 +1815,7 @@ class UrlString {
1815
1815
  }
1816
1816
  }
1817
1817
 
1818
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1818
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1819
1819
 
1820
1820
  /*
1821
1821
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1886,6 +1886,21 @@ const rawMetdataJSON = {
1886
1886
  preferred_cache: "login-us.microsoftonline.com",
1887
1887
  aliases: ["login-us.microsoftonline.com"],
1888
1888
  },
1889
+ {
1890
+ preferred_network: "login.sovcloud-identity.fr",
1891
+ preferred_cache: "login.sovcloud-identity.fr",
1892
+ aliases: ["login.sovcloud-identity.fr"],
1893
+ },
1894
+ {
1895
+ preferred_network: "login.sovcloud-identity.de",
1896
+ preferred_cache: "login.sovcloud-identity.de",
1897
+ aliases: ["login.sovcloud-identity.de"],
1898
+ },
1899
+ {
1900
+ preferred_network: "login.sovcloud-identity.sg",
1901
+ preferred_cache: "login.sovcloud-identity.sg",
1902
+ aliases: ["login.sovcloud-identity.sg"],
1903
+ },
1889
1904
  ],
1890
1905
  },
1891
1906
  };
@@ -1957,7 +1972,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1957
1972
  return null;
1958
1973
  }
1959
1974
 
1960
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1975
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1961
1976
  /*
1962
1977
  * Copyright (c) Microsoft Corporation. All rights reserved.
1963
1978
  * Licensed under the MIT License.
@@ -1965,7 +1980,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1965
1980
  const cacheQuotaExceeded = "cache_quota_exceeded";
1966
1981
  const cacheErrorUnknown = "cache_error_unknown";
1967
1982
 
1968
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1983
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
1969
1984
 
1970
1985
  /*
1971
1986
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2003,7 +2018,7 @@ function createCacheError(e) {
2003
2018
  }
2004
2019
  }
2005
2020
 
2006
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2021
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2007
2022
 
2008
2023
  /*
2009
2024
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2041,7 +2056,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
2041
2056
  };
2042
2057
  }
2043
2058
 
2044
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2059
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2045
2060
  /*
2046
2061
  * Copyright (c) Microsoft Corporation. All rights reserved.
2047
2062
  * Licensed under the MIT License.
@@ -2056,7 +2071,7 @@ const AuthorityType = {
2056
2071
  Ciam: 3,
2057
2072
  };
2058
2073
 
2059
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2074
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2060
2075
  /*
2061
2076
  * Copyright (c) Microsoft Corporation. All rights reserved.
2062
2077
  * Licensed under the MIT License.
@@ -2078,7 +2093,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
2078
2093
  return null;
2079
2094
  }
2080
2095
 
2081
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2096
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2082
2097
  /*
2083
2098
  * Copyright (c) Microsoft Corporation. All rights reserved.
2084
2099
  * Licensed under the MIT License.
@@ -2102,7 +2117,7 @@ const ProtocolMode = {
2102
2117
  EAR: "EAR",
2103
2118
  };
2104
2119
 
2105
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2120
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2106
2121
  /**
2107
2122
  * Returns the AccountInfo interface for this account.
2108
2123
  */
@@ -2277,7 +2292,7 @@ function isAccountEntity(entity) {
2277
2292
  entity.hasOwnProperty("authorityType"));
2278
2293
  }
2279
2294
 
2280
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2295
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
2281
2296
 
2282
2297
  /*
2283
2298
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3373,7 +3388,7 @@ class DefaultStorageClass extends CacheManager {
3373
3388
  }
3374
3389
  }
3375
3390
 
3376
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3391
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3377
3392
  /*
3378
3393
  * Copyright (c) Microsoft Corporation. All rights reserved.
3379
3394
  * Licensed under the MIT License.
@@ -3387,7 +3402,7 @@ class DefaultStorageClass extends CacheManager {
3387
3402
  const PerformanceEventStatus = {
3388
3403
  InProgress: 1};
3389
3404
 
3390
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3405
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3391
3406
 
3392
3407
  /*
3393
3408
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3442,7 +3457,7 @@ class StubPerformanceClient {
3442
3457
  }
3443
3458
  }
3444
3459
 
3445
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3460
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3446
3461
 
3447
3462
  /*
3448
3463
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3536,7 +3551,7 @@ function isOidcProtocolMode(config) {
3536
3551
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3537
3552
  }
3538
3553
 
3539
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3554
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3540
3555
 
3541
3556
  /*
3542
3557
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3555,7 +3570,7 @@ class ServerError extends AuthError {
3555
3570
  }
3556
3571
  }
3557
3572
 
3558
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3573
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3559
3574
  /*
3560
3575
  * Copyright (c) Microsoft Corporation. All rights reserved.
3561
3576
  * Licensed under the MIT License.
@@ -3571,7 +3586,7 @@ const consentRequired = "consent_required";
3571
3586
  const loginRequired = "login_required";
3572
3587
  const badToken = "bad_token";
3573
3588
 
3574
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3589
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3575
3590
 
3576
3591
  /*
3577
3592
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3637,7 +3652,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
3637
3652
  return new InteractionRequiredAuthError(errorCode, errorMessage);
3638
3653
  }
3639
3654
 
3640
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3655
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3641
3656
 
3642
3657
  /*
3643
3658
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3705,7 +3720,7 @@ function parseRequestState(base64Decode, state) {
3705
3720
  }
3706
3721
  }
3707
3722
 
3708
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3723
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3709
3724
  /*
3710
3725
  * Copyright (c) Microsoft Corporation. All rights reserved.
3711
3726
  * Licensed under the MIT License.
@@ -3770,7 +3785,7 @@ function wasClockTurnedBack(cachedAt) {
3770
3785
  return cachedAtSec > nowSeconds();
3771
3786
  }
3772
3787
 
3773
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3788
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3774
3789
  /*
3775
3790
  * Copyright (c) Microsoft Corporation. All rights reserved.
3776
3791
  * Licensed under the MIT License.
@@ -3841,7 +3856,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
3841
3856
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
3842
3857
  const SetUserData = "setUserData";
3843
3858
 
3844
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3859
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3845
3860
  /*
3846
3861
  * Copyright (c) Microsoft Corporation. All rights reserved.
3847
3862
  * Licensed under the MIT License.
@@ -3936,7 +3951,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
3936
3951
  };
3937
3952
  };
3938
3953
 
3939
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3954
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
3940
3955
 
3941
3956
  /*
3942
3957
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4016,7 +4031,7 @@ class PopTokenGenerator {
4016
4031
  }
4017
4032
  }
4018
4033
 
4019
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4034
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4020
4035
  /*
4021
4036
  * Copyright (c) Microsoft Corporation. All rights reserved.
4022
4037
  * Licensed under the MIT License.
@@ -4043,7 +4058,7 @@ class PopTokenGenerator {
4043
4058
  }
4044
4059
  }
4045
4060
 
4046
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4061
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4047
4062
 
4048
4063
  /*
4049
4064
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4302,7 +4317,7 @@ function isAuthorityMetadataExpired(metadata) {
4302
4317
  return metadata.expiresAt <= nowSeconds();
4303
4318
  }
4304
4319
 
4305
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4320
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4306
4321
 
4307
4322
  /*
4308
4323
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4638,7 +4653,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
4638
4653
  return baseAccount;
4639
4654
  }
4640
4655
 
4641
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4656
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4642
4657
  /*
4643
4658
  * Copyright (c) Microsoft Corporation. All rights reserved.
4644
4659
  * Licensed under the MIT License.
@@ -4648,7 +4663,7 @@ const CcsCredentialType = {
4648
4663
  UPN: "UPN",
4649
4664
  };
4650
4665
 
4651
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4666
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4652
4667
  /*
4653
4668
  * Copyright (c) Microsoft Corporation. All rights reserved.
4654
4669
  * Licensed under the MIT License.
@@ -4666,7 +4681,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
4666
4681
  }
4667
4682
  }
4668
4683
 
4669
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4684
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4670
4685
  /*
4671
4686
  * Copyright (c) Microsoft Corporation. All rights reserved.
4672
4687
  * Licensed under the MIT License.
@@ -4687,7 +4702,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
4687
4702
  };
4688
4703
  }
4689
4704
 
4690
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4705
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4691
4706
 
4692
4707
  /*
4693
4708
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4773,7 +4788,7 @@ class ThrottlingUtils {
4773
4788
  }
4774
4789
  }
4775
4790
 
4776
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4791
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4777
4792
 
4778
4793
  /*
4779
4794
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4804,7 +4819,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
4804
4819
  return new NetworkError(error, httpStatus, responseHeaders);
4805
4820
  }
4806
4821
 
4807
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4822
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4808
4823
 
4809
4824
  /*
4810
4825
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4918,7 +4933,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
4918
4933
  return response;
4919
4934
  }
4920
4935
 
4921
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4936
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4922
4937
  /*
4923
4938
  * Copyright (c) Microsoft Corporation. All rights reserved.
4924
4939
  * Licensed under the MIT License.
@@ -4930,7 +4945,7 @@ function isOpenIdConfigResponse(response) {
4930
4945
  response.hasOwnProperty("jwks_uri"));
4931
4946
  }
4932
4947
 
4933
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4948
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4934
4949
  /*
4935
4950
  * Copyright (c) Microsoft Corporation. All rights reserved.
4936
4951
  * Licensed under the MIT License.
@@ -4940,7 +4955,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4940
4955
  response.hasOwnProperty("metadata"));
4941
4956
  }
4942
4957
 
4943
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4958
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4944
4959
  /*
4945
4960
  * Copyright (c) Microsoft Corporation. All rights reserved.
4946
4961
  * Licensed under the MIT License.
@@ -4950,7 +4965,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4950
4965
  response.hasOwnProperty("error_description"));
4951
4966
  }
4952
4967
 
4953
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4968
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
4954
4969
 
4955
4970
  /*
4956
4971
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5055,7 +5070,7 @@ RegionDiscovery.IMDS_OPTIONS = {
5055
5070
  },
5056
5071
  };
5057
5072
 
5058
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5073
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
5059
5074
 
5060
5075
  /*
5061
5076
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5875,7 +5890,7 @@ function buildStaticAuthorityOptions(authOptions) {
5875
5890
  };
5876
5891
  }
5877
5892
 
5878
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5893
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
5879
5894
 
5880
5895
  /*
5881
5896
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5909,7 +5924,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5909
5924
  }
5910
5925
  }
5911
5926
 
5912
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5927
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
5913
5928
 
5914
5929
  /*
5915
5930
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6169,7 +6184,7 @@ class AuthorizationCodeClient {
6169
6184
  }
6170
6185
  }
6171
6186
 
6172
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6187
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6173
6188
 
6174
6189
  /*
6175
6190
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6394,7 +6409,7 @@ class RefreshTokenClient {
6394
6409
  }
6395
6410
  }
6396
6411
 
6397
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6412
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6398
6413
 
6399
6414
  /*
6400
6415
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6503,7 +6518,7 @@ class SilentFlowClient {
6503
6518
  }
6504
6519
  }
6505
6520
 
6506
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6521
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6507
6522
 
6508
6523
  /*
6509
6524
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6518,7 +6533,7 @@ const StubbedNetworkModule = {
6518
6533
  },
6519
6534
  };
6520
6535
 
6521
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6536
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6522
6537
 
6523
6538
  /*
6524
6539
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6742,7 +6757,7 @@ function extractLoginHint(account) {
6742
6757
  return account.loginHint || account.idTokenClaims?.login_hint || null;
6743
6758
  }
6744
6759
 
6745
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6760
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6746
6761
  /*
6747
6762
  * Copyright (c) Microsoft Corporation. All rights reserved.
6748
6763
  * Licensed under the MIT License.
@@ -6752,7 +6767,7 @@ function extractLoginHint(account) {
6752
6767
  */
6753
6768
  const unexpectedError = "unexpected_error";
6754
6769
 
6755
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6770
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
6756
6771
 
6757
6772
  /*
6758
6773
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7013,7 +7028,7 @@ class ServerTelemetryManager {
7013
7028
  }
7014
7029
  }
7015
7030
 
7016
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7031
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
7017
7032
 
7018
7033
  /*
7019
7034
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7034,7 +7049,7 @@ function createJoseHeaderError(code) {
7034
7049
  return new JoseHeaderError(code);
7035
7050
  }
7036
7051
 
7037
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7052
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
7038
7053
  /*
7039
7054
  * Copyright (c) Microsoft Corporation. All rights reserved.
7040
7055
  * Licensed under the MIT License.
@@ -7042,7 +7057,7 @@ function createJoseHeaderError(code) {
7042
7057
  const missingKidError = "missing_kid_error";
7043
7058
  const missingAlgError = "missing_alg_error";
7044
7059
 
7045
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7060
+ /*! @azure/msal-common v16.0.4 2026-02-10 */
7046
7061
 
7047
7062
  /*
7048
7063
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7477,7 +7492,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
7477
7492
 
7478
7493
  /* eslint-disable header/header */
7479
7494
  const name = "@azure/msal-browser";
7480
- const version = "5.1.0";
7495
+ const version = "5.2.0";
7481
7496
 
7482
7497
  /*
7483
7498
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -15559,7 +15574,7 @@ class BrowserCacheManager extends CacheManager {
15559
15574
  this.logger.verbose("1bp5z5", correlationId);
15560
15575
  this.browserStorage.removeItem(activeAccountKey);
15561
15576
  }
15562
- this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED);
15577
+ this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED, correlationId);
15563
15578
  }
15564
15579
  /**
15565
15580
  * fetch throttling entity from the platform cache
@@ -16022,12 +16037,13 @@ class EventHandler {
16022
16037
  * @param payload
16023
16038
  * @param error
16024
16039
  */
16025
- emitEvent(eventType, interactionType, payload, error) {
16040
+ emitEvent(eventType, correlationId, interactionType, payload, error) {
16026
16041
  const message = {
16027
16042
  eventType: eventType,
16028
16043
  interactionType: interactionType || null,
16029
16044
  payload: payload || null,
16030
16045
  error: error || null,
16046
+ correlationId: correlationId,
16031
16047
  timestamp: Date.now(),
16032
16048
  };
16033
16049
  switch (eventType) {
@@ -17045,6 +17061,8 @@ async function getEARForm(frame, config, authority, request, logger, performance
17045
17061
  });
17046
17062
  const queryParams = new Map();
17047
17063
  addExtraParameters(queryParams, request.extraQueryParameters || {});
17064
+ // Add correlationId to query params so gateway can propagate it to IDPs
17065
+ addCorrelationId(queryParams, request.correlationId);
17048
17066
  const url = getAuthorizeUrl(authority, queryParams);
17049
17067
  return createForm(frame, url, parameters);
17050
17068
  }
@@ -17062,6 +17080,8 @@ async function getCodeForm(frame, config, authority, request, logger, performanc
17062
17080
  // Add extraQueryParameters to be appended to request URL
17063
17081
  const queryParams = new Map();
17064
17082
  addExtraParameters(queryParams, request.extraQueryParameters || {});
17083
+ // Add correlationId to query params so gateway can propagate it to IDPs
17084
+ addCorrelationId(queryParams, request.correlationId);
17065
17085
  const url = getAuthorizeUrl(authority, queryParams);
17066
17086
  return createForm(frame, url, parameters);
17067
17087
  }
@@ -18131,7 +18151,7 @@ class PopupClient extends StandardInteractionClient {
18131
18151
  const navigateUrl = await invokeAsync(getAuthCodeRequestUrl, GetAuthCodeUrl, this.logger, this.performanceClient, correlationId)(this.config, authClient.authority, popupRequest, this.logger, this.performanceClient);
18132
18152
  // Show the UI once the url has been created. Get the window handle for the popup.
18133
18153
  const popupWindow = this.initiateAuthRequest(navigateUrl, popupParams);
18134
- this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
18154
+ this.eventHandler.emitEvent(EventType.POPUP_OPENED, correlationId, InteractionType.Popup, { popupWindow }, null);
18135
18155
  // Wait for the redirect bridge response
18136
18156
  const responseString = await waitForBridgeResponse(this.config.system.popupBridgeTimeout, this.logger, this.browserCrypto, request);
18137
18157
  const serverParams = invoke(deserializeResponse, DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.responseMode, this.logger, this.correlationId);
@@ -18208,7 +18228,7 @@ class PopupClient extends StandardInteractionClient {
18208
18228
  */
18209
18229
  async logoutPopupAsync(validRequest, popupParams, requestAuthority, mainWindowRedirectUri) {
18210
18230
  this.logger.verbose("0b7yrk", this.correlationId);
18211
- this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Popup, validRequest);
18231
+ this.eventHandler.emitEvent(EventType.LOGOUT_START, this.correlationId, InteractionType.Popup, validRequest);
18212
18232
  const serverTelemetryManager = initializeServerTelemetryManager(ApiId.logoutPopup, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
18213
18233
  try {
18214
18234
  // Clear cache on logout
@@ -18226,7 +18246,7 @@ class PopupClient extends StandardInteractionClient {
18226
18246
  if (validRequest.account?.homeAccountId &&
18227
18247
  validRequest.postLogoutRedirectUri &&
18228
18248
  authClient.authority.protocolMode === ProtocolMode.OIDC) {
18229
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Popup, validRequest);
18249
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, validRequest.correlationId, InteractionType.Popup, validRequest);
18230
18250
  if (mainWindowRedirectUri) {
18231
18251
  const navigationOptions = {
18232
18252
  apiId: ApiId.logoutPopup,
@@ -18242,10 +18262,10 @@ class PopupClient extends StandardInteractionClient {
18242
18262
  }
18243
18263
  // Create logout string and navigate user window to logout.
18244
18264
  const logoutUri = authClient.getLogoutUri(validRequest);
18245
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Popup, validRequest);
18265
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, validRequest.correlationId, InteractionType.Popup, validRequest);
18246
18266
  // Open the popup window to requestUrl.
18247
18267
  const popupWindow = this.openPopup(logoutUri, popupParams);
18248
- this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
18268
+ this.eventHandler.emitEvent(EventType.POPUP_OPENED, validRequest.correlationId, InteractionType.Popup, { popupWindow }, null);
18249
18269
  await waitForBridgeResponse(this.config.system.popupBridgeTimeout, this.logger, this.browserCrypto, validRequest).catch(() => {
18250
18270
  // Swallow any errors related to monitoring the window. Server logout is best effort
18251
18271
  });
@@ -18271,11 +18291,11 @@ class PopupClient extends StandardInteractionClient {
18271
18291
  e.setCorrelationId(this.correlationId);
18272
18292
  serverTelemetryManager.cacheFailedRequest(e);
18273
18293
  }
18274
- this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, InteractionType.Popup, null, e);
18275
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Popup);
18294
+ this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, this.correlationId, InteractionType.Popup, null, e);
18295
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Popup);
18276
18296
  throw e;
18277
18297
  }
18278
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Popup);
18298
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Popup);
18279
18299
  }
18280
18300
  /**
18281
18301
  * Opens a popup window with given request Url.
@@ -18438,7 +18458,7 @@ class RedirectClient extends StandardInteractionClient {
18438
18458
  if (event.persisted) {
18439
18459
  this.logger.verbose("0udvtt", this.correlationId);
18440
18460
  this.browserStorage.resetRequestCache(this.correlationId);
18441
- this.eventHandler.emitEvent(EventType.RESTORE_FROM_BFCACHE, InteractionType.Redirect);
18461
+ this.eventHandler.emitEvent(EventType.RESTORE_FROM_BFCACHE, this.correlationId, InteractionType.Redirect);
18442
18462
  }
18443
18463
  };
18444
18464
  const redirectStartPage = this.getRedirectStartPage(request.redirectStartPage);
@@ -18755,7 +18775,7 @@ class RedirectClient extends StandardInteractionClient {
18755
18775
  const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
18756
18776
  const serverTelemetryManager = initializeServerTelemetryManager(ApiId.logout, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
18757
18777
  try {
18758
- this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Redirect, logoutRequest);
18778
+ this.eventHandler.emitEvent(EventType.LOGOUT_START, this.correlationId, InteractionType.Redirect, logoutRequest);
18759
18779
  // Clear cache on logout
18760
18780
  await clearCacheOnLogout(this.browserStorage, this.browserCrypto, this.logger, this.correlationId, validLogoutRequest.account);
18761
18781
  const navigationOptions = {
@@ -18775,7 +18795,7 @@ class RedirectClient extends StandardInteractionClient {
18775
18795
  }
18776
18796
  catch {
18777
18797
  if (validLogoutRequest.account?.homeAccountId) {
18778
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Redirect, validLogoutRequest);
18798
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, this.correlationId, InteractionType.Redirect, validLogoutRequest);
18779
18799
  return;
18780
18800
  }
18781
18801
  }
@@ -18783,7 +18803,7 @@ class RedirectClient extends StandardInteractionClient {
18783
18803
  // Create logout string and navigate user window to logout.
18784
18804
  const logoutUri = authClient.getLogoutUri(validLogoutRequest);
18785
18805
  if (validLogoutRequest.account?.homeAccountId) {
18786
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Redirect, validLogoutRequest);
18806
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, this.correlationId, InteractionType.Redirect, validLogoutRequest);
18787
18807
  }
18788
18808
  // Check if onRedirectNavigate is implemented, and invoke it if so
18789
18809
  const onRedirectNavigate = this.config.auth.onRedirectNavigate;
@@ -18818,11 +18838,11 @@ class RedirectClient extends StandardInteractionClient {
18818
18838
  e.setCorrelationId(this.correlationId);
18819
18839
  serverTelemetryManager.cacheFailedRequest(e);
18820
18840
  }
18821
- this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, InteractionType.Redirect, null, e);
18822
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);
18841
+ this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, this.correlationId, InteractionType.Redirect, null, e);
18842
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Redirect);
18823
18843
  throw e;
18824
18844
  }
18825
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);
18845
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Redirect);
18826
18846
  }
18827
18847
  /**
18828
18848
  * Use to get the redirectStartPage either from request or use current window
@@ -19313,23 +19333,22 @@ class StandardController {
19313
19333
  if (!this.isBrowserEnvironment) {
19314
19334
  this.logger.info("19fvpi", correlationId);
19315
19335
  this.initialized = true;
19316
- this.eventHandler.emitEvent(EventType.INITIALIZE_END);
19336
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END, correlationId);
19317
19337
  return;
19318
19338
  }
19319
- const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
19320
19339
  const allowPlatformBroker = this.config.system.allowPlatformBroker;
19321
- const initMeasurement = this.performanceClient.startMeasurement(InitializeClientApplication, initCorrelationId);
19322
- this.eventHandler.emitEvent(EventType.INITIALIZE_START);
19340
+ const initMeasurement = this.performanceClient.startMeasurement(InitializeClientApplication, correlationId);
19341
+ this.eventHandler.emitEvent(EventType.INITIALIZE_START, correlationId);
19323
19342
  // Broker applications are initialized twice, so we avoid double-counting it
19324
- this.logMultipleInstances(initMeasurement, initCorrelationId);
19325
- await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), InitializeCache, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
19343
+ this.logMultipleInstances(initMeasurement, correlationId);
19344
+ await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), InitializeCache, this.logger, this.performanceClient, correlationId)(correlationId);
19326
19345
  if (allowPlatformBroker) {
19327
19346
  try {
19328
19347
  // check if platform authentication is available via DOM or browser extension and create relevant handlers
19329
- this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
19348
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, correlationId, this.config.system.nativeBrokerHandshakeTimeout);
19330
19349
  }
19331
19350
  catch (e) {
19332
- this.logger.verbose(e, initCorrelationId);
19351
+ this.logger.verbose(e, correlationId);
19333
19352
  }
19334
19353
  }
19335
19354
  if (this.config.cache.cacheLocation ===
@@ -19337,9 +19356,9 @@ class StandardController {
19337
19356
  this.eventHandler.subscribeCrossTab();
19338
19357
  }
19339
19358
  !this.config.system.navigatePopups &&
19340
- (await this.preGeneratePkceCodes(initCorrelationId));
19359
+ (await this.preGeneratePkceCodes(correlationId));
19341
19360
  this.initialized = true;
19342
- this.eventHandler.emitEvent(EventType.INITIALIZE_END);
19361
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END, correlationId);
19343
19362
  initMeasurement.end({
19344
19363
  allowPlatformBroker: allowPlatformBroker,
19345
19364
  success: true,
@@ -19401,11 +19420,11 @@ class StandardController {
19401
19420
  this.platformAuthProvider &&
19402
19421
  !options?.hash;
19403
19422
  let rootMeasurement;
19404
- this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, InteractionType.Redirect);
19405
19423
  let redirectResponse;
19406
19424
  try {
19407
19425
  if (useNative && this.platformAuthProvider) {
19408
19426
  const correlationId = platformBrokerRequest?.correlationId || "";
19427
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, correlationId, InteractionType.Redirect);
19409
19428
  rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
19410
19429
  this.logger.trace("12v7is", correlationId);
19411
19430
  const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.handleRedirectPromise, this.performanceClient, this.platformAuthProvider, platformBrokerRequest.accountId, this.nativeInternalStorage, platformBrokerRequest.correlationId);
@@ -19414,6 +19433,7 @@ class StandardController {
19414
19433
  else {
19415
19434
  const [standardRequest, codeVerifier] = this.browserStorage.getCachedRequest("");
19416
19435
  const correlationId = standardRequest.correlationId;
19436
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, correlationId, InteractionType.Redirect);
19417
19437
  // Reset rootMeasurement now that we have correlationId
19418
19438
  rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
19419
19439
  this.logger.trace("0znzs5", correlationId);
@@ -19429,12 +19449,12 @@ class StandardController {
19429
19449
  .then((result) => {
19430
19450
  if (result) {
19431
19451
  this.browserStorage.resetRequestCache(result.correlationId);
19432
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Redirect, result);
19452
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, result.correlationId, InteractionType.Redirect, result);
19433
19453
  this.logger.verbose("0ui8f5", result.correlationId);
19434
19454
  // Emit login event if number of accounts change
19435
19455
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19436
19456
  if (isLoggingIn) {
19437
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Redirect, result.account);
19457
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, result.correlationId, InteractionType.Redirect, result.account);
19438
19458
  this.logger.verbose("16im3l", result.correlationId);
19439
19459
  }
19440
19460
  rootMeasurement.end({
@@ -19453,14 +19473,14 @@ class StandardController {
19453
19473
  rootMeasurement.discard();
19454
19474
  }
19455
19475
  }
19456
- this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
19476
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, rootMeasurement.event.correlationId, InteractionType.Redirect);
19457
19477
  return result;
19458
19478
  })
19459
19479
  .catch((e) => {
19460
19480
  this.browserStorage.resetRequestCache(rootMeasurement.event.correlationId);
19461
19481
  const eventError = e;
19462
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, eventError);
19463
- this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
19482
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, rootMeasurement.event.correlationId, InteractionType.Redirect, null, eventError);
19483
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, rootMeasurement.event.correlationId, InteractionType.Redirect);
19464
19484
  rootMeasurement.end({
19465
19485
  success: false,
19466
19486
  }, eventError);
@@ -19499,7 +19519,7 @@ class StandardController {
19499
19519
  try {
19500
19520
  redirectPreflightCheck(this.initialized, this.config);
19501
19521
  this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
19502
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Redirect, request);
19522
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Redirect, request);
19503
19523
  let result;
19504
19524
  if (this.platformAuthProvider &&
19505
19525
  this.canUsePlatformBroker(request)) {
@@ -19541,7 +19561,7 @@ class StandardController {
19541
19561
  else {
19542
19562
  atrMeasurement.end({ success: false }, e, request.account);
19543
19563
  }
19544
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, e);
19564
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Redirect, null, e);
19545
19565
  throw e;
19546
19566
  }
19547
19567
  }
@@ -19571,7 +19591,7 @@ class StandardController {
19571
19591
  }
19572
19592
  // If logged in, emit acquire token events
19573
19593
  const loggedInAccounts = this.getAllAccounts();
19574
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Popup, request);
19594
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Popup, request);
19575
19595
  let result;
19576
19596
  const pkce = this.getPreGeneratedPkceCodes(correlationId);
19577
19597
  if (this.canUsePlatformBroker(request)) {
@@ -19611,9 +19631,9 @@ class StandardController {
19611
19631
  * If logged in, emit acquire token events
19612
19632
  */
19613
19633
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19614
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Popup, result);
19634
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Popup, result);
19615
19635
  if (isLoggingIn) {
19616
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Popup, result.account);
19636
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, correlationId, InteractionType.Popup, result.account);
19617
19637
  }
19618
19638
  atPopupMeasurement.end({
19619
19639
  success: true,
@@ -19623,7 +19643,7 @@ class StandardController {
19623
19643
  return result;
19624
19644
  })
19625
19645
  .catch((e) => {
19626
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Popup, null, e);
19646
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Popup, null, e);
19627
19647
  atPopupMeasurement.end({
19628
19648
  success: false,
19629
19649
  }, e, request.account);
@@ -19683,7 +19703,7 @@ class StandardController {
19683
19703
  document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
19684
19704
  const loggedInAccounts = this.getAllAccounts();
19685
19705
  this.logger.verbose("0w1b45", correlationId);
19686
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, validRequest);
19706
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Silent, validRequest);
19687
19707
  let result;
19688
19708
  if (this.canUsePlatformBroker(validRequest)) {
19689
19709
  result = this.acquireTokenNative(validRequest, ApiId.ssoSilent).catch((e) => {
@@ -19703,9 +19723,9 @@ class StandardController {
19703
19723
  return result
19704
19724
  .then((response) => {
19705
19725
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19706
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
19726
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Silent, response);
19707
19727
  if (isLoggingIn) {
19708
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Silent, response.account);
19728
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, correlationId, InteractionType.Silent, response.account);
19709
19729
  }
19710
19730
  this.ssoSilentMeasurement?.end({
19711
19731
  success: true,
@@ -19716,7 +19736,7 @@ class StandardController {
19716
19736
  return response;
19717
19737
  })
19718
19738
  .catch((e) => {
19719
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
19739
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, e);
19720
19740
  this.ssoSilentMeasurement?.end({
19721
19741
  success: false,
19722
19742
  }, e, request.account);
@@ -19741,7 +19761,7 @@ class StandardController {
19741
19761
  this.logger.trace("0ch6ga", correlationId);
19742
19762
  const atbcMeasurement = this.performanceClient.startMeasurement(AcquireTokenByCode, correlationId);
19743
19763
  preflightCheck(this.initialized, atbcMeasurement);
19744
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
19764
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Silent, request);
19745
19765
  atbcMeasurement.add({ scenarioId: request.scenarioId });
19746
19766
  try {
19747
19767
  if (request.code && request.nativeAccountId) {
@@ -19758,7 +19778,7 @@ class StandardController {
19758
19778
  correlationId,
19759
19779
  })
19760
19780
  .then((result) => {
19761
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, result);
19781
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Silent, result);
19762
19782
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
19763
19783
  atbcMeasurement.end({
19764
19784
  success: true,
@@ -19770,7 +19790,7 @@ class StandardController {
19770
19790
  })
19771
19791
  .catch((error) => {
19772
19792
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
19773
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, error);
19793
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, error);
19774
19794
  atbcMeasurement.end({
19775
19795
  success: false,
19776
19796
  }, error);
@@ -19811,7 +19831,7 @@ class StandardController {
19811
19831
  }
19812
19832
  }
19813
19833
  catch (e) {
19814
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
19834
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, e);
19815
19835
  atbcMeasurement.end({
19816
19836
  success: false,
19817
19837
  }, e);
@@ -20313,7 +20333,7 @@ class StandardController {
20313
20333
  */
20314
20334
  async acquireTokenSilentAsync(request, account) {
20315
20335
  const trackPageVisibility = () => this.trackPageVisibility(request.correlationId);
20316
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
20336
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, request.correlationId, InteractionType.Silent, request);
20317
20337
  if (request.correlationId) {
20318
20338
  this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, request.correlationId);
20319
20339
  }
@@ -20381,7 +20401,7 @@ class StandardController {
20381
20401
  });
20382
20402
  return result
20383
20403
  .then((response) => {
20384
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
20404
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, request.correlationId, InteractionType.Silent, response);
20385
20405
  if (request.correlationId) {
20386
20406
  this.performanceClient.addFields({
20387
20407
  fromCache: response.fromCache,
@@ -20391,7 +20411,7 @@ class StandardController {
20391
20411
  return response;
20392
20412
  })
20393
20413
  .catch((tokenRenewalError) => {
20394
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, tokenRenewalError);
20414
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, request.correlationId, InteractionType.Silent, null, tokenRenewalError);
20395
20415
  throw tokenRenewalError;
20396
20416
  })
20397
20417
  .finally(() => {
@@ -20430,7 +20450,7 @@ class StandardController {
20430
20450
  if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
20431
20451
  throw cacheError;
20432
20452
  }
20433
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest);
20453
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, silentRequest.correlationId, InteractionType.Silent, silentRequest);
20434
20454
  return invokeAsync(this.acquireTokenByRefreshToken.bind(this), AcquireTokenByRefreshToken, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy);
20435
20455
  });
20436
20456
  }