@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.msalCustomAuth = {}));
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.
@@ -280,7 +280,7 @@
280
280
  // Token renewal offset default in seconds
281
281
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
282
282
 
283
- /*! @azure/msal-common v15.14.0 2026-01-13 */
283
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
284
284
  /*
285
285
  * Copyright (c) Microsoft Corporation. All rights reserved.
286
286
  * Licensed under the MIT License.
@@ -291,7 +291,7 @@
291
291
  const unexpectedError = "unexpected_error";
292
292
  const postRequestFailed$1 = "post_request_failed";
293
293
 
294
- /*! @azure/msal-common v15.14.0 2026-01-13 */
294
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
295
295
 
296
296
  /*
297
297
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -326,7 +326,7 @@
326
326
  : AuthErrorMessages[code]);
327
327
  }
328
328
 
329
- /*! @azure/msal-common v15.14.0 2026-01-13 */
329
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
330
330
  /*
331
331
  * Copyright (c) Microsoft Corporation. All rights reserved.
332
332
  * Licensed under the MIT License.
@@ -377,7 +377,7 @@
377
377
  const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
378
378
  const platformBrokerError = "platform_broker_error";
379
379
 
380
- /*! @azure/msal-common v15.14.0 2026-01-13 */
380
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
381
381
 
382
382
  /*
383
383
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -452,7 +452,7 @@
452
452
  return new ClientAuthError(errorCode, additionalMessage);
453
453
  }
454
454
 
455
- /*! @azure/msal-common v15.14.0 2026-01-13 */
455
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
456
456
 
457
457
  /*
458
458
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -491,7 +491,7 @@
491
491
  },
492
492
  };
493
493
 
494
- /*! @azure/msal-common v15.14.0 2026-01-13 */
494
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
495
495
 
496
496
  /*
497
497
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -682,12 +682,12 @@
682
682
  }
683
683
  }
684
684
 
685
- /*! @azure/msal-common v15.14.0 2026-01-13 */
685
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
686
686
  /* eslint-disable header/header */
687
687
  const name$1 = "@azure/msal-common";
688
- const version$1 = "15.14.0";
688
+ const version$1 = "15.14.1";
689
689
 
690
- /*! @azure/msal-common v15.14.0 2026-01-13 */
690
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
691
691
  /*
692
692
  * Copyright (c) Microsoft Corporation. All rights reserved.
693
693
  * Licensed under the MIT License.
@@ -696,7 +696,7 @@
696
696
  // AzureCloudInstance is not specified.
697
697
  None: "none"};
698
698
 
699
- /*! @azure/msal-common v15.14.0 2026-01-13 */
699
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
700
700
  /*
701
701
  * Copyright (c) Microsoft Corporation. All rights reserved.
702
702
  * Licensed under the MIT License.
@@ -726,7 +726,7 @@
726
726
  const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
727
727
  const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
728
728
 
729
- /*! @azure/msal-common v15.14.0 2026-01-13 */
729
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
730
730
 
731
731
  /*
732
732
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -772,7 +772,7 @@
772
772
  return new ClientConfigurationError(errorCode);
773
773
  }
774
774
 
775
- /*! @azure/msal-common v15.14.0 2026-01-13 */
775
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
776
776
  /*
777
777
  * Copyright (c) Microsoft Corporation. All rights reserved.
778
778
  * Licensed under the MIT License.
@@ -869,7 +869,7 @@
869
869
  }
870
870
  }
871
871
 
872
- /*! @azure/msal-common v15.14.0 2026-01-13 */
872
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
873
873
 
