@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,8 +1,8 @@
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
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -279,7 +279,7 @@ const JsonWebTokenTypes = {
279
279
  // Token renewal offset default in seconds
280
280
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
281
281
 
282
- /*! @azure/msal-common v15.14.0 2026-01-13 */
282
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
283
283
  /*
284
284
  * Copyright (c) Microsoft Corporation. All rights reserved.
285
285
  * Licensed under the MIT License.
@@ -296,7 +296,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
296
296
  unexpectedError: unexpectedError
297
297
  });
298
298
 
299
- /*! @azure/msal-common v15.14.0 2026-01-13 */
299
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
300
300
 
301
301
  /*
302
302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -345,7 +345,7 @@ function createAuthError(code, additionalMessage) {
345
345
  : AuthErrorMessages[code]);
346
346
  }
347
347
 
348
- /*! @azure/msal-common v15.14.0 2026-01-13 */
348
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
349
349
  /*
350
350
  * Copyright (c) Microsoft Corporation. All rights reserved.
351
351
  * Licensed under the MIT License.
@@ -445,7 +445,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
445
445
  userTimeoutReached: userTimeoutReached
446
446
  });
447
447
 
448
- /*! @azure/msal-common v15.14.0 2026-01-13 */
448
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
449
449
 
450
450
  /*
451
451
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -702,7 +702,7 @@ function createClientAuthError(errorCode, additionalMessage) {
702
702
  return new ClientAuthError(errorCode, additionalMessage);
703
703
  }
704
704
 
705
- /*! @azure/msal-common v15.14.0 2026-01-13 */
705
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
706
706
 
707
707
  /*
708
708
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -741,7 +741,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
741
741
  },
742
742
  };
743
743
 
744
- /*! @azure/msal-common v15.14.0 2026-01-13 */
744
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
745
745
 
746
746
  /*
747
747
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -932,12 +932,12 @@ class Logger {
932
932
  }
933
933
  }
934
934
 
935
- /*! @azure/msal-common v15.14.0 2026-01-13 */
935
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
936
936
  /* eslint-disable header/header */
937
937
  const name$1 = "@azure/msal-common";
938
- const version$1 = "15.14.0";
938
+ const version$1 = "15.14.1";
939
939
 
940
- /*! @azure/msal-common v15.14.0 2026-01-13 */
940
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
941
941
  /*
942
942
  * Copyright (c) Microsoft Corporation. All rights reserved.
943
943
  * Licensed under the MIT License.
@@ -957,7 +957,7 @@ const AzureCloudInstance = {
957
957
  AzureUsGovernment: "https://login.microsoftonline.us",
958
958
  };
959
959
 
960
- /*! @azure/msal-common v15.14.0 2026-01-13 */
960
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
961
961
  /*
962
962
  * Copyright (c) Microsoft Corporation. All rights reserved.
963
963
  * Licensed under the MIT License.
@@ -1015,7 +1015,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1015
1015
  urlParseError: urlParseError
1016
1016
  });
1017
1017
 
1018
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1018
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1019
1019
 
1020
1020
  /*
1021
1021
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1163,7 +1163,7 @@ function createClientConfigurationError(errorCode) {
1163
1163
  return new ClientConfigurationError(errorCode);
1164
1164
  }
1165
1165
 
1166
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1166
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1167
1167
  /*
1168
1168
  * Copyright (c) Microsoft Corporation. All rights reserved.
1169
1169
  * Licensed under the MIT License.
@@ -1260,7 +1260,7 @@ class StringUtils {
1260
1260
  }
1261
1261
  }
1262
1262
 
1263
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1263
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1264
1264
 
1265
1265
  /*
1266
1266
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1455,7 +1455,7 @@ class ScopeSet {
1455
1455
  }
1456
1456
  }
1457
1457
 
1458
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1458
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1459
1459
 
1460
1460
  /*
1461
1461
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1495,7 +1495,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1495
1495
  };
1496
1496
  }
1497
1497
 
1498
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1498
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1499
1499
  /*
1500
1500
  * Copyright (c) Microsoft Corporation. All rights reserved.
1501
1501
  * Licensed under the MIT License.
@@ -1577,7 +1577,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1577
1577
  return updatedAccountInfo;
1578
1578
  }
1579
1579
 
1580
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1580
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1581
1581
  /*
1582
1582
  * Copyright (c) Microsoft Corporation. All rights reserved.
1583
1583
  * Licensed under the MIT License.
@@ -1592,7 +1592,7 @@ const AuthorityType = {
1592
1592
  Ciam: 3,
1593
1593
  };
1594
1594
 
1595
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1595
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1596
1596
  /*
1597
1597
  * Copyright (c) Microsoft Corporation. All rights reserved.
1598
1598
  * Licensed under the MIT License.
@@ -1614,7 +1614,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1614
1614
  return null;
1615
1615
  }
1616
1616
 
1617
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1617
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1618
1618
  /*
1619
1619
  * Copyright (c) Microsoft Corporation. All rights reserved.
1620
1620
  * Licensed under the MIT License.
@@ -1638,7 +1638,7 @@ const ProtocolMode = {
1638
1638
  EAR: "EAR",
1639
1639
  };
1640
1640
 
1641
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1641
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1642
1642
 
1643
1643
  /*
1644
1644
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1672,6 +1672,13 @@ class AccountEntity {
1672
1672
  * Returns the AccountInfo interface for this account.
1673
1673
  */
1674
1674
  static getAccountInfo(accountEntity) {
1675
+ const tenantProfiles = accountEntity.tenantProfiles || [];
1676
+ // Ensure at least the home tenant profile exists
1677
+ if (tenantProfiles.length === 0 &&
1678
+ accountEntity.realm &&
1679
+ accountEntity.localAccountId) {
1680
+ tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
1681
+ }
1675
1682
  return {
1676
1683
  homeAccountId: accountEntity.homeAccountId,
1677
1684
  environment: accountEntity.environment,
@@ -1683,7 +1690,7 @@ class AccountEntity {
1683
1690
  nativeAccountId: accountEntity.nativeAccountId,
1684
1691
  authorityType: accountEntity.authorityType,
1685
1692
  // Deserialize tenant profiles array into a Map
1686
- tenantProfiles: new Map((accountEntity.tenantProfiles || []).map((tenantProfile) => {
1693
+ tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
1687
1694
  return [tenantProfile.tenantId, tenantProfile];
1688
1695
  })),
1689
1696
  dataBoundary: accountEntity.dataBoundary,
@@ -1784,7 +1791,14 @@ class AccountEntity {
1784
1791
  account.cloudGraphHostName = cloudGraphHostName;
1785
1792
  account.msGraphHost = msGraphHost;
1786
1793
  // Serialize tenant profiles map into an array
1787
- account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1794
+ const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1795
+ // Ensure at least the home tenant profile exists
1796
+ if (tenantProfiles.length === 0 &&
1797
+ accountInfo.tenantId &&
1798
+ accountInfo.localAccountId) {
1799
+ tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
1800
+ }
1801
+ account.tenantProfiles = tenantProfiles;
1788
1802
  account.dataBoundary = accountInfo.dataBoundary;
1789
1803
  return account;
1790
1804
  }
@@ -1859,7 +1873,7 @@ class AccountEntity {
1859
1873
  }
1860
1874
  }
1861
1875
 
1862
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1876
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1863
1877
 
1864
1878
  /*
1865
1879
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1940,7 +1954,7 @@ function checkMaxAge(authTime, maxAge) {
1940
1954
  }
1941
1955
  }
1942
1956
 
1943
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1957
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1944
1958
 
1945
1959
  /*
1946
1960
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2056,7 +2070,7 @@ function normalizeUrlForComparison(url) {
2056
2070
  }
2057
2071
  }
2058
2072
 
2059
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2073
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2060
2074
 
2061
2075
  /*
2062
2076
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2220,7 +2234,7 @@ class UrlString {
2220
2234
  }
2221
2235
  }
2222
2236
 
2223
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2237
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2224
2238
 
2225
2239
  /*
2226
2240
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2359,7 +2373,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2359
2373
  return null;
2360
2374
  }
2361
2375
 
2362
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2376
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2363
2377
  /*
2364
2378
  * Copyright (c) Microsoft Corporation. All rights reserved.
2365
2379
  * Licensed under the MIT License.
@@ -2367,7 +2381,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2367
2381
  const cacheQuotaExceeded = "cache_quota_exceeded";
2368
2382
  const cacheErrorUnknown = "cache_error_unknown";
2369
2383
 
2370
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2384
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2371
2385
 
2372
2386
  /*
2373
2387
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2412,7 +2426,7 @@ function createCacheError(e) {
2412
2426
  }
2413
2427
  }
2414
2428
 
2415
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2429
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2416
2430
 
2417
2431
  /*
2418
2432
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3523,7 +3537,7 @@ class DefaultStorageClass extends CacheManager {
3523
3537
  }
3524
3538
  }
3525
3539
 
3526
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3540
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3527
3541
  /*
3528
3542
  * Copyright (c) Microsoft Corporation. All rights reserved.
3529
3543
  * Licensed under the MIT License.
@@ -4050,7 +4064,7 @@ const IntFields = new Set([
4050
4064
  "upgradedCacheCount",
4051
4065
  ]);
4052
4066
 
4053
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4067
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4054
4068
 
4055
4069
  /*
4056
4070
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4129,7 +4143,7 @@ class StubPerformanceClient {
4129
4143
  }
4130
4144
  }
4131
4145
 
4132
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4146
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4133
4147
 
4134
4148
  /*
4135
4149
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4229,7 +4243,7 @@ function isOidcProtocolMode(config) {
4229
4243
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4230
4244
  }
4231
4245
 
4232
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4246
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4233
4247
  /*
4234
4248
  * Copyright (c) Microsoft Corporation. All rights reserved.
4235
4249
  * Licensed under the MIT License.
@@ -4239,7 +4253,7 @@ const CcsCredentialType = {
4239
4253
  UPN: "UPN",
4240
4254
  };
4241
4255
 
4242
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4256
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4243
4257
  /*
4244
4258
  * Copyright (c) Microsoft Corporation. All rights reserved.
4245
4259
  * Licensed under the MIT License.
@@ -4289,7 +4303,7 @@ const INSTANCE_AWARE = "instance_aware";
4289
4303
  const EAR_JWK = "ear_jwk";
4290
4304
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4291
4305
 
4292
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4306
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4293
4307
 
4294
4308
  /*
4295
4309
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4669,7 +4683,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4669
4683
  });
4670
4684
  }
4671
4685
 
4672
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4686
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4673
4687
  /*
4674
4688
  * Copyright (c) Microsoft Corporation. All rights reserved.
4675
4689
  * Licensed under the MIT License.
@@ -4681,7 +4695,7 @@ function isOpenIdConfigResponse(response) {
4681
4695
  response.hasOwnProperty("jwks_uri"));
4682
4696
  }
4683
4697
 
4684
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4698
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4685
4699
  /*
4686
4700
  * Copyright (c) Microsoft Corporation. All rights reserved.
4687
4701
  * Licensed under the MIT License.
@@ -4691,7 +4705,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4691
4705
  response.hasOwnProperty("metadata"));
4692
4706
  }
4693
4707
 
4694
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4708
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4695
4709
  /*
4696
4710
  * Copyright (c) Microsoft Corporation. All rights reserved.
4697
4711
  * Licensed under the MIT License.
@@ -4701,7 +4715,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4701
4715
  response.hasOwnProperty("error_description"));
4702
4716
  }
4703
4717
 
4704
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4718
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4705
4719
  /*
4706
4720
  * Copyright (c) Microsoft Corporation. All rights reserved.
4707
4721
  * Licensed under the MIT License.
@@ -4797,7 +4811,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4797
4811
  };
4798
4812
  };
4799
4813
 
4800
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4814
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4801
4815
 
4802
4816
  /*
4803
4817
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4903,7 +4917,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4903
4917
  },
4904
4918
  };
4905
4919
 
4906
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4920
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4907
4921
  /*
4908
4922
  * Copyright (c) Microsoft Corporation. All rights reserved.
4909
4923
  * Licensed under the MIT License.
@@ -4968,7 +4982,7 @@ function wasClockTurnedBack(cachedAt) {
4968
4982
  return cachedAtSec > nowSeconds();
4969
4983
  }
4970
4984
 
4971
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4985
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4972
4986
 
4973
4987
  /*
4974
4988
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5230,7 +5244,7 @@ function isAuthorityMetadataExpired(metadata) {
5230
5244
  return metadata.expiresAt <= nowSeconds();
5231
5245
  }
5232
5246
 
5233
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5247
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5234
5248
 
5235
5249
  /*
5236
5250
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6069,7 +6083,7 @@ function buildStaticAuthorityOptions(authOptions) {
6069
6083
  };
6070
6084
  }
6071
6085
 
6072
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6086
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6073
6087
 
6074
6088
  /*
6075
6089
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6100,7 +6114,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6100
6114
  }
6101
6115
  }
6102
6116
 
6103
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6117
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6104
6118
 
6105
6119
  /*
6106
6120
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6119,7 +6133,7 @@ class ServerError extends AuthError {
6119
6133
  }
6120
6134
  }
6121
6135
 
6122
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6136
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6123
6137
  /*
6124
6138
  * Copyright (c) Microsoft Corporation. All rights reserved.
6125
6139
  * Licensed under the MIT License.
@@ -6140,7 +6154,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6140
6154
  };
6141
6155
  }
6142
6156
 
6143
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6157
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6144
6158
 
6145
6159
  /*
6146
6160
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6227,7 +6241,7 @@ class ThrottlingUtils {
6227
6241
  }
6228
6242
  }
6229
6243
 
6230
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6244
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6231
6245
 
6232
6246
  /*
6233
6247
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6258,7 +6272,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6258
6272
  return new NetworkError(error, httpStatus, responseHeaders);
6259
6273
  }
6260
6274
 
6261
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6275
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6262
6276
 
6263
6277
  /*
6264
6278
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6406,7 +6420,7 @@ class BaseClient {
6406
6420
  }
6407
6421
  }
6408
6422
 
6409
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6423
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6410
6424
  /*
6411
6425
  * Copyright (c) Microsoft Corporation. All rights reserved.
6412
6426
  * Licensed under the MIT License.
@@ -6434,7 +6448,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6434
6448
  uxNotAllowed: uxNotAllowed
6435
6449
  });
6436
6450
 
6437
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6451
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6438
6452
 
6439
6453
  /*
6440
6454
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6524,7 +6538,7 @@ function createInteractionRequiredAuthError(errorCode) {
6524
6538
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6525
6539
  }
6526
6540
 
6527
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6541
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6528
6542
 
6529
6543
  /*
6530
6544
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6596,7 +6610,7 @@ class ProtocolUtils {
6596
6610
  }
6597
6611
  }
6598
6612
 
6599
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6613
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6600
6614
 
6601
6615
  /*
6602
6616
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6678,7 +6692,7 @@ class PopTokenGenerator {
6678
6692
  }
6679
6693
  }
6680
6694
 
6681
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6695
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6682
6696
  /*
6683
6697
  * Copyright (c) Microsoft Corporation. All rights reserved.
6684
6698
  * Licensed under the MIT License.
@@ -6705,7 +6719,7 @@ class PopTokenGenerator {
6705
6719
  }
6706
6720
  }
6707
6721
 
6708
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6722
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6709
6723
 
6710
6724
  /*
6711
6725
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6817,10 +6831,15 @@ class ResponseHandler {
6817
6831
  if (handlingRefreshTokenResponse &&
6818
6832
  !forceCacheRefreshTokenResponse &&
6819
6833
  cacheRecord.account) {
6820
- const key = this.cacheStorage.generateAccountKey(AccountEntity.getAccountInfo(cacheRecord.account));
6821
- const account = this.cacheStorage.getAccount(key, request.correlationId);
6822
- if (!account) {
6834
+ const cachedAccounts = this.cacheStorage.getAllAccounts({
6835
+ homeAccountId: cacheRecord.account.homeAccountId,
6836
+ environment: cacheRecord.account.environment,
6837
+ }, request.correlationId);
6838
+ if (cachedAccounts.length < 1) {
6823
6839
  this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
6840
+ this.performanceClient?.addFields({
6841
+ acntLoggedOut: true,
6842
+ }, request.correlationId);
6824
6843
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
6825
6844
  }
6826
6845
  }
@@ -7039,7 +7058,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
7039
7058
  return baseAccount;
7040
7059
  }
7041
7060
 
7042
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7061
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7043
7062
  /*
7044
7063
  * Copyright (c) Microsoft Corporation. All rights reserved.
7045
7064
  * Licensed under the MIT License.
@@ -7057,7 +7076,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7057
7076
  }
7058
7077
  }
7059
7078
 
7060
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7079
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7061
7080
 
7062
7081
  /*
7063
7082
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7293,7 +7312,7 @@ class AuthorizationCodeClient extends BaseClient {
7293
7312
  }
7294
7313
  }
7295
7314
 
7296
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7315
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7297
7316
 
7298
7317
  /*
7299
7318
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7505,7 +7524,7 @@ class RefreshTokenClient extends BaseClient {
7505
7524
  }
7506
7525
  }
7507
7526
 
7508
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7527
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7509
7528
 
7510
7529
  /*
7511
7530
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7603,7 +7622,7 @@ class SilentFlowClient extends BaseClient {
7603
7622
  }
7604
7623
  }
7605
7624
 
7606
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7625
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7607
7626
 
7608
7627
  /*
7609
7628
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7618,7 +7637,7 @@ const StubbedNetworkModule = {
7618
7637
  },
7619
7638
  };
7620
7639
 
7621
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7640
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7622
7641
 
7623
7642
  /*
7624
7643
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7842,7 +7861,7 @@ function extractLoginHint(account) {
7842
7861
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7843
7862
  }
7844
7863
 
7845
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7864
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7846
7865
 
7847
7866
  /*
7848
7867
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7900,7 +7919,7 @@ class AuthenticationHeaderParser {
7900
7919
  }
7901
7920
  }
7902
7921
 
7903
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7922
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7904
7923
 
7905
7924
  /*
7906
7925
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8163,7 +8182,7 @@ class ServerTelemetryManager {
8163
8182
  }
8164
8183
  }
8165
8184
 
8166
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8185
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8167
8186
  /*
8168
8187
  * Copyright (c) Microsoft Corporation. All rights reserved.
8169
8188
  * Licensed under the MIT License.
@@ -8171,7 +8190,7 @@ class ServerTelemetryManager {
8171
8190
  const missingKidError = "missing_kid_error";
8172
8191
  const missingAlgError = "missing_alg_error";
8173
8192
 
8174
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8193
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8175
8194
 
8176
8195
  /*
8177
8196
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8196,7 +8215,7 @@ function createJoseHeaderError(code) {
8196
8215
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8197
8216
  }
8198
8217
 
8199
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8218
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8200
8219
 
8201
8220
  /*
8202
8221
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8236,7 +8255,7 @@ class JoseHeader {
8236
8255
  }
8237
8256
  }
8238
8257
 
8239
- /*! @azure/msal-common v15.14.0 2026-01-13 */
8258
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
8240
8259
 
8241
8260
  /*
8242
8261
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10377,7 +10396,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10377
10396
 
10378
10397
  /* eslint-disable header/header */
10379
10398
  const name = "@azure/msal-browser";
10380
- const version = "4.28.0";
10399
+ const version = "4.28.1";
10381
10400
 
10382
10401
  /*
10383
10402
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13166,7 +13185,7 @@ class BrowserCacheManager extends CacheManager {
13166
13185
  * @param request
13167
13186
  */
13168
13187
  async hydrateCache(result, request) {
13169
- const idTokenEntity = createIdTokenEntity(result.account?.homeAccountId, result.account?.environment, result.idToken, this.clientId, result.tenantId);
13188
+ const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.clientId, result.tenantId);
13170
13189
  let claimsHash;
13171
13190
  if (request.claims) {
13172
13191
  claimsHash = await this.cryptoImpl.hashString(request.claims);
@@ -13178,7 +13197,7 @@ class BrowserCacheManager extends CacheManager {
13178
13197
  *
13179
13198
  * The next MSAL VFuture should map these both to same value if possible
13180
13199
  */
13181
- const accessTokenEntity = createAccessTokenEntity(result.account?.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
13200
+ const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
13182
13201
  // Access token expiresOn stored in seconds, converting from AuthenticationResult expiresOn stored as Date
13183
13202
  result.expiresOn
13184
13203
  ? toSecondsFromDate(result.expiresOn)
@@ -16903,10 +16922,9 @@ class TokenCache {
16903
16922
  authorityMetadata: this.config.auth.authorityMetadata,
16904
16923
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
16905
16924
  };
16906
- const authority = request.authority
16907
- ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid())
16908
- : undefined;
16909
- const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
16925
+ const authorityString = request.authority || this.config.auth.authority;
16926
+ const authority = await createDiscoveredInstance(Authority.generateAuthority(authorityString, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, correlationId, this.performanceClient);
16927
+ const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, authority, idTokenClaims);
16910
16928
  const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
16911
16929
  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);
16912
16930
  const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
@@ -16916,7 +16934,7 @@ class TokenCache {
16916
16934
  idToken,
16917
16935
  accessToken,
16918
16936
  refreshToken,
16919
- }, idTokenClaims, authority);
16937
+ }, authority, idTokenClaims);
16920
16938
  }
