@azure/msal-browser 4.28.0 → 4.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +3 -3
  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.d.ts.map +1 -1
  21. package/dist/cache/TokenCache.mjs +18 -13
  22. package/dist/cache/TokenCache.mjs.map +1 -1
  23. package/dist/config/Configuration.mjs +1 -1
  24. package/dist/controllers/ControllerFactory.mjs +1 -1
  25. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  26. package/dist/controllers/StandardController.mjs +1 -1
  27. package/dist/controllers/UnknownOperatingContextController.mjs +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.mjs +3 -3
  40. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  41. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  42. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  43. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  44. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  46. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  47. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  50. package/dist/custom-auth-path/cache/TokenCache.mjs +18 -13
  51. package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -1
  52. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  53. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  54. package/dist/custom-auth-path/controllers/StandardController.mjs +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.mjs +1 -1
  174. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  175. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  176. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  177. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  178. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  179. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  180. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  181. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  183. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  184. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  185. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  186. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  187. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  188. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  189. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  190. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  191. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  192. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  193. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  194. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  195. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  196. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  197. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  198. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  199. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  200. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  201. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  202. package/dist/encode/Base64Decode.mjs +1 -1
  203. package/dist/encode/Base64Encode.mjs +1 -1
  204. package/dist/error/BrowserAuthError.mjs +1 -1
  205. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  206. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  207. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  208. package/dist/error/NativeAuthError.mjs +1 -1
  209. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  210. package/dist/error/NestedAppAuthError.mjs +1 -1
  211. package/dist/event/EventHandler.mjs +1 -1
  212. package/dist/event/EventMessage.mjs +1 -1
  213. package/dist/event/EventType.mjs +1 -1
  214. package/dist/index.mjs +1 -1
  215. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  216. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  217. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  218. package/dist/interaction_client/PopupClient.mjs +1 -1
  219. package/dist/interaction_client/RedirectClient.mjs +1 -1
  220. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  221. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  222. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  223. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  224. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  225. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  226. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  227. package/dist/naa/BridgeError.mjs +1 -1
  228. package/dist/naa/BridgeProxy.mjs +1 -1
  229. package/dist/naa/BridgeStatusCode.mjs +1 -1
  230. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  231. package/dist/navigation/NavigationClient.mjs +1 -1
  232. package/dist/network/FetchClient.mjs +1 -1
  233. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  234. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  235. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  236. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  237. package/dist/packageMetadata.d.ts +1 -1
  238. package/dist/packageMetadata.mjs +2 -2
  239. package/dist/protocol/Authorize.mjs +1 -1
  240. package/dist/request/RequestHelpers.mjs +1 -1
  241. package/dist/response/ResponseHandler.mjs +1 -1
  242. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  243. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  244. package/dist/utils/BrowserConstants.mjs +1 -1
  245. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  246. package/dist/utils/BrowserUtils.mjs +1 -1
  247. package/dist/utils/Helpers.mjs +1 -1
  248. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  249. package/lib/custom-auth-path/msal-custom-auth.cjs +107 -83
  250. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  251. package/lib/custom-auth-path/msal-custom-auth.js +107 -83
  252. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  253. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  254. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  255. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  256. package/lib/msal-browser.cjs +109 -85
  257. package/lib/msal-browser.cjs.map +1 -1
  258. package/lib/msal-browser.js +109 -85
  259. package/lib/msal-browser.js.map +1 -1
  260. package/lib/msal-browser.min.js +60 -60
  261. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  262. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  263. package/lib/types/packageMetadata.d.ts +1 -1
  264. package/package.json +2 -2
  265. package/src/cache/BrowserCacheManager.ts +3 -3
  266. package/src/cache/TokenCache.ts +37 -25
  267. package/src/packageMetadata.ts +1 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.28.0 2026-01-13 */
1
+ /*! @azure/msal-browser v4.28.1 2026-01-17 */
2
2
  'use strict';
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v15.14.0 2026-01-13 */
9
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -283,7 +283,7 @@
283
283
  // Token renewal offset default in seconds