874
874
  /*
875
875
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1064,7 +1064,7 @@
1064
1064
  }
1065
1065
  }
1066
1066
 
1067
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1067
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1068
1068
 
1069
1069
  /*
1070
1070
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1104,7 +1104,7 @@
1104
1104
  };
1105
1105
  }
1106
1106
 
1107
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1107
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1108
1108
  /*
1109
1109
  * Copyright (c) Microsoft Corporation. All rights reserved.
1110
1110
  * Licensed under the MIT License.
@@ -1186,7 +1186,7 @@
1186
1186
  return updatedAccountInfo;
1187
1187
  }
1188
1188
 
1189
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1189
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1190
1190
  /*
1191
1191
  * Copyright (c) Microsoft Corporation. All rights reserved.
1192
1192
  * Licensed under the MIT License.
@@ -1201,7 +1201,7 @@
1201
1201
  Ciam: 3,
1202
1202
  };
1203
1203
 
1204
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1204
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1205
1205
  /*
1206
1206
  * Copyright (c) Microsoft Corporation. All rights reserved.
1207
1207
  * Licensed under the MIT License.
@@ -1223,7 +1223,7 @@
1223
1223
  return null;
1224
1224
  }
1225
1225
 
1226
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1226
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1227
1227
  /*
1228
1228
  * Copyright (c) Microsoft Corporation. All rights reserved.
1229
1229
  * Licensed under the MIT License.
@@ -1247,7 +1247,7 @@
1247
1247
  EAR: "EAR",
1248
1248
  };
1249
1249
 
1250
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1250
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1251
1251
 
1252
1252
  /*
1253
1253
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1281,6 +1281,13 @@
1281
1281
  * Returns the AccountInfo interface for this account.
1282
1282
  */
