@azure/msal-browser 5.1.0 → 5.3.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 (352) 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 +39 -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 +39 -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 +2 -2
  289. package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -1
  290. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  291. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  292. package/dist/request/RequestHelpers.mjs +1 -1
  293. package/dist/response/ResponseHandler.mjs +1 -1
  294. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  295. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  296. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  297. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  298. package/dist/utils/BrowserConstants.mjs +1 -1
  299. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  300. package/dist/utils/BrowserUtils.mjs +1 -1
  301. package/dist/utils/Helpers.mjs +1 -1
  302. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  303. package/lib/custom-auth-path/log-strings-mapping.json +2 -2
  304. package/lib/custom-auth-path/msal-custom-auth.cjs +181 -137
  305. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  306. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  307. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  308. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  309. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  310. package/lib/custom-auth-path/types/event/EventHandler.d.ts +1 -1
  311. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
  312. package/lib/custom-auth-path/types/event/EventMessage.d.ts +1 -0
  313. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
  314. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  315. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  316. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  317. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  318. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  319. package/lib/log-strings-mapping.json +2 -2
  320. package/lib/msal-browser.cjs +216 -154
  321. package/lib/msal-browser.cjs.map +1 -1
  322. package/lib/msal-browser.js +216 -154
  323. package/lib/msal-browser.js.map +1 -1
  324. package/lib/msal-browser.min.js +2 -2
  325. package/lib/redirect-bridge/msal-redirect-bridge.js +11 -28
  326. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  327. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
  328. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  329. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  330. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  331. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  332. package/lib/types/event/EventHandler.d.ts +1 -1
  333. package/lib/types/event/EventHandler.d.ts.map +1 -1
  334. package/lib/types/event/EventMessage.d.ts +1 -0
  335. package/lib/types/event/EventMessage.d.ts.map +1 -1
  336. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  337. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  338. package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  339. package/lib/types/packageMetadata.d.ts +1 -1
  340. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  341. package/package.json +2 -2
  342. package/src/cache/BrowserCacheManager.ts +4 -1
  343. package/src/controllers/NestedAppAuthController.ts +9 -0
  344. package/src/controllers/StandardController.ts +55 -17
  345. package/src/event/EventHandler.ts +2 -0
  346. package/src/event/EventMessage.ts +1 -0
  347. package/src/interaction_client/PopupClient.ts +8 -0
  348. package/src/interaction_client/RedirectClient.ts +7 -0
  349. package/src/naa/mapping/NestedAppAuthAdapter.ts +30 -6
  350. package/src/packageMetadata.ts +1 -1
  351. package/src/protocol/Authorize.ts +13 -0
  352. package/src/redirect_bridge/index.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v5.1.0 2026-01-28 */
1
+ /*! @azure/msal-browser v5.3.0 2026-02-24 */
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.1.0 2026-02-24 */
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.1.0 2026-02-24 */
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.1.0 2026-02-24 */
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.1.0 2026-02-24 */
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.1.0 2026-02-24 */
334
334
  /*
335
335
  * Copyright (c) Microsoft Corporation. All rights reserved.
336
336
  * Licensed under the MIT License.
@@ -408,26 +408,9 @@ class StringUtils {
408
408
  return null;
409
409
  }
410
410
  }
411
- /**
412
- * Tests if a given string matches a given pattern, with support for wildcards and queries.
413
- * @param pattern Wildcard pattern to string match. Supports "*" for wildcards and "?" for queries
414
- * @param input String to match against
415
- */
416
- static matchPattern(pattern, input) {
417
- /**
418
- * Wildcard support: https://stackoverflow.com/a/3117248/4888559
419
- * Queries: replaces "?" in string with escaped "\?" for regex test
420
- */
421
- // eslint-disable-next-line security/detect-non-literal-regexp
422
- const regex = new RegExp(pattern
423
- .replace(/\\/g, "\\\\")
424
- .replace(/\*/g, "[^ ]*")
425
- .replace(/\?/g, "\\?"));
426
- return regex.test(input);
427
- }
428
411
  }
429
412
 
430
- /*! @azure/msal-common v16.0.3 2026-01-28 */
413
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
431
414
 
432
415
  /*
433
416
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -450,7 +433,7 @@ function createClientAuthError(errorCode, additionalMessage) {
450
433
  return new ClientAuthError(errorCode, additionalMessage);
451
434
  }
452
435
 
453
- /*! @azure/msal-common v16.0.3 2026-01-28 */
436
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
454
437
  /*
455
438
  * Copyright (c) Microsoft Corporation. All rights reserved.
456
439
  * Licensed under the MIT License.
@@ -474,7 +457,7 @@ const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
474
457
  const authorityMismatch = "authority_mismatch";
475
458
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
476
459
 
477
- /*! @azure/msal-common v16.0.3 2026-01-28 */
460
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
478
461
  /*
479
462
  * Copyright (c) Microsoft Corporation. All rights reserved.
480
463
  * Licensed under the MIT License.
@@ -511,7 +494,7 @@ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
511
494
  const keyIdMissing = "key_id_missing";
512
495
  const methodNotImplemented = "method_not_implemented";
513
496
 
514
- /*! @azure/msal-common v16.0.3 2026-01-28 */
497
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
515
498
 
516
499
  /*
517
500
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -706,7 +689,7 @@ class ScopeSet {
706
689
  }
707
690
  }
708
691
 
709
- /*! @azure/msal-common v16.0.3 2026-01-28 */
692
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
710
693
 