284
284
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
285
285
 
286
- /*! @azure/msal-common v15.14.0 2026-01-13 */
286
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
287
287
  /*
288
288
  * Copyright (c) Microsoft Corporation. All rights reserved.
289
289
  * Licensed under the MIT License.
@@ -300,7 +300,7 @@
300
300
  unexpectedError: unexpectedError
301
301
  });
302
302
 
303
- /*! @azure/msal-common v15.14.0 2026-01-13 */
303
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
304
304
 
305
305
  /*
306
306
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -349,7 +349,7 @@
349
349
  : AuthErrorMessages[code]);
350
350
  }
351
351
 
352
- /*! @azure/msal-common v15.14.0 2026-01-13 */
352
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
353
353
  /*
354
354
  * Copyright (c) Microsoft Corporation. All rights reserved.
355
355
  * Licensed under the MIT License.
@@ -449,7 +449,7 @@
449
449
  userTimeoutReached: userTimeoutReached
450
450
  });
451
451
 
452
- /*! @azure/msal-common v15.14.0 2026-01-13 */
452
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
453
453
 
454
454
  /*
455
455
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -706,7 +706,7 @@
706
706
  return new ClientAuthError(errorCode, additionalMessage);
707
707
  }
708
708
 
709
- /*! @azure/msal-common v15.14.0 2026-01-13 */
709
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
710
710
 
711
711
  /*
712
712
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -745,7 +745,7 @@
745
745
  },
746
746
  };
747
747
 
748
- /*! @azure/msal-common v15.14.0 2026-01-13 */
748
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
749
749
 
750
750
  /*
751
751
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -936,12 +936,12 @@
936
936
  }
937
937
  }
938
938
 
939
- /*! @azure/msal-common v15.14.0 2026-01-13 */
939
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
940
940
  /* eslint-disable header/header */
941
941
  const name$1 = "@azure/msal-common";
942
- const version$1 = "15.14.0";
942
+ const version$1 = "15.14.1";
943
943
 
944
- /*! @azure/msal-common v15.14.0 2026-01-13 */
944
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
945
945
  /*
946
946
  * Copyright (c) Microsoft Corporation. All rights reserved.
947
947
  * Licensed under the MIT License.
@@ -961,7 +961,7 @@
961
961
  AzureUsGovernment: "https://login.microsoftonline.us",
962
962
  };
963
963
 
964
- /*! @azure/msal-common v15.14.0 2026-01-13 */
964
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
965
965
  /*
966
966
  * Copyright (c) Microsoft Corporation. All rights reserved.
967
967
  * Licensed under the MIT License.
@@ -1019,7 +1019,7 @@
1019
1019
  urlParseError: urlParseError
1020
1020
  });
1021
1021
 
1022
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1022
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1023
1023
 
1024
1024
  /*
1025
1025
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1167,7 +1167,7 @@
1167
1167
  return new ClientConfigurationError(errorCode);
1168
1168
  }
1169
1169
 
1170
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1170
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1171
1171
  /*
1172
1172
  * Copyright (c) Microsoft Corporation. All rights reserved.
1173
1173
  * Licensed under the MIT License.
@@ -1264,7 +1264,7 @@
1264
1264
  }
1265
1265
  }
1266
1266
 
1267
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1267
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1268
1268
 
1269
1269
  /*
1270
1270
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1459,7 +1459,7 @@
1459
1459
  }
1460
1460
  }
1461
1461
 
1462
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1462
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1463
1463
 
1464
1464
  /*
1465
1465
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1499,7 +1499,7 @@
1499
1499
  };
1500
1500
  }
1501
1501
 
1502
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1502
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1503
1503
  /*
1504
1504
  * Copyright (c) Microsoft Corporation. All rights reserved.
1505
1505
  * Licensed under the MIT License.
@@ -1581,7 +1581,7 @@
1581
1581
  return updatedAccountInfo;
1582
1582
  }
1583
1583
 
1584
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1584
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1585
1585
  /*
1586
1586
  * Copyright (c) Microsoft Corporation. All rights reserved.
1587
1587
  * Licensed under the MIT License.
@@ -1596,7 +1596,7 @@
1596
1596
  Ciam: 3,
1597
1597
  };
1598
1598
 
1599
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1599
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1600
1600
  /*
1601
1601
  * Copyright (c) Microsoft Corporation. All rights reserved.
1602
1602
  * Licensed under the MIT License.
@@ -1618,7 +1618,7 @@
1618
1618
  return null;
1619
1619
  }
1620
1620
 
1621
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1621
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1622
1622
  /*
1623
1623
  * Copyright (c) Microsoft Corporation. All rights reserved.
1624
1624
  * Licensed under the MIT License.
@@ -1642,7 +1642,7 @@
1642
1642
  EAR: "EAR",
1643
1643
  };
1644
1644
 
1645
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1645
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1646
1646
 
1647
1647
  /*
1648
1648
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1676,6 +1676,13 @@
1676
1676
  * Returns the AccountInfo interface for this account.
1677
1677
  */