1283
1283
  static getAccountInfo(accountEntity) {
1284
+ const tenantProfiles = accountEntity.tenantProfiles || [];
1285
+ // Ensure at least the home tenant profile exists
1286
+ if (tenantProfiles.length === 0 &&
1287
+ accountEntity.realm &&
1288
+ accountEntity.localAccountId) {
1289
+ tenantProfiles.push(buildTenantProfile(accountEntity.homeAccountId, accountEntity.localAccountId, accountEntity.realm));
1290
+ }
1284
1291
  return {
1285
1292
  homeAccountId: accountEntity.homeAccountId,
1286
1293
  environment: accountEntity.environment,
@@ -1292,7 +1299,7 @@
1292
1299
  nativeAccountId: accountEntity.nativeAccountId,
1293
1300
  authorityType: accountEntity.authorityType,
1294
1301
  // Deserialize tenant profiles array into a Map
1295
- tenantProfiles: new Map((accountEntity.tenantProfiles || []).map((tenantProfile) => {
1302
+ tenantProfiles: new Map(tenantProfiles.map((tenantProfile) => {
1296
1303
  return [tenantProfile.tenantId, tenantProfile];
1297
1304
  })),
1298
1305
  dataBoundary: accountEntity.dataBoundary,
@@ -1393,7 +1400,14 @@
1393
1400
  account.cloudGraphHostName = cloudGraphHostName;
1394
1401
  account.msGraphHost = msGraphHost;
1395
1402
  // Serialize tenant profiles map into an array
1396
- account.tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1403
+ const tenantProfiles = Array.from(accountInfo.tenantProfiles?.values() || []);
1404
+ // Ensure at least the home tenant profile exists
1405
+ if (tenantProfiles.length === 0 &&
1406
+ accountInfo.tenantId &&
1407
+ accountInfo.localAccountId) {
1408
+ tenantProfiles.push(buildTenantProfile(accountInfo.homeAccountId, accountInfo.localAccountId, accountInfo.tenantId, accountInfo.idTokenClaims));
1409
+ }
1410
+ account.tenantProfiles = tenantProfiles;
1397
1411
  account.dataBoundary = accountInfo.dataBoundary;
1398
1412
  return account;
1399
1413
  }
@@ -1468,7 +1482,7 @@
1468
1482
  }
1469
1483
  }
1470
1484
 
1471
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1485
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1472
1486
 
1473
1487
  /*
1474
1488
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1549,7 +1563,7 @@
1549
1563
  }
1550
1564
  }
1551
1565
 
1552
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1566
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1553
1567
 
1554
1568
  /*
1555
1569
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1665,7 +1679,7 @@
1665
1679
  }
1666
1680
  }
1667
1681
 
1668
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1682
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1669
1683
 
1670
1684
  /*
1671
1685
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1829,7 +1843,7 @@
1829
1843
  }
1830
1844
  }
1831
1845
 
1832
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1846
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1833
1847
 
1834
1848
  /*
1835
1849
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1968,7 +1982,7 @@
1968
1982
  return null;
1969
1983
  }
1970
1984
 
1971
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1985
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1972
1986
  /*
1973
1987
  * Copyright (c) Microsoft Corporation. All rights reserved.
1974
1988
  * Licensed under the MIT License.
@@ -1976,7 +1990,7 @@
1976
1990
  const cacheQuotaExceeded = "cache_quota_exceeded";
1977
1991
  const cacheErrorUnknown = "cache_error_unknown";
1978
1992
 
1979
- /*! @azure/msal-common v15.14.0 2026-01-13 */
1993
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
1980
1994
 
1981
1995
  /*
1982
1996
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2021,7 +2035,7 @@
2021
2035
  }
2022
2036
  }
2023
2037
 
2024
- /*! @azure/msal-common v15.14.0 2026-01-13 */
2038
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
2025
2039
 
2026
2040
  /*
2027
2041
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3131,7 +3145,7 @@
3131
3145
  }
3132
3146
  }
3133
3147
 
3134
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3148
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3135
3149
  /*
3136
3150
  * Copyright (c) Microsoft Corporation. All rights reserved.
3137
3151
  * Licensed under the MIT License.
@@ -3403,7 +3417,7 @@
3403
3417
  const PerformanceEventStatus = {
3404
3418
  InProgress: 1};
3405
3419
 
3406
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3420
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3407
3421
 
3408
3422
  /*
3409
3423
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3482,7 +3496,7 @@
3482
3496
  }
3483
3497
  }
3484
3498
 
3485
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3499
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3486
3500
 
3487
3501
  /*
3488
3502
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3582,7 +3596,7 @@
3582
3596
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3583
3597
  }
3584
3598
 
3585
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3599
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3586
3600
  /*
3587
3601
  * Copyright (c) Microsoft Corporation. All rights reserved.
3588
3602
  * Licensed under the MIT License.
@@ -3592,7 +3606,7 @@
3592
3606
  UPN: "UPN",
3593
3607
  };
3594
3608
 
3595
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3609
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3596
3610
  /*
3597
3611
  * Copyright (c) Microsoft Corporation. All rights reserved.
3598
3612
  * Licensed under the MIT License.
@@ -3642,7 +3656,7 @@
3642
3656
  const EAR_JWK = "ear_jwk";
3643
3657
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
3644
3658
 
3645
- /*! @azure/msal-common v15.14.0 2026-01-13 */
3659
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
3646
3660
 
3647
3661
  /*
3648
3662
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4022,7 +4036,7 @@
4022
4036
  });
4023
4037
  }
4024
4038
 
4025
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4039
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4026
4040
  /*
4027
4041
  * Copyright (c) Microsoft Corporation. All rights reserved.
4028
4042
  * Licensed under the MIT License.
@@ -4034,7 +4048,7 @@
4034
4048
  response.hasOwnProperty("jwks_uri"));
4035
4049
  }
4036
4050
 
4037
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4051
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4038
4052
  /*
4039
4053
  * Copyright (c) Microsoft Corporation. All rights reserved.
4040
4054
  * Licensed under the MIT License.
@@ -4044,7 +4058,7 @@
4044
4058
  response.hasOwnProperty("metadata"));
4045
4059
  }
4046
4060
 
4047
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4061
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4048
4062
  /*
4049
4063
  * Copyright (c) Microsoft Corporation. All rights reserved.
4050
4064
  * Licensed under the MIT License.
@@ -4054,7 +4068,7 @@
4054
4068
  response.hasOwnProperty("error_description"));
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
  * Copyright (c) Microsoft Corporation. All rights reserved.
4060
4074
  * Licensed under the MIT License.
@@ -4150,7 +4164,7 @@
4150
4164
  };
4151
4165
  };
4152
4166
 
4153
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4167
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4154
4168
 
4155
4169
  /*
4156
4170
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4256,7 +4270,7 @@
4256
4270
  },
4257
4271
  };
4258
4272
 
4259
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4273
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4260
4274
  /*
4261
4275
  * Copyright (c) Microsoft Corporation. All rights reserved.
4262
4276
  * Licensed under the MIT License.
@@ -4321,7 +4335,7 @@
4321
4335
  return cachedAtSec > nowSeconds();
4322
4336
  }
4323
4337
 
4324
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4338
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4325
4339
 
4326
4340
  /*
4327
4341
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4583,7 +4597,7 @@
4583
4597
  return metadata.expiresAt <= nowSeconds();
4584
4598
  }
4585
4599
 
4586
- /*! @azure/msal-common v15.14.0 2026-01-13 */
4600
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
4587
4601
 
4588
4602
  /*
4589
4603
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5422,7 +5436,7 @@
5422
5436
  };
5423
5437
  }
5424
5438
 
5425
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5439
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5426
5440
 
5427
5441
  /*
5428
5442
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5453,7 +5467,7 @@
5453
5467
  }
5454
5468
  }
5455
5469
 
5456
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5470
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5457
5471
 
5458
5472
  /*
5459
5473
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5472,7 +5486,7 @@
5472
5486
  }
5473
5487
  }
5474
5488
 
5475
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5489
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5476
5490
  /*
5477
5491
  * Copyright (c) Microsoft Corporation. All rights reserved.
5478
5492
  * Licensed under the MIT License.
@@ -5493,7 +5507,7 @@
5493
5507
  };
5494
5508
  }
5495
5509
 
5496
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5510
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5497
5511
 
5498
5512
  /*
5499
5513
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5580,7 +5594,7 @@
5580
5594
  }
5581
5595
  }
5582
5596
 
5583
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5597
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5584
5598
 
5585
5599
  /*
5586
5600
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5611,7 +5625,7 @@
5611
5625
  return new NetworkError(error, httpStatus, responseHeaders);
5612
5626
  }
5613
5627
 
5614
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5628
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5615
5629
 
5616
5630
  /*
5617
5631
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5759,7 +5773,7 @@
5759
5773
  }
5760
5774
  }
5761
5775
 
5762
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5776
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5763
5777
  /*
5764
5778
  * Copyright (c) Microsoft Corporation. All rights reserved.
5765
5779
  * Licensed under the MIT License.
@@ -5775,7 +5789,7 @@
5775
5789
  const loginRequired = "login_required";
5776
5790
  const badToken = "bad_token";
5777
5791
 
5778
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5792
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5779
5793
 
5780
5794
  /*
5781
5795
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5847,7 +5861,7 @@
5847
5861
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
5848
5862
  }
5849
5863
 
5850
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5864
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5851
5865
 
5852
5866
  /*
5853
5867
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5919,7 +5933,7 @@
5919
5933
  }
5920
5934
  }
5921
5935
 
5922
- /*! @azure/msal-common v15.14.0 2026-01-13 */
5936
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
5923
5937
 
5924
5938
  /*
5925
5939
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6001,7 +6015,7 @@
6001
6015
  }
6002
6016
  }
6003
6017
 
6004
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6018
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6005
6019
  /*
6006
6020
  * Copyright (c) Microsoft Corporation. All rights reserved.
6007
6021
  * Licensed under the MIT License.
@@ -6028,7 +6042,7 @@
6028
6042
  }
6029
6043
  }
6030
6044
 
6031
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6045
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6032
6046
 
6033
6047
  /*
6034
6048
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6140,10 +6154,15 @@
6140
6154
  if (handlingRefreshTokenResponse &&
6141
6155
  !forceCacheRefreshTokenResponse &&
6142
6156
  cacheRecord.account) {
6143
- const key = this.cacheStorage.generateAccountKey(AccountEntity.getAccountInfo(cacheRecord.account));
6144
- const account = this.cacheStorage.getAccount(key, request.correlationId);
6145
- if (!account) {
6157
+ const cachedAccounts = this.cacheStorage.getAllAccounts({
6158
+ homeAccountId: cacheRecord.account.homeAccountId,
6159
+ environment: cacheRecord.account.environment,
6160
+ }, request.correlationId);
6161
+ if (cachedAccounts.length < 1) {
6146
6162
  this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
6163
+ this.performanceClient?.addFields({
6164
+ acntLoggedOut: true,
6165
+ }, request.correlationId);
6147
6166
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
6148
6167
  }
6149
6168
  }
@@ -6362,7 +6381,7 @@
6362
6381
  return baseAccount;
6363
6382
  }
6364
6383
 
6365
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6384
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6366
6385
  /*
6367
6386
  * Copyright (c) Microsoft Corporation. All rights reserved.
6368
6387
  * Licensed under the MIT License.
@@ -6380,7 +6399,7 @@
6380
6399
  }
6381
6400
  }
6382
6401
 
6383
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6402
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6384
6403
 
6385
6404
  /*
6386
6405
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6616,7 +6635,7 @@
6616
6635
  }
6617
6636
  }
6618
6637
 
6619
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6638
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6620
6639
 
6621
6640
  /*
6622
6641
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6828,7 +6847,7 @@
6828
6847
  }
6829
6848
  }
6830
6849
 
6831
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6850
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6832
6851
 
6833
6852
  /*
6834
6853
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6926,7 +6945,7 @@
6926
6945
  }
6927
6946
  }
6928
6947
 
6929
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6948
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6930
6949
 
6931
6950
  /*
6932
6951
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6941,7 +6960,7 @@
6941
6960
  },
6942
6961
  };
6943
6962
 
6944
- /*! @azure/msal-common v15.14.0 2026-01-13 */
6963
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
6945
6964
 
6946
6965
  /*
6947
6966
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7165,7 +7184,7 @@
7165
7184
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7166
7185
  }
7167
7186
 
7168
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7187
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7169
7188
 
7170
7189
  /*
7171
7190
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7428,7 +7447,7 @@
7428
7447
  }
7429
7448
  }
7430
7449
 
7431
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7450
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7432
7451
  /*
7433
7452
  * Copyright (c) Microsoft Corporation. All rights reserved.
7434
7453
  * Licensed under the MIT License.
@@ -7436,7 +7455,7 @@
7436
7455
  const missingKidError = "missing_kid_error";
7437
7456
  const missingAlgError = "missing_alg_error";
7438
7457
 
7439
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7458
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7440
7459
 
7441
7460
  /*
7442
7461
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7461,7 +7480,7 @@
7461
7480
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7462
7481
  }
7463
7482
 
7464
- /*! @azure/msal-common v15.14.0 2026-01-13 */
7483
+ /*! @azure/msal-common v15.14.1 2026-01-17 */
7465
7484
 
7466
7485
  /*
7467
7486
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7896,7 +7915,7 @@
7896
7915
 
7897
7916
  /* eslint-disable header/header */
7898
7917
  const name = "@azure/msal-browser";
7899
- const version = "4.28.0";
7918
+ const version = "4.28.1";
7900
7919
 
7901
7920
  /*
7902
7921
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -16036,7 +16055,7 @@
16036
16055
  * @param request
16037
16056
  */
16038
16057
  async hydrateCache(result, request) {
16039
- const idTokenEntity = createIdTokenEntity(result.account?.homeAccountId, result.account?.environment, result.idToken, this.clientId, result.tenantId);
16058
+ const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.clientId, result.tenantId);
16040
16059
  let claimsHash;
16041
16060
  if (request.claims) {
16042
16061
  claimsHash = await this.cryptoImpl.hashString(request.claims);
@@ -16048,7 +16067,7 @@
16048
16067
  *
16049
16068
  * The next MSAL VFuture should map these both to same value if possible
16050
16069
  */
16051
- const accessTokenEntity = createAccessTokenEntity(result.account?.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
16070
+ const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.clientId, result.tenantId, result.scopes.join(" "),
16052
16071
  // Access token expiresOn stored in seconds, converting from AuthenticationResult expiresOn stored as Date
16053
16072
  result.expiresOn
16054
16073
  ? toSecondsFromDate(result.expiresOn)
@@ -19651,10 +19670,9 @@
19651
19670
  authorityMetadata: this.config.auth.authorityMetadata,
19652
19671
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache,
19653
19672
  };
19654
- const authority = request.authority
19655
- ? new Authority(Authority.generateAuthority(request.authority, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, request.correlationId || createNewGuid())
19656
- : undefined;
19657
- const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, idTokenClaims, authority);
19673
+ const authorityString = request.authority || this.config.auth.authority;
19674
+ const authority = await createDiscoveredInstance(Authority.generateAuthority(authorityString, request.azureCloudOptions), this.config.system.networkClient, this.storage, authorityOptions, this.logger, correlationId, this.performanceClient);
19675
+ const cacheRecordAccount = await invokeAsync(this.loadAccount.bind(this), PerformanceEvents.LoadAccount, this.logger, this.performanceClient, correlationId)(request, options.clientInfo || response.client_info || "", correlationId, authority, idTokenClaims);
19658
19676
  const idToken = await invokeAsync(this.loadIdToken.bind(this), PerformanceEvents.LoadIdToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, cacheRecordAccount.realm, correlationId, kmsi);
19659
19677
  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);
19660
19678
  const refreshToken = await invokeAsync(this.loadRefreshToken.bind(this), PerformanceEvents.LoadRefreshToken, this.logger, this.performanceClient, correlationId)(response, cacheRecordAccount.homeAccountId, cacheRecordAccount.environment, correlationId, kmsi);
@@ -19664,7 +19682,7 @@
19664
19682
  idToken,
19665
19683
  accessToken,
19666
19684
  refreshToken,
19667
- }, idTokenClaims, authority);
19685
+ }, authority, idTokenClaims);
19668
19686
  }