711
694
  /*
712
695
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1073,7 +1056,7 @@ function addEARParameters(parameters, jwk) {
1073
1056
  parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
1074
1057
  }
1075
1058
 
1076
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1059
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1077
1060
 
1078
1061
  /*
1079
1062
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1182,7 +1165,7 @@ function normalizeUrlForComparison(url) {
1182
1165
  }
1183
1166
  }
1184
1167
 
1185
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1168
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1186
1169
 
1187
1170
  /*
1188
1171
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1221,7 +1204,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
1221
1204
  },
1222
1205
  };
1223
1206
 
1224
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1207
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1225
1208
  /*
1226
1209
  * Copyright (c) Microsoft Corporation. All rights reserved.
1227
1210
  * Licensed under the MIT License.
@@ -1482,12 +1465,12 @@ class Logger {
1482
1465
  }
1483
1466
  }
1484
1467
 
1485
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1468
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1486
1469
  /* eslint-disable header/header */
1487
1470
  const name$1 = "@azure/msal-common";
1488
- const version$1 = "16.0.3";
1471
+ const version$1 = "16.1.0";
1489
1472
 
1490
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1473
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1491
1474
  /*
1492
1475
  * Copyright (c) Microsoft Corporation. All rights reserved.
1493
1476
  * Licensed under the MIT License.
@@ -1496,7 +1479,7 @@ const AzureCloudInstance = {
1496
1479
  // AzureCloudInstance is not specified.
1497
1480
  None: "none"};
1498
1481
 
1499
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1482
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1500
1483
  /*
1501
1484
  * Copyright (c) Microsoft Corporation. All rights reserved.
1502
1485
  * Licensed under the MIT License.
@@ -1578,7 +1561,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1578
1561
  return updatedAccountInfo;
1579
1562
  }
1580
1563
 
1581
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1564
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1582
1565
 
1583
1566
  /*
1584
1567
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1658,7 +1641,7 @@ function checkMaxAge(authTime, maxAge) {
1658
1641
  }
1659
1642
  }
1660
1643
 
1661
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1644
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1662
1645
 
1663
1646
  /*
1664
1647
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1815,7 +1798,7 @@ class UrlString {
1815
1798
  }
1816
1799
  }
1817
1800
 
1818
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1801
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1819
1802
 
1820
1803
  /*
1821
1804
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1886,6 +1869,21 @@ const rawMetdataJSON = {
1886
1869
  preferred_cache: "login-us.microsoftonline.com",
1887
1870
  aliases: ["login-us.microsoftonline.com"],
1888
1871
  },
1872
+ {
1873
+ preferred_network: "login.sovcloud-identity.fr",
1874
+ preferred_cache: "login.sovcloud-identity.fr",
1875
+ aliases: ["login.sovcloud-identity.fr"],
1876
+ },
1877
+ {
1878
+ preferred_network: "login.sovcloud-identity.de",
1879
+ preferred_cache: "login.sovcloud-identity.de",
1880
+ aliases: ["login.sovcloud-identity.de"],
1881
+ },
1882
+ {
1883
+ preferred_network: "login.sovcloud-identity.sg",
1884
+ preferred_cache: "login.sovcloud-identity.sg",
1885
+ aliases: ["login.sovcloud-identity.sg"],
1886
+ },
1889
1887
  ],
1890
1888
  },
1891
1889
  };
@@ -1957,7 +1955,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1957
1955
  return null;
1958
1956
  }
1959
1957
 
1960
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1958
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1961
1959
  /*
1962
1960
  * Copyright (c) Microsoft Corporation. All rights reserved.
1963
1961
  * Licensed under the MIT License.
@@ -1965,7 +1963,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1965
1963
  const cacheQuotaExceeded = "cache_quota_exceeded";
1966
1964
  const cacheErrorUnknown = "cache_error_unknown";
1967
1965
 
1968
- /*! @azure/msal-common v16.0.3 2026-01-28 */
1966
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
1969
1967
 
1970
1968
  /*
1971
1969
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2003,7 +2001,7 @@ function createCacheError(e) {
2003
2001
  }
2004
2002
  }
2005
2003
 
2006
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2004
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2007
2005
 
2008
2006
  /*
2009
2007
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2041,7 +2039,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
2041
2039
  };
2042
2040
  }
2043
2041
 
2044
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2042
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2045
2043
  /*
2046
2044
  * Copyright (c) Microsoft Corporation. All rights reserved.
2047
2045
  * Licensed under the MIT License.
@@ -2056,7 +2054,7 @@ const AuthorityType = {
2056
2054
  Ciam: 3,
2057
2055
  };
2058
2056
 
2059
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2057
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2060
2058
  /*
2061
2059
  * Copyright (c) Microsoft Corporation. All rights reserved.
2062
2060
  * Licensed under the MIT License.
@@ -2078,7 +2076,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
2078
2076
  return null;
2079
2077
  }
2080
2078
 
2081
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2079
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2082
2080
  /*
2083
2081
  * Copyright (c) Microsoft Corporation. All rights reserved.
2084
2082
  * Licensed under the MIT License.
@@ -2102,7 +2100,7 @@ const ProtocolMode = {
2102
2100
  EAR: "EAR",
2103
2101
  };
2104
2102
 
2105
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2103
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2106
2104
  /**
2107
2105
  * Returns the AccountInfo interface for this account.
2108
2106
  */
@@ -2277,7 +2275,7 @@ function isAccountEntity(entity) {
2277
2275
  entity.hasOwnProperty("authorityType"));
2278
2276
  }
2279
2277
 
2280
- /*! @azure/msal-common v16.0.3 2026-01-28 */
2278
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
2281
2279
 