1678
1678
  static getAccountInfo(accountEntity) {
1679
+ const tenantProfiles = accountEntity.tenantProfiles || [];
1680
+ // Ensure at least the home tenant profile exists
1681
+ if (tenantProfiles.length === 0 &&
1682
+ accountEntity.realm &&
1683
+ accountEntity.localAccountId) {
1684
+ tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
1685
+ }
1679
1686
  return {
1680
1687
  homeAccountId: accountEntity.homeAccountId,
1681
1688
  environment: accountEntity.environment,
@@ -1687,7 +1694,7 @@
1687
1694
  nativeAccountId: accountEntity.nativeAccountId,
1688
1695
  authorityType: accountEntity.authorityType,
1689
1696
  // Deserialize tenant profiles array into a Map
1690
- tenantProfiles: new Map((accountEntity.tenantProfiles || []).map((tenantProfile) => {
1697
+ tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
1691
1698
  return [tenantProfile.tenantId, tenantProfile];
1692
1699
  })),
1693
1700
  dataBoundary: accountEntity.dataBoundary,
@@ -1788,7 +1795,14 @@
1788
1795
  account.cloudGraphHostName = cloudGraphHostName;
1789
1796
  account.msGraphHost = msGraphHost;
1790
1797
  // Serialize tenant profiles map into an array
1791
- account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1798
+ const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1799
+ // Ensure at least the home tenant profile exists
1800
+ if (tenantProfiles.length === 0 &&
1801
+ accountInfo.tenantId &&
1802
+ accountInfo.localAccountId) {
1803
+ tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
1804
+ }
1805
+ account.tenantProfiles = tenantProfiles;
1792
1806
  account.dataBoundary = accountInfo.dataBoundary;
1793
1807
  return account;
1794
1808
  }
@@ -1863,7 +1877,7 @@
1863
1877
  }
1864
1878
  }
1865
1879
 
1866
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1880
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1867
1881
 