19669
19687
  catch (error) {
19670
19688
  rootMeasurement.end({ success: false }, error);
@@ -19680,20 +19698,20 @@
19680
19698
  * @param requestHomeAccountId
19681
19699
  * @returns `AccountEntity`
19682
19700
  */
19683
- async loadAccount(request, clientInfo, correlationId, idTokenClaims, authority) {
19701
+ async loadAccount(request, clientInfo, correlationId, authority, idTokenClaims) {
19684
19702
  this.logger.verbose("TokenCache - loading account");
19685
19703
  if (request.account) {
19686
19704
  const accountEntity = AccountEntity.createFromAccountInfo(request.account);
19687
19705
  await this.storage.setAccount(accountEntity, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
19688
19706
  return accountEntity;
19689
19707
  }
19690
- else if (!authority || (!clientInfo && !idTokenClaims)) {
19691
- this.logger.error("TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead.");
19708
+ else if (!clientInfo && !idTokenClaims) {
19709
+ this.logger.error("TokenCache - if an account is not provided on the request, clientInfo or idToken must be provided instead.");
19692
19710
  throw createBrowserAuthError(unableToLoadToken);
19693
19711
  }
19694
19712
  const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
19695
19713
  const claimsTenantId = idTokenClaims?.tid;
19696
- const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
19714
+ const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.getPreferredCache(), claimsTenantId, undefined, // authCodePayload
19697
19715
  undefined, // nativeAccountId
19698
19716
  this.logger);
19699
19717
  await this.storage.setAccount(cachedAccount, correlationId, isKmsi(idTokenClaims || {}), ApiId.loadExternalTokens);
@@ -19765,9 +19783,15 @@
19765
19783
  this.logger.verbose("TokenCache - no refresh token found in response");
19766
19784
  return null;
19767
19785
  }
19786
+ const expiresOn = response.refresh_token_expires_in
19787
+ ? response.refresh_token_expires_in + nowSeconds()
19788
+ : undefined;
19789
+ this.performanceClient.addFields({
19790
+ extRtExpiresOnSeconds: expiresOn,
19791
+ }, correlationId);
19768
19792
  this.logger.verbose("TokenCache - loading refresh token");
19769
19793
  const refreshTokenEntity = createRefreshTokenEntity(homeAccountId, environment, response.refresh_token, this.config.auth.clientId, response.foci, undefined, // userAssertionHash
19770
- response.refresh_token_expires_in);
19794
+ expiresOn);
19771
19795
  await this.storage.setRefreshTokenCredential(refreshTokenEntity, correlationId, kmsi);
19772
19796
  return refreshTokenEntity;
19773
19797
  }
@@ -19779,7 +19803,7 @@
19779
19803
  * @param authority
19780
19804
  * @returns `AuthenticationResult`
19781
19805
  */
19782
- generateAuthenticationResult(request, cacheRecord, idTokenClaims, authority) {
19806
+ generateAuthenticationResult(request, cacheRecord, authority, idTokenClaims) {
19783
19807
  let accessToken = "";
19784
19808
  let responseScopes = [];
19785
19809
  let expiresOn = null;