2282
2280
  /*
2283
2281
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3373,7 +3371,7 @@ class DefaultStorageClass extends CacheManager {
3373
3371
  }
3374
3372
  }
3375
3373
 
3376
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3374
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3377
3375
  /*
3378
3376
  * Copyright (c) Microsoft Corporation. All rights reserved.
3379
3377
  * Licensed under the MIT License.
@@ -3387,7 +3385,7 @@ class DefaultStorageClass extends CacheManager {
3387
3385
  const PerformanceEventStatus = {
3388
3386
  InProgress: 1};
3389
3387
 
3390
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3388
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3391
3389
 
3392
3390
  /*
3393
3391
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3442,7 +3440,7 @@ class StubPerformanceClient {
3442
3440
  }
3443
3441
  }
3444
3442
 
3445
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3443
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3446
3444
 
3447
3445
  /*
3448
3446
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3536,7 +3534,7 @@ function isOidcProtocolMode(config) {
3536
3534
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3537
3535
  }
3538
3536
 
3539
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3537
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3540
3538
 
3541
3539
  /*
3542
3540
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3555,23 +3553,58 @@ class ServerError extends AuthError {
3555
3553
  }
3556
3554
  }
3557
3555
 
3558
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3556
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3559
3557
  /*
3560
3558
  * Copyright (c) Microsoft Corporation. All rights reserved.
3561
3559
  * Licensed under the MIT License.
3562
3560
  */
3563
- // Codes defined by MSAL
3561
+ /**
3562
+ * MSAL-defined interaction required error code indicating no tokens are found in cache.
3563
+ * @public
3564
+ */
3564
3565
  const noTokensFound = "no_tokens_found";
3566
+ /**
3567
+ * MSAL-defined error code indicating a native account is unavailable on the platform.
3568
+ * @public
3569
+ */
3565
3570
  const nativeAccountUnavailable = "native_account_unavailable";
3571
+ /**
3572
+ * MSAL-defined error code indicating the refresh token has expired and user interaction is needed.
3573
+ * @public
3574
+ */
3566
3575
  const refreshTokenExpired = "refresh_token_expired";
3576
+ /**
3577
+ * MSAL-defined error code indicating UI/UX is not allowed (e.g., blocked by policy), requiring alternate interaction.
3578
+ * @public
3579
+ */
3567
3580
  const uxNotAllowed = "ux_not_allowed";
3568
- // Codes potentially returned by server
3581
+ /**
3582
+ * Server-originated error code indicating interaction is required to complete the request.
3583
+ * @public
3584
+ */
3569
3585
  const interactionRequired = "interaction_required";
3586
+ /**
3587
+ * Server-originated error code indicating user consent is required.
3588
+ * @public
3589
+ */
3570
3590
  const consentRequired = "consent_required";
3591
+ /**
3592
+ * Server-originated error code indicating user login is required.
3593
+ * @public
3594
+ */
3571
3595
  const loginRequired = "login_required";
3572
- const badToken = "bad_token";
3596
+ /**
3597
+ * Server-originated error code indicating the token is invalid or corrupted.
3598
+ * @public
3599
+ */
3600
+ const badToken = "bad_token";
3601
+ /**
3602
+ * Server-originated error code indicating the user is in an interrupted state and interaction is required.
3603
+ * @public
3604
+ */
3605
+ const interruptedUser = "interrupted_user";
3573
3606
 
3574
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3607
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3575
3608
 
3576
3609
  /*
3577
3610
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3586,6 +3619,7 @@ const InteractionRequiredServerErrorMessage = [
3586
3619
  loginRequired,
3587
3620
  badToken,
3588
3621
  uxNotAllowed,
3622
+ interruptedUser,
3589
3623
  ];
3590
3624
  const InteractionRequiredAuthSubErrorMessage = [
3591
3625
  "message_only",
@@ -3595,6 +3629,7 @@ const InteractionRequiredAuthSubErrorMessage = [
3595
3629
  "consent_required",
3596
3630
  "bad_token",
3597
3631
  "ux_not_allowed",
3632
+ "interrupted_user",
3598
3633
  ];
3599
3634
  /**
3600
3635
  * Error thrown when user interaction is required.
@@ -3637,7 +3672,7 @@ function createInteractionRequiredAuthError(errorCode, errorMessage) {
3637
3672
  return new InteractionRequiredAuthError(errorCode, errorMessage);
3638
3673
  }
3639
3674
 
3640
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3675
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3641
3676
 
3642
3677
  /*
3643
3678
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3705,7 +3740,7 @@ function parseRequestState(base64Decode, state) {
3705
3740
  }
3706
3741
  }
3707
3742
 
3708
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3743
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3709
3744
  /*
3710
3745
  * Copyright (c) Microsoft Corporation. All rights reserved.
3711
3746
  * Licensed under the MIT License.
@@ -3770,7 +3805,7 @@ function wasClockTurnedBack(cachedAt) {
3770
3805
  return cachedAtSec > nowSeconds();
3771
3806
  }
3772
3807
 
3773
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3808
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3774
3809
  /*
3775
3810
  * Copyright (c) Microsoft Corporation. All rights reserved.
3776
3811
  * Licensed under the MIT License.
@@ -3841,7 +3876,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
3841
3876
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
3842
3877
  const SetUserData = "setUserData";
3843
3878
 
3844
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3879
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3845
3880
  /*
3846
3881
  * Copyright (c) Microsoft Corporation. All rights reserved.
3847
3882
  * Licensed under the MIT License.
@@ -3936,7 +3971,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
3936
3971
  };
3937
3972
  };
3938
3973
 
3939
- /*! @azure/msal-common v16.0.3 2026-01-28 */
3974
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
3940
3975
 