1868
1882
  /*
1869
1883
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1944,7 +1958,7 @@
1944
1958
  }
1945
1959
  }
1946
1960
 
1947
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1961
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1948
1962
 
1949
1963
  /*
1950
1964
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2060,7 +2074,7 @@
2060
2074
  }
2061
2075
  }
2062
2076
 
2063
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2077
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2064
2078
 
2065
2079
  /*
2066
2080
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2224,7 +2238,7 @@
2224
2238
  }
2225
2239
  }
2226
2240
 
2227
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2241
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2228
2242
 
2229
2243
  /*
2230
2244
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2363,7 +2377,7 @@
2363
2377
  return null;
2364
2378
  }
2365
2379
 
2366
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2380
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2367
2381
  /*
2368
2382
  * Copyright (c) Microsoft Corporation. All rights reserved.
2369
2383
  * Licensed under the MIT License.
@@ -2371,7 +2385,7 @@
2371
2385
  const cacheQuotaExceeded = "cache_quota_exceeded";
2372
2386
  const cacheErrorUnknown = "cache_error_unknown";
2373
2387
 
2374
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2388
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2375
2389
 
2376
2390
  /*
2377
2391
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2416,7 +2430,7 @@
2416
2430
  }
2417
2431
  }
2418
2432
 
2419
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2433
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2420
2434
 
2421
2435
  /*
2422
2436
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3527,7 +3541,7 @@
3527
3541
  }
3528
3542
  }
3529
3543
 
3530
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3544
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3531
3545
  /*
3532
3546
  * Copyright (c) Microsoft Corporation. All rights reserved.
3533
3547
  * Licensed under the MIT License.
@@ -4054,7 +4068,7 @@
4054
4068
  "upgradedCacheCount",
4055
4069
  ]);
4056
4070
 
4057
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4071
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4058
4072
 
4059
4073
  /*
4060
4074
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4133,7 +4147,7 @@
4133
4147
  }
4134
4148
  }
4135
4149
 
4136
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4150
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4137
4151
 
4138
4152
  /*
4139
4153
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4233,7 +4247,7 @@
4233
4247
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4234
4248
  }
4235
4249
 
4236
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4250
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4237
4251
  /*
4238
4252
  * Copyright (c) Microsoft Corporation. All rights reserved.
4239
4253
  * Licensed under the MIT License.
@@ -4243,7 +4257,7 @@
4243
4257
  UPN: "UPN",
4244
4258
  };
4245
4259
 
4246
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4260
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4247
4261
  /*
4248
4262
  * Copyright (c) Microsoft Corporation. All rights reserved.
4249
4263
  * Licensed under the MIT License.
@@ -4293,7 +4307,7 @@
4293
4307
  const EAR_JWK = "ear_jwk";
4294
4308
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4295
4309
 
4296
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4310
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4297
4311
 
4298
4312
  /*
4299
4313
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4673,7 +4687,7 @@
4673
4687
  });
4674
4688
  }
4675
4689
 
4676
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4690
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4677
4691
  /*
4678
4692
  * Copyright (c) Microsoft Corporation. All rights reserved.
4679
4693
  * Licensed under the MIT License.
@@ -4685,7 +4699,7 @@
4685
4699
  response.hasOwnProperty("jwks_uri"));
4686
4700
  }
4687
4701
 
4688
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4702
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4689
4703
  /*
4690
4704
  * Copyright (c) Microsoft Corporation. All rights reserved.
4691
4705
  * Licensed under the MIT License.
@@ -4695,7 +4709,7 @@
4695
4709
  response.hasOwnProperty("metadata"));
4696
4710
  }
4697
4711
 
4698
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4712
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4699
4713
  /*
4700
4714
  * Copyright (c) Microsoft Corporation. All rights reserved.
4701
4715
  * Licensed under the MIT License.
@@ -4705,7 +4719,7 @@
4705
4719
  response.hasOwnProperty("error_description"));
4706
4720
  }
4707
4721
 
4708
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4722
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4709
4723
  /*
4710
4724
  * Copyright (c) Microsoft Corporation. All rights reserved.
4711
4725
  * Licensed under the MIT License.
@@ -4801,7 +4815,7 @@
4801
4815
  };
4802
4816
  };
4803
4817
 
4804
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4818
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4805
4819
 
4806
4820
  /*
4807
4821
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4907,7 +4921,7 @@
4907
4921
  },
4908
4922
  };
4909
4923
 
4910
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4924
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4911
4925
  /*
4912
4926
  * Copyright (c) Microsoft Corporation. All rights reserved.
4913
4927
  * Licensed under the MIT License.
@@ -4972,7 +4986,7 @@
4972
4986
  return cachedAtSec > nowSeconds();
4973
4987
  }
4974
4988
 
4975
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4989
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4976
4990
 
4977
4991
  /*
4978
4992
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5234,7 +5248,7 @@
5234
5248
  return metadata.expiresAt <= nowSeconds();
5235
5249
  }
5236
5250
 
5237
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5251
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5238
5252
 
5239
5253
  /*
5240
5254
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6073,7 +6087,7 @@
6073
6087
  };
6074
6088
  }
6075
6089
 
6076
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6090
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6077
6091
 
6078
6092
  /*
6079
6093
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6104,7 +6118,7 @@
6104
6118
  }
6105
6119
  }
6106
6120
 
6107
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6121
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6108
6122
 
6109
6123
  /*
6110
6124
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6123,7 +6137,7 @@
6123
6137
  }
6124
6138
  }
6125
6139
 
6126
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6140
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6127
6141
  /*
6128
6142
  * Copyright (c) Microsoft Corporation. All rights reserved.
6129
6143
  * Licensed under the MIT License.
@@ -6144,7 +6158,7 @@
6144
6158
  };
6145
6159
  }
6146
6160
 
6147
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6161
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6148
6162
 
6149
6163
  /*
6150
6164
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6231,7 +6245,7 @@
6231
6245
  }
6232
6246
  }
6233
6247
 
6234
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6248
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6235
6249
 
6236
6250
  /*
6237
6251
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6262,7 +6276,7 @@
6262
6276
  return new NetworkError(error, httpStatus, responseHeaders);
6263
6277
  }
6264
6278
 
6265
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6279
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6266
6280
 
6267
6281
  /*
6268
6282
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6410,7 +6424,7 @@
6410
6424
  }
6411
6425
  }
6412
6426
 
6413
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6427
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6414
6428
  /*
6415
6429
  * Copyright (c) Microsoft Corporation. All rights reserved.
6416
6430
  * Licensed under the MIT License.
@@ -6438,7 +6452,7 @@
6438
6452
  uxNotAllowed: uxNotAllowed
6439
6453
  });
6440
6454
 
6441
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6455
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6442
6456
 
6443
6457
  /*
6444
6458
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6528,7 +6542,7 @@
6528
6542
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6529
6543
  }
6530
6544
 
6531
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6545
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6532
6546
 
6533
6547
  /*
6534
6548
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6600,7 +6614,7 @@
6600
6614
  }
6601
6615
  }
6602
6616
 
6603
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6617
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6604
6618
 
6605
6619
  /*
6606
6620
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6682,7 +6696,7 @@
6682
6696
  }
6683
6697
  }
6684
6698
 
6685
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6699
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6686
6700
  /*
6687
6701
  * Copyright (c) Microsoft Corporation. All rights reserved.
6688
6702
  * Licensed under the MIT License.
@@ -6709,7 +6723,7 @@
6709
6723
  }
6710
6724
  }
6711
6725
 
6712
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6726
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6713
6727
 
6714
6728
  /*
6715
6729
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6821,10 +6835,15 @@
6821
6835
  if (handlingRefreshTokenResponse &&
6822
6836
  !forceCacheRefreshTokenResponse &&
6823
6837
  cacheRecord.account) {
6824
- const key = this.cacheStorage.generateAccountKey(AccountEntity.getAccountInfo(cacheRecord.account));
6825
- const account = this.cacheStorage.getAccount(key, request.correlationId);
6826
- if (!account) {
6838
+ const cachedAccounts = this.cacheStorage.getAllAccounts({
6839
+ homeAccountId: cacheRecord.account.homeAccountId,
6840
+ environment: cacheRecord.account.environment,
6841
+ }, request.correlationId);
6842
+ if (cachedAccounts.length < 1) {
6827
6843
  this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
6844
+ this.performanceClient?.addFields({
6845
+ acntLoggedOut: true,
6846
+ }, request.correlationId);
6828
6847
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
6829
6848
  }
6830
6849
  }
@@ -7043,7 +7062,7 @@
7043
7062
  return baseAccount;
7044
7063
  }
7045
7064
 
7046
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7065
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7047
7066
  /*
7048
7067
  * Copyright (c) Microsoft Corporation. All rights reserved.
7049
7068
  * Licensed under the MIT License.
@@ -7061,7 +7080,7 @@
7061
7080
  }
7062
7081
  }
7063
7082
 
7064
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7083
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7065
7084
 
7066
7085
  /*
7067
7086
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7297,7 +7316,7 @@
7297
7316
  }
7298
7317
  }
7299
7318
 
7300
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7319
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7301
7320
 
7302
7321
  /*
7303
7322
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7509,7 +7528,7 @@
7509
7528
  }
7510
7529
  }
7511
7530
 
7512
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7531
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7513
7532
 
7514
7533
  /*
7515
7534
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7607,7 +7626,7 @@
7607
7626
  }
7608
7627
  }
7609
7628
 
7610
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7629
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7611
7630
 
7612
7631
  /*
7613
7632
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7622,7 +7641,7 @@
7622
7641
  },
7623
7642
  };
7624
7643
 
7625
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7644
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7626
7645
 
7627
7646
  /*
7628
7647
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7846,7 +7865,7 @@
7846
7865
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7847
7866
  }
7848
7867
 
7849
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7868
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7850
7869
 
7851
7870
  /*
7852
7871
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7904,7 +7923,7 @@
7904
7923
  }
7905
7924
  }
7906
7925
 
7907
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7926
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7908
7927
 
7909
7928
  /*
7910
7929
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8167,7 +8186,7 @@
8167
8186
  }
8168
8187
  }
8169
8188
 
8170
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8189
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8171
8190
  /*
8172
8191
  * Copyright (c) Microsoft Corporation. All rights reserved.
8173
8192
  * Licensed under the MIT License.
@@ -8175,7 +8194,7 @@
8175
8194
  const missingKidError = "missing_kid_error";
8176
8195
  const missingAlgError = "missing_alg_error";
8177
8196
 
8178
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8197
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8179
8198
 
8180
8199
  /*
8181
8200
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8200,7 +8219,7 @@
8200
8219
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8201
8220
  }
8202
8221
 
8203
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8222
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8204
8223
 
8205
8224
  /*
8206
8225
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8240,7 +8259,7 @@
8240
8259
  }
8241
8260
  }
8242
8261
 
8243
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8262
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8244
8263
 
8245
8264
  /*
8246
8265
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10381,7 +10400,7 @@
10381
10400
 
10382
10401
  /* eslint-disable header/header */