16921
16939
  catch (error) {
16922
16940
  rootMeasurement.end({ success: false }, error);
@@ -16932,20 +16950,20 @@ class TokenCache {
16932
16950
  * @param requestHomeAccountId
16933
16951
  * @returns `AccountEntity`
16934
16952
  */
16935
- async loadAccount(request, clientInfo, correlationId, idTokenClaims, authority) {
16953
+ async loadAccount(request, clientInfo, correlationId, authority, idTokenClaims) {
16936
16954
  this.logger.verbose("TokenCache - loading account");
16937
16955
  if (request.account) {
16938
16956
  const accountEntity = AccountEntity.createFromAccountInfo(request.account);
16939
16957
  await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
16940
16958
  return accountEntity;
16941
16959
  }
16942
- else if (!authority || (!clientInfo && !idTokenClaims)) {
16943
- this.logger.error("TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead.");
16960
+ else if (!clientInfo && !idTokenClaims) {
16961
+ this.logger.error("TokenCache - if an account is not provided on the request, clientInfo or idToken must be provided instead.");
16944
16962
  throw createBrowserAuthError(unableToLoadToken);
16945
16963
  }
16946
16964
  const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
16947
16965
  const claimsTenantId = idTokenClaims?.tid;
16948
- const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
16966
+ const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.getPreferredCache(), claimsTenantId, undefined, // authCodePayload
16949
16967
  undefined, // nativeAccountId
16950
16968
  this.logger);
16951
16969
  await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
@@ -17017,9 +17035,15 @@ class TokenCache {
17017
17035
  this.logger.verbose("TokenCache - no refresh token found in response");
17018
17036
  return null;
17019
17037
  }
17038
+ const expiresOn = response.refresh_token_expires_in
17039
+ ? response.refresh_token_expires_in + nowSeconds()
17040
+ : undefined;
17041
+ this.performanceClient.addFields({
17042
+ extRtExpiresOnSeconds: expiresOn,
17043
+ }, correlationId);
17020
17044
  this.logger.verbose("TokenCache - loading refresh token");
17021
17045
  const refreshTokenEntity = createRefreshTokenEntity(homeAccountId, environment, response.refresh_token, this.config.auth.clientId, response.foci, undefined, // userAssertionHash
17022
- response.refresh_token_expires_in);
17046
+ expiresOn);
17023
17047
  await this.storage.setRefreshTokenCredential(refreshTokenEntity, correlationId, kmsi);
17024
17048
  return refreshTokenEntity;
17025
17049
  }
@@ -17031,7 +17055,7 @@ class TokenCache {
17031
17055
  * @param authority
17032
17056
  * @returns `AuthenticationResult`
17033
17057
  */
17034
- generateAuthenticationResult(request, cacheRecord, idTokenClaims, authority) {
17058
+ generateAuthenticationResult(request, cacheRecord, authority, idTokenClaims) {
17035
17059
  let accessToken = "";
17036
17060
  let responseScopes = [];
17037
17061
  let expiresOn = null;