3941
3976
  /*
3942
3977
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4016,7 +4051,7 @@ class PopTokenGenerator {
4016
4051
  }
4017
4052
  }
4018
4053
 
4019
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4054
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4020
4055
  /*
4021
4056
  * Copyright (c) Microsoft Corporation. All rights reserved.
4022
4057
  * Licensed under the MIT License.
@@ -4043,7 +4078,7 @@ class PopTokenGenerator {
4043
4078
  }
4044
4079
  }
4045
4080
 
4046
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4081
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4047
4082
 
4048
4083
  /*
4049
4084
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4302,7 +4337,7 @@ function isAuthorityMetadataExpired(metadata) {
4302
4337
  return metadata.expiresAt <= nowSeconds();
4303
4338
  }
4304
4339
 
4305
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4340
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4306
4341
 
4307
4342
  /*
4308
4343
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4638,7 +4673,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
4638
4673
  return baseAccount;
4639
4674
  }
4640
4675
 
4641
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4676
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4642
4677
  /*
4643
4678
  * Copyright (c) Microsoft Corporation. All rights reserved.
4644
4679
  * Licensed under the MIT License.
@@ -4648,7 +4683,7 @@ const CcsCredentialType = {
4648
4683
  UPN: "UPN",
4649
4684
  };
4650
4685
 
4651
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4686
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4652
4687
  /*
4653
4688
  * Copyright (c) Microsoft Corporation. All rights reserved.
4654
4689
  * Licensed under the MIT License.
@@ -4666,7 +4701,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
4666
4701
  }
4667
4702
  }
4668
4703
 
4669
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4704
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4670
4705
  /*
4671
4706
  * Copyright (c) Microsoft Corporation. All rights reserved.
4672
4707
  * Licensed under the MIT License.
@@ -4687,7 +4722,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
4687
4722
  };
4688
4723
  }
4689
4724
 
4690
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4725
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4691
4726
 
4692
4727
  /*
4693
4728
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4773,7 +4808,7 @@ class ThrottlingUtils {
4773
4808
  }
4774
4809
  }
4775
4810
 
4776
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4811
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4777
4812
 
4778
4813
  /*
4779
4814
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4804,7 +4839,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
4804
4839
  return new NetworkError(error, httpStatus, responseHeaders);
4805
4840
  }
4806
4841
 
4807
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4842
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4808
4843
 
4809
4844
  /*
4810
4845
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4918,7 +4953,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
4918
4953
  return response;
4919
4954
  }
4920
4955
 
4921
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4956
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4922
4957
  /*
4923
4958
  * Copyright (c) Microsoft Corporation. All rights reserved.
4924
4959
  * Licensed under the MIT License.
@@ -4930,7 +4965,7 @@ function isOpenIdConfigResponse(response) {
4930
4965
  response.hasOwnProperty("jwks_uri"));
4931
4966
  }
4932
4967
 
4933
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4968
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4934
4969
  /*
4935
4970
  * Copyright (c) Microsoft Corporation. All rights reserved.
4936
4971
  * Licensed under the MIT License.
@@ -4940,7 +4975,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4940
4975
  response.hasOwnProperty("metadata"));
4941
4976
  }
4942
4977
 
4943
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4978
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4944
4979
  /*
4945
4980
  * Copyright (c) Microsoft Corporation. All rights reserved.
4946
4981
  * Licensed under the MIT License.
@@ -4950,7 +4985,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4950
4985
  response.hasOwnProperty("error_description"));
4951
4986
  }
4952
4987
 
4953
- /*! @azure/msal-common v16.0.3 2026-01-28 */
4988
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
4954
4989
 
4955
4990
  /*
4956
4991
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5055,7 +5090,7 @@ RegionDiscovery.IMDS_OPTIONS = {
5055
5090
  },
5056
5091
  };
5057
5092
 
5058
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5093
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
5059
5094
 
5060
5095
  /*
5061
5096
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5875,7 +5910,7 @@ function buildStaticAuthorityOptions(authOptions) {
5875
5910
  };
5876
5911
  }
5877
5912
 
5878
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5913
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
5879
5914
 
5880
5915
  /*
5881
5916
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5909,7 +5944,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5909
5944
  }
5910
5945
  }
5911
5946
 
5912
- /*! @azure/msal-common v16.0.3 2026-01-28 */
5947
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
5913
5948
 
5914
5949
  /*
5915
5950
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6169,7 +6204,7 @@ class AuthorizationCodeClient {
6169
6204
  }
6170
6205
  }
6171
6206
 
6172
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6207
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6173
6208
 
6174
6209
  /*
6175
6210
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6394,7 +6429,7 @@ class RefreshTokenClient {
6394
6429
  }
6395
6430
  }
6396
6431
 
6397
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6432
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6398
6433
 
6399
6434
  /*
6400
6435
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6503,7 +6538,7 @@ class SilentFlowClient {
6503
6538
  }
6504
6539
  }
6505
6540
 
6506
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6541
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6507
6542
 
6508
6543
  /*
6509
6544
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6518,7 +6553,7 @@ const StubbedNetworkModule = {
6518
6553
  },
6519
6554
  };
6520
6555
 
6521
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6556
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6522
6557
 
6523
6558
  /*
6524
6559
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6742,7 +6777,7 @@ function extractLoginHint(account) {
6742
6777
  return account.loginHint || account.idTokenClaims?.login_hint || null;
6743
6778
  }
6744
6779
 
6745
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6780
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6746
6781
  /*
6747
6782
  * Copyright (c) Microsoft Corporation. All rights reserved.
6748
6783
  * Licensed under the MIT License.
@@ -6752,7 +6787,7 @@ function extractLoginHint(account) {
6752
6787
  */
6753
6788
  const unexpectedError = "unexpected_error";
6754
6789
 
6755
- /*! @azure/msal-common v16.0.3 2026-01-28 */
6790
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
6756
6791
 