10383
10402
  const name = "@azure/msal-browser";
10384
- const version = "4.28.0";
10403
+ const version = "4.28.1";
10385
10404
 
10386
10405
  /*
10387
10406
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13170,7 +13189,7 @@
13170
13189
  * @param request
13171
13190
  */
13172
13191
  async hydrateCache(result, request) {
13173
- const idTokenEntity = createIdTokenEntity(result.account?.homeAccountId, result.account?.environment, result.idToken, this.clientId, result.tenantId);
13192
+ const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.clientId, result.tenantId);
13174
13193
  let claimsHash;
13175
13194
  if (request.claims) {
13176
13195
  claimsHash = await this.cryptoImpl.hashString(request.claims);
@@ -13182,7 +13201,7 @@
13182
13201
  *
13183
13202
  * The next MSAL VFuture should map these both to same value if possible
13184
13203
  */
13185
- const accessTokenEntity = createAccessTokenEntity(result.account?.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
13204
+ const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
13186
13205
  // Access token expiresOn stored in seconds, converting from AuthenticationResult expiresOn stored as Date
13187
13206
  result.expiresOn
13188
13207
  ? toSecondsFromDate(result.expiresOn)
@@ -16907,10 +16926,9 @@
16907
16926
  authorityMetadata: this.config.auth.authorityMetadata,
16908
16927
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
16909
16928
  };
16910
- const authority = request.authority
16911
- ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid())
16912
- : undefined;
16913
- const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
16929
+ const authorityString = request.authority || this.config.auth.authority;
16930
+ const authority = await createDiscoveredInstance(Authority.generateAuthority(authorityString, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, correlationId, this.performanceClient);
16931
+ const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, authority, idTokenClaims);
16914
16932
  const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
16915
16933
  const accessToken = await invokeAsync(this.loadAccessToken.bind(this), PerformanceEvents.LoadAccessToken, this.logger, this.performanceClient, correlationId)(request, response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, options, correlationId, kmsi);
16916
16934
  const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
@@ -16920,7 +16938,7 @@
16920
16938
  idToken,
16921
16939
  accessToken,
16922
16940
  refreshToken,
16923
- }, idTokenClaims, authority);
16941
+ }, authority, idTokenClaims);
16924
16942
  }
16925
16943
  catch (error) {
16926
16944
  rootMeasurement.end({ success: false }, error);
@@ -16936,20 +16954,20 @@
16936
16954
  * @param requestHomeAccountId
16937
16955
  * @returns `AccountEntity`
16938
16956
  */
16939
- async loadAccount(request, clientInfo, correlationId, idTokenClaims, authority) {
16957
+ async loadAccount(request, clientInfo, correlationId, authority, idTokenClaims) {
16940
16958
  this.logger.verbose("TokenCache - loading account");
16941
16959
  if (request.account) {
16942
16960
  const accountEntity = AccountEntity.createFromAccountInfo(request.account);
16943
16961
  await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
16944
16962
  return accountEntity;
16945
16963
  }
16946
- else if (!authority || (!clientInfo && !idTokenClaims)) {
16947
- this.logger.error("TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead.");
16964
+ else if (!clientInfo && !idTokenClaims) {
16965
+ this.logger.error("TokenCache - if an account is not provided on the request, clientInfo or idToken must be provided instead.");
16948
16966
  throw createBrowserAuthError(unableToLoadToken);
16949
16967
  }
16950
16968
  const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
16951
16969
  const claimsTenantId = idTokenClaims?.tid;
16952
- const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
16970
+ const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.getPreferredCache(), claimsTenantId, undefined, // authCodePayload
16953
16971
  undefined, // nativeAccountId
16954
16972
  this.logger);
16955
16973
  await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
@@ -17021,9 +17039,15 @@
17021
17039
  this.logger.verbose("TokenCache - no refresh token found in response");
17022
17040
  return null;
17023
17041
  }
17042
+ const expiresOn = response.refresh_token_expires_in
17043
+ ? response.refresh_token_expires_in + nowSeconds()
17044
+ : undefined;
17045
+ this.performanceClient.addFields({
17046
+ extRtExpiresOnSeconds: expiresOn,
17047
+ }, correlationId);
17024
17048
  this.logger.verbose("TokenCache - loading refresh token");
17025
17049
  const refreshTokenEntity = createRefreshTokenEntity(homeAccountId, environment, response.refresh_token, this.config.auth.clientId, response.foci, undefined, // userAssertionHash
17026
- response.refresh_token_expires_in);
17050
+ expiresOn);
17027
17051
  await this.storage.setRefreshTokenCredential(refreshTokenEntity, correlationId, kmsi);
17028
17052
  return refreshTokenEntity;
17029
17053
  }
@@ -17035,7 +17059,7 @@
17035
17059
  * @param authority
17036
17060
  * @returns `AuthenticationResult`
17037
17061
  */
17038
- generateAuthenticationResult(request, cacheRecord, idTokenClaims, authority) {
17062
+ generateAuthenticationResult(request, cacheRecord, authority, idTokenClaims) {
17039
17063
  let accessToken = "";
17040
17064
  let responseScopes = [];
17041
17065
  let expiresOn = null;