6757
6792
  /*
6758
6793
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7013,7 +7048,7 @@ class ServerTelemetryManager {
7013
7048
  }
7014
7049
  }
7015
7050
 
7016
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7051
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
7017
7052
 
7018
7053
  /*
7019
7054
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7034,7 +7069,7 @@ function createJoseHeaderError(code) {
7034
7069
  return new JoseHeaderError(code);
7035
7070
  }
7036
7071
 
7037
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7072
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
7038
7073
  /*
7039
7074
  * Copyright (c) Microsoft Corporation. All rights reserved.
7040
7075
  * Licensed under the MIT License.
@@ -7042,7 +7077,7 @@ function createJoseHeaderError(code) {
7042
7077
  const missingKidError = "missing_kid_error";
7043
7078
  const missingAlgError = "missing_alg_error";
7044
7079
 
7045
- /*! @azure/msal-common v16.0.3 2026-01-28 */
7080
+ /*! @azure/msal-common v16.1.0 2026-02-24 */
7046
7081
 
7047
7082
  /*
7048
7083
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7477,7 +7512,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
7477
7512
 
7478
7513
  /* eslint-disable header/header */
7479
7514
  const name = "@azure/msal-browser";
7480
- const version = "5.1.0";
7515
+ const version = "5.3.0";
7481
7516
 
7482
7517
  /*
7483
7518
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -15559,7 +15594,7 @@ class BrowserCacheManager extends CacheManager {
15559
15594
  this.logger.verbose("1bp5z5", correlationId);
15560
15595
  this.browserStorage.removeItem(activeAccountKey);
15561
15596
  }
15562
- this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED);
15597
+ this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED, correlationId);
15563
15598
  }
15564
15599
  /**
15565
15600
  * fetch throttling entity from the platform cache
@@ -16022,12 +16057,13 @@ class EventHandler {
16022
16057
  * @param payload
16023
16058
  * @param error
16024
16059
  */
16025
- emitEvent(eventType, interactionType, payload, error) {
16060
+ emitEvent(eventType, correlationId, interactionType, payload, error) {
16026
16061
  const message = {
16027
16062
  eventType: eventType,
16028
16063
  interactionType: interactionType || null,
16029
16064
  payload: payload || null,
16030
16065
  error: error || null,
16066
+ correlationId: correlationId,
16031
16067
  timestamp: Date.now(),
16032
16068
  };
16033
16069
  switch (eventType) {
@@ -17045,6 +17081,8 @@ async function getEARForm(frame, config, authority, request, logger, performance
17045
17081
  });
17046
17082
  const queryParams = new Map();
17047
17083
  addExtraParameters(queryParams, request.extraQueryParameters || {});
17084
+ // Add correlationId to query params so gateway can propagate it to IDPs
17085
+ addCorrelationId(queryParams, request.correlationId);
17048
17086
  const url = getAuthorizeUrl(authority, queryParams);
17049
17087
  return createForm(frame, url, parameters);
17050
17088
  }
@@ -17062,6 +17100,8 @@ async function getCodeForm(frame, config, authority, request, logger, performanc
17062
17100
  // Add extraQueryParameters to be appended to request URL
17063
17101
  const queryParams = new Map();
17064
17102
  addExtraParameters(queryParams, request.extraQueryParameters || {});
17103
+ // Add correlationId to query params so gateway can propagate it to IDPs
17104
+ addCorrelationId(queryParams, request.correlationId);
17065
17105
  const url = getAuthorizeUrl(authority, queryParams);
17066
17106
  return createForm(frame, url, parameters);
17067
17107
  }
@@ -18131,7 +18171,7 @@ class PopupClient extends StandardInteractionClient {
18131
18171
  const navigateUrl = await invokeAsync(getAuthCodeRequestUrl, GetAuthCodeUrl, this.logger, this.performanceClient, correlationId)(this.config, authClient.authority, popupRequest, this.logger, this.performanceClient);
18132
18172
  // Show the UI once the url has been created. Get the window handle for the popup.
18133
18173
  const popupWindow = this.initiateAuthRequest(navigateUrl, popupParams);
18134
- this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
18174
+ this.eventHandler.emitEvent(EventType.POPUP_OPENED, correlationId, InteractionType.Popup, { popupWindow }, null);
18135
18175
  // Wait for the redirect bridge response
18136
18176
  const responseString = await waitForBridgeResponse(this.config.system.popupBridgeTimeout, this.logger, this.browserCrypto, request);
18137
18177
  const serverParams = invoke(deserializeResponse, DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.responseMode, this.logger, this.correlationId);
@@ -18208,7 +18248,7 @@ class PopupClient extends StandardInteractionClient {
18208
18248
  */
18209
18249
  async logoutPopupAsync(validRequest, popupParams, requestAuthority, mainWindowRedirectUri) {
18210
18250
  this.logger.verbose("0b7yrk", this.correlationId);
18211
- this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Popup, validRequest);
18251
+ this.eventHandler.emitEvent(EventType.LOGOUT_START, this.correlationId, InteractionType.Popup, validRequest);
18212
18252
  const serverTelemetryManager = initializeServerTelemetryManager(ApiId.logoutPopup, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
18213
18253
  try {
18214
18254
  // Clear cache on logout
@@ -18226,7 +18266,7 @@ class PopupClient extends StandardInteractionClient {
18226
18266
  if (validRequest.account?.homeAccountId &&
18227
18267
  validRequest.postLogoutRedirectUri &&
18228
18268
  authClient.authority.protocolMode === ProtocolMode.OIDC) {
18229
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Popup, validRequest);
18269
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, validRequest.correlationId, InteractionType.Popup, validRequest);
18230
18270
  if (mainWindowRedirectUri) {
18231
18271
  const navigationOptions = {
18232
18272
  apiId: ApiId.logoutPopup,
@@ -18242,10 +18282,10 @@ class PopupClient extends StandardInteractionClient {
18242
18282
  }
18243
18283
  // Create logout string and navigate user window to logout.
18244
18284
  const logoutUri = authClient.getLogoutUri(validRequest);
18245
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Popup, validRequest);
18285
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, validRequest.correlationId, InteractionType.Popup, validRequest);
18246
18286
  // Open the popup window to requestUrl.
18247
18287
  const popupWindow = this.openPopup(logoutUri, popupParams);
18248
- this.eventHandler.emitEvent(EventType.POPUP_OPENED, InteractionType.Popup, { popupWindow }, null);
18288
+ this.eventHandler.emitEvent(EventType.POPUP_OPENED, validRequest.correlationId, InteractionType.Popup, { popupWindow }, null);
18249
18289
  await waitForBridgeResponse(this.config.system.popupBridgeTimeout, this.logger, this.browserCrypto, validRequest).catch(() => {
18250
18290
  // Swallow any errors related to monitoring the window. Server logout is best effort
18251
18291
  });
@@ -18271,11 +18311,11 @@ class PopupClient extends StandardInteractionClient {
18271
18311
  e.setCorrelationId(this.correlationId);
18272
18312
  serverTelemetryManager.cacheFailedRequest(e);
18273
18313
  }
18274
- this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, InteractionType.Popup, null, e);
18275
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Popup);
18314
+ this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, this.correlationId, InteractionType.Popup, null, e);
18315
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Popup);
18276
18316
  throw e;
18277
18317
  }
18278
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Popup);
18318
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Popup);
18279
18319
  }
18280
18320
  /**
18281
18321
  * Opens a popup window with given request Url.
@@ -18438,7 +18478,7 @@ class RedirectClient extends StandardInteractionClient {
18438
18478
  if (event.persisted) {
18439
18479
  this.logger.verbose("0udvtt", this.correlationId);
18440
18480
  this.browserStorage.resetRequestCache(this.correlationId);
18441
- this.eventHandler.emitEvent(EventType.RESTORE_FROM_BFCACHE, InteractionType.Redirect);
18481
+ this.eventHandler.emitEvent(EventType.RESTORE_FROM_BFCACHE, this.correlationId, InteractionType.Redirect);
18442
18482
  }
18443
18483
  };
18444
18484
  const redirectStartPage = this.getRedirectStartPage(request.redirectStartPage);
@@ -18755,7 +18795,7 @@ class RedirectClient extends StandardInteractionClient {
18755
18795
  const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
18756
18796
  const serverTelemetryManager = initializeServerTelemetryManager(ApiId.logout, this.config.auth.clientId, this.correlationId, this.browserStorage, this.logger);
18757
18797
  try {
18758
- this.eventHandler.emitEvent(EventType.LOGOUT_START, InteractionType.Redirect, logoutRequest);
18798
+ this.eventHandler.emitEvent(EventType.LOGOUT_START, this.correlationId, InteractionType.Redirect, logoutRequest);
18759
18799
  // Clear cache on logout
18760
18800
  await clearCacheOnLogout(this.browserStorage, this.browserCrypto, this.logger, this.correlationId, validLogoutRequest.account);
18761
18801
  const navigationOptions = {
@@ -18775,7 +18815,7 @@ class RedirectClient extends StandardInteractionClient {
18775
18815
  }
18776
18816
  catch {
18777
18817
  if (validLogoutRequest.account?.homeAccountId) {
18778
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Redirect, validLogoutRequest);
18818
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, this.correlationId, InteractionType.Redirect, validLogoutRequest);
18779
18819
  return;
18780
18820
  }
18781
18821
  }
@@ -18783,7 +18823,7 @@ class RedirectClient extends StandardInteractionClient {
18783
18823
  // Create logout string and navigate user window to logout.
18784
18824
  const logoutUri = authClient.getLogoutUri(validLogoutRequest);
18785
18825
  if (validLogoutRequest.account?.homeAccountId) {
18786
- this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, InteractionType.Redirect, validLogoutRequest);
18826
+ this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, this.correlationId, InteractionType.Redirect, validLogoutRequest);
18787
18827
  }
18788
18828
  // Check if onRedirectNavigate is implemented, and invoke it if so
18789
18829
  const onRedirectNavigate = this.config.auth.onRedirectNavigate;
@@ -18818,11 +18858,11 @@ class RedirectClient extends StandardInteractionClient {
18818
18858
  e.setCorrelationId(this.correlationId);
18819
18859
  serverTelemetryManager.cacheFailedRequest(e);
18820
18860
  }
18821
- this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, InteractionType.Redirect, null, e);
18822
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);
18861
+ this.eventHandler.emitEvent(EventType.LOGOUT_FAILURE, this.correlationId, InteractionType.Redirect, null, e);
18862
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Redirect);
18823
18863
  throw e;
18824
18864
  }
18825
- this.eventHandler.emitEvent(EventType.LOGOUT_END, InteractionType.Redirect);
18865
+ this.eventHandler.emitEvent(EventType.LOGOUT_END, this.correlationId, InteractionType.Redirect);
18826
18866
  }
18827
18867
  /**
18828
18868
  * Use to get the redirectStartPage either from request or use current window
@@ -19313,23 +19353,22 @@ class StandardController {
19313
19353
  if (!this.isBrowserEnvironment) {
19314
19354
  this.logger.info("19fvpi", correlationId);
19315
19355
  this.initialized = true;
19316
- this.eventHandler.emitEvent(EventType.INITIALIZE_END);
19356
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END, correlationId);
19317
19357
  return;
19318
19358
  }
19319
- const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
19320
19359
  const allowPlatformBroker = this.config.system.allowPlatformBroker;
19321
- const initMeasurement = this.performanceClient.startMeasurement(InitializeClientApplication, initCorrelationId);
19322
- this.eventHandler.emitEvent(EventType.INITIALIZE_START);
19360
+ const initMeasurement = this.performanceClient.startMeasurement(InitializeClientApplication, correlationId);
19361
+ this.eventHandler.emitEvent(EventType.INITIALIZE_START, correlationId);
19323
19362
  // 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);
19363
+ this.logMultipleInstances(initMeasurement, correlationId);
19364
+ await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), InitializeCache, this.logger, this.performanceClient, correlationId)(correlationId);
19326
19365
  if (allowPlatformBroker) {
19327
19366
  try {
19328
19367
  // 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);
19368
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, correlationId, this.config.system.nativeBrokerHandshakeTimeout);
19330
19369
  }
19331
19370
  catch (e) {
19332
- this.logger.verbose(e, initCorrelationId);
19371
+ this.logger.verbose(e, correlationId);
19333
19372
  }
19334
19373
  }
19335
19374
  if (this.config.cache.cacheLocation ===
@@ -19337,9 +19376,9 @@ class StandardController {
19337
19376
  this.eventHandler.subscribeCrossTab();
19338
19377
  }
19339
19378
  !this.config.system.navigatePopups &&
19340
- (await this.preGeneratePkceCodes(initCorrelationId));
19379
+ (await this.preGeneratePkceCodes(correlationId));
19341
19380
  this.initialized = true;
19342
- this.eventHandler.emitEvent(EventType.INITIALIZE_END);
19381
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END, correlationId);
19343
19382
  initMeasurement.end({
19344
19383
  allowPlatformBroker: allowPlatformBroker,
19345
19384
  success: true,
@@ -19401,11 +19440,11 @@ class StandardController {
19401
19440
  this.platformAuthProvider &&
19402
19441
  !options?.hash;
19403
19442
  let rootMeasurement;
19404
- this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, InteractionType.Redirect);
19405
19443
  let redirectResponse;
19406
19444
  try {
19407
19445
  if (useNative && this.platformAuthProvider) {
19408
19446
  const correlationId = platformBrokerRequest?.correlationId || "";
19447
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, correlationId, InteractionType.Redirect);
19409
19448
  rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
19410
19449
  this.logger.trace("12v7is", correlationId);
19411
19450
  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 +19453,7 @@ class StandardController {
19414
19453
  else {
19415
19454
  const [standardRequest, codeVerifier] = this.browserStorage.getCachedRequest("");
19416
19455
  const correlationId = standardRequest.correlationId;
19456
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, correlationId, InteractionType.Redirect);
19417
19457
  // Reset rootMeasurement now that we have correlationId
19418
19458
  rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
19419
19459
  this.logger.trace("0znzs5", correlationId);
@@ -19429,12 +19469,12 @@ class StandardController {
19429
19469
  .then((result) => {
19430
19470
  if (result) {
19431
19471
  this.browserStorage.resetRequestCache(result.correlationId);
19432
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Redirect, result);
19472
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, result.correlationId, InteractionType.Redirect, result);
19433
19473
  this.logger.verbose("0ui8f5", result.correlationId);
19434
19474
  // Emit login event if number of accounts change
19435
19475
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19436
19476
  if (isLoggingIn) {
19437
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Redirect, result.account);
19477
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, result.correlationId, InteractionType.Redirect, result.account);
19438
19478
  this.logger.verbose("16im3l", result.correlationId);
19439
19479
  }
19440
19480
  rootMeasurement.end({
@@ -19453,14 +19493,14 @@ class StandardController {
19453
19493
  rootMeasurement.discard();
19454
19494
  }
19455
19495
  }
19456
- this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
19496
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, rootMeasurement.event.correlationId, InteractionType.Redirect);
19457
19497
  return result;
19458
19498
  })
19459
19499
  .catch((e) => {
19460
19500
  this.browserStorage.resetRequestCache(rootMeasurement.event.correlationId);
19461
19501
  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);
19502
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, rootMeasurement.event.correlationId, InteractionType.Redirect, null, eventError);
19503
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, rootMeasurement.event.correlationId, InteractionType.Redirect);
19464
19504
  rootMeasurement.end({
19465
19505
  success: false,
19466
19506
  }, eventError);
@@ -19499,7 +19539,7 @@ class StandardController {
19499
19539
  try {
19500
19540
  redirectPreflightCheck(this.initialized, this.config);
19501
19541
  this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
19502
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Redirect, request);
19542
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Redirect, request);
19503
19543
  let result;
19504
19544
  if (this.platformAuthProvider &&
19505
19545
  this.canUsePlatformBroker(request)) {
@@ -19541,7 +19581,7 @@ class StandardController {
19541
19581
  else {
19542
19582
  atrMeasurement.end({ success: false }, e, request.account);
19543
19583
  }
19544
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, e);
19584
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Redirect, null, e);
19545
19585
  throw e;
19546
19586
  }
19547
19587
  }
@@ -19571,7 +19611,7 @@ class StandardController {
19571
19611
  }
19572
19612
  // If logged in, emit acquire token events
19573
19613
  const loggedInAccounts = this.getAllAccounts();
19574
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Popup, request);
19614
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Popup, request);
19575
19615
  let result;
19576
19616
  const pkce = this.getPreGeneratedPkceCodes(correlationId);
19577
19617
  if (this.canUsePlatformBroker(request)) {
@@ -19611,9 +19651,9 @@ class StandardController {
19611
19651
  * If logged in, emit acquire token events
19612
19652
  */
19613
19653
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19614
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Popup, result);
19654
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Popup, result);
19615
19655
  if (isLoggingIn) {
19616
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Popup, result.account);
19656
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, correlationId, InteractionType.Popup, result.account);
19617
19657
  }
19618
19658
  atPopupMeasurement.end({
19619
19659
  success: true,
@@ -19623,7 +19663,7 @@ class StandardController {
19623
19663
  return result;
19624
19664
  })
19625
19665
  .catch((e) => {
19626
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Popup, null, e);
19666
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Popup, null, e);
19627
19667
  atPopupMeasurement.end({
19628
19668
  success: false,
19629
19669
  }, e, request.account);
@@ -19683,7 +19723,7 @@ class StandardController {
19683
19723
  document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
19684
19724
  const loggedInAccounts = this.getAllAccounts();
19685
19725
  this.logger.verbose("0w1b45", correlationId);
19686
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, validRequest);
19726
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Silent, validRequest);
19687
19727
  let result;
19688
19728
  if (this.canUsePlatformBroker(validRequest)) {
19689
19729
  result = this.acquireTokenNative(validRequest, ApiId.ssoSilent).catch((e) => {
@@ -19703,9 +19743,9 @@ class StandardController {
19703
19743
  return result
19704
19744
  .then((response) => {
19705
19745
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
19706
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
19746
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Silent, response);
19707
19747
  if (isLoggingIn) {
19708
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Silent, response.account);
19748
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, correlationId, InteractionType.Silent, response.account);
19709
19749
  }
19710
19750
  this.ssoSilentMeasurement?.end({
19711
19751
  success: true,
@@ -19716,7 +19756,7 @@ class StandardController {
19716
19756
  return response;
19717
19757
  })
19718
19758
  .catch((e) => {
19719
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
19759
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, e);
19720
19760
  this.ssoSilentMeasurement?.end({
19721
19761
  success: false,
19722
19762
  }, e, request.account);
@@ -19741,7 +19781,7 @@ class StandardController {
19741
19781
  this.logger.trace("0ch6ga", correlationId);
19742
19782
  const atbcMeasurement = this.performanceClient.startMeasurement(AcquireTokenByCode, correlationId);
19743
19783
  preflightCheck(this.initialized, atbcMeasurement);
19744
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
19784
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, correlationId, InteractionType.Silent, request);
19745
19785
  atbcMeasurement.add({ scenarioId: request.scenarioId });
19746
19786
  try {
19747
19787
  if (request.code && request.nativeAccountId) {
@@ -19758,7 +19798,7 @@ class StandardController {
19758
19798
  correlationId,
19759
19799
  })
19760
19800
  .then((result) => {
19761
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, result);
19801
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, correlationId, InteractionType.Silent, result);
19762
19802
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
19763
19803
  atbcMeasurement.end({
19764
19804
  success: true,
@@ -19770,7 +19810,7 @@ class StandardController {
19770
19810
  })
19771
19811
  .catch((error) => {
19772
19812
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
19773
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, error);
19813
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, error);
19774
19814
  atbcMeasurement.end({
19775
19815
  success: false,
19776
19816
  }, error);
@@ -19811,7 +19851,7 @@ class StandardController {
19811
19851
  }
19812
19852
  }
19813
19853
  catch (e) {
19814
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
19854
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, correlationId, InteractionType.Silent, null, e);
19815
19855
  atbcMeasurement.end({
19816
19856
  success: false,
19817
19857
  }, e);
@@ -20313,7 +20353,7 @@ class StandardController {
20313
20353
  */
20314
20354
  async acquireTokenSilentAsync(request, account) {
20315
20355
  const trackPageVisibility = () => this.trackPageVisibility(request.correlationId);
20316
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
20356
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, request.correlationId, InteractionType.Silent, request);
20317
20357
  if (request.correlationId) {
20318
20358
  this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, request.correlationId);
20319
20359
  }
@@ -20323,6 +20363,10 @@ class StandardController {
20323
20363
  const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
20324
20364
  const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
20325
20365
  if (shouldTryToResolveSilently) {
20366
+ const silentRefreshReason = `${refreshTokenError.errorCode}${refreshTokenError.subError
20367
+ ? `|${refreshTokenError.subError}`
20368
+ : ""}`;
20369
+ this.performanceClient.addFields({ silentRefreshReason }, request.correlationId);
20326
20370
  if (!this.activeIframeRequest) {
20327
20371
  let _resolve;
20328
20372
  // Always set the active request tracker immediately after checking it to prevent races
@@ -20381,7 +20425,7 @@ class StandardController {
20381
20425
  });
20382
20426
  return result
20383
20427
  .then((response) => {
20384
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
20428
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, request.correlationId, InteractionType.Silent, response);
20385
20429
  if (request.correlationId) {
20386
20430
  this.performanceClient.addFields({
20387
20431
  fromCache: response.fromCache,
@@ -20391,7 +20435,7 @@ class StandardController {
20391
20435
  return response;
20392
20436
  })
20393
20437
  .catch((tokenRenewalError) => {
20394
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, tokenRenewalError);
20438
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, request.correlationId, InteractionType.Silent, null, tokenRenewalError);
20395
20439
  throw tokenRenewalError;
20396
20440
  })
20397
20441
  .finally(() => {
@@ -20430,7 +20474,7 @@ class StandardController {
20430
20474
  if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
20431
20475
  throw cacheError;
20432
20476
  }
20433
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest);
20477
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, silentRequest.correlationId, InteractionType.Silent, silentRequest);
20434
20478
  return invokeAsync(this.acquireTokenByRefreshToken.bind(this), AcquireTokenByRefreshToken, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy);
20435
20479
  });
20436
20480
  }