@azure/msal-browser 4.26.2 → 4.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) 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.d.ts +2 -8
  8. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +11 -25
  10. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  11. package/dist/cache/AccountManager.mjs +1 -1
  12. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  13. package/dist/cache/BrowserCacheManager.mjs +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.mjs +2 -3
  16. package/dist/cache/CacheKeys.mjs.map +1 -1
  17. package/dist/cache/CookieStorage.mjs +1 -1
  18. package/dist/cache/DatabaseStorage.mjs +1 -1
  19. package/dist/cache/EncryptedData.mjs +1 -1
  20. package/dist/cache/LocalStorage.mjs +1 -1
  21. package/dist/cache/MemoryStorage.mjs +1 -1
  22. package/dist/cache/SessionStorage.mjs +1 -1
  23. package/dist/cache/TokenCache.mjs +1 -1
  24. package/dist/config/Configuration.d.ts +4 -0
  25. package/dist/config/Configuration.d.ts.map +1 -1
  26. package/dist/config/Configuration.mjs +2 -1
  27. package/dist/config/Configuration.mjs.map +1 -1
  28. package/dist/controllers/ControllerFactory.mjs +1 -1
  29. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  30. package/dist/controllers/StandardController.d.ts.map +1 -1
  31. package/dist/controllers/StandardController.mjs +2 -2
  32. package/dist/controllers/StandardController.mjs.map +1 -1
  33. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  34. package/dist/crypto/BrowserCrypto.mjs +1 -1
  35. package/dist/crypto/CryptoOps.mjs +1 -1
  36. package/dist/crypto/PkceGenerator.mjs +1 -1
  37. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  38. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  39. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  40. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  41. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  42. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  43. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  44. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +9 -23
  45. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  46. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  47. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  49. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  50. package/dist/custom-auth-path/cache/CacheKeys.mjs +2 -3
  51. package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
  52. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  53. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  54. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  55. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  56. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  57. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  58. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  59. package/dist/custom-auth-path/config/Configuration.d.ts +4 -0
  60. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  61. package/dist/custom-auth-path/config/Configuration.mjs +2 -1
  62. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  63. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  64. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  65. package/dist/custom-auth-path/controllers/StandardController.mjs +2 -2
  66. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  67. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  68. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  69. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  71. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  177. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  178. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  179. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  180. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  181. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  182. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  183. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  184. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  185. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  186. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  198. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  199. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  200. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  201. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  202. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  203. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  204. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  205. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  206. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  207. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  208. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  209. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  210. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  211. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  212. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  213. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  214. package/dist/encode/Base64Decode.mjs +1 -1
  215. package/dist/encode/Base64Encode.mjs +1 -1
  216. package/dist/error/BrowserAuthError.mjs +1 -1
  217. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  218. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  219. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  220. package/dist/error/NativeAuthError.mjs +1 -1
  221. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  222. package/dist/error/NestedAppAuthError.mjs +1 -1
  223. package/dist/event/EventHandler.mjs +1 -1
  224. package/dist/event/EventMessage.mjs +1 -1
  225. package/dist/event/EventType.mjs +1 -1
  226. package/dist/index.mjs +1 -1
  227. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  228. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  229. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  230. package/dist/interaction_client/PopupClient.mjs +1 -1
  231. package/dist/interaction_client/RedirectClient.mjs +1 -1
  232. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  233. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  234. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  235. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  236. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  237. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  238. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  239. package/dist/naa/BridgeError.mjs +1 -1
  240. package/dist/naa/BridgeProxy.mjs +1 -1
  241. package/dist/naa/BridgeStatusCode.mjs +1 -1
  242. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  243. package/dist/navigation/NavigationClient.mjs +1 -1
  244. package/dist/network/FetchClient.mjs +1 -1
  245. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  246. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  247. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  248. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  249. package/dist/packageMetadata.d.ts +1 -1
  250. package/dist/packageMetadata.mjs +2 -2
  251. package/dist/protocol/Authorize.mjs +1 -1
  252. package/dist/request/RequestHelpers.mjs +1 -1
  253. package/dist/response/ResponseHandler.mjs +1 -1
  254. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  255. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  256. package/dist/utils/BrowserConstants.mjs +1 -1
  257. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  258. package/dist/utils/BrowserUtils.mjs +1 -1
  259. package/dist/utils/Helpers.mjs +1 -1
  260. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  261. package/lib/custom-auth-path/msal-custom-auth.cjs +76 -86
  262. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  263. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  264. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  265. package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -0
  266. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  267. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  268. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  269. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  270. package/lib/msal-browser.cjs +85 -90
  271. package/lib/msal-browser.cjs.map +1 -1
  272. package/lib/msal-browser.js +85 -90
  273. package/lib/msal-browser.js.map +1 -1
  274. package/lib/msal-browser.min.js +66 -66
  275. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  276. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  277. package/lib/types/config/Configuration.d.ts +4 -0
  278. package/lib/types/config/Configuration.d.ts.map +1 -1
  279. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  280. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  281. package/lib/types/packageMetadata.d.ts +1 -1
  282. package/package.json +2 -2
  283. package/src/broker/nativeBroker/PlatformAuthProvider.ts +21 -23
  284. package/src/config/Configuration.ts +5 -0
  285. package/src/controllers/StandardController.ts +2 -1
  286. package/src/packageMetadata.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.26.2 2025-11-19 */
1
+ /*! @azure/msal-browser v4.27.0 2025-12-04 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -276,7 +276,7 @@ const JsonWebTokenTypes = {
276
276
  // Token renewal offset default in seconds
277
277
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
278
278
 
279
- /*! @azure/msal-common v15.13.2 2025-11-19 */
279
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
280
280
  /*
281
281
  * Copyright (c) Microsoft Corporation. All rights reserved.
282
282
  * Licensed under the MIT License.
@@ -287,7 +287,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
287
287
  const unexpectedError = "unexpected_error";
288
288
  const postRequestFailed$1 = "post_request_failed";
289
289
 
290
- /*! @azure/msal-common v15.13.2 2025-11-19 */
290
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
291
291
 
292
292
  /*
293
293
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -322,7 +322,7 @@ function createAuthError(code, additionalMessage) {
322
322
  : AuthErrorMessages[code]);
323
323
  }
324
324
 
325
- /*! @azure/msal-common v15.13.2 2025-11-19 */
325
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
326
326
  /*
327
327
  * Copyright (c) Microsoft Corporation. All rights reserved.
328
328
  * Licensed under the MIT License.
@@ -373,7 +373,7 @@ const methodNotImplemented = "method_not_implemented";
373
373
  const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
374
374
  const platformBrokerError = "platform_broker_error";
375
375
 
376
- /*! @azure/msal-common v15.13.2 2025-11-19 */
376
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
377
377
 
378
378
  /*
379
379
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -448,7 +448,7 @@ function createClientAuthError(errorCode, additionalMessage) {
448
448
  return new ClientAuthError(errorCode, additionalMessage);
449
449
  }
450
450
 
451
- /*! @azure/msal-common v15.13.2 2025-11-19 */
451
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
452
452
 
453
453
  /*
454
454
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -487,7 +487,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
487
487
  },
488
488
  };
489
489
 
490
- /*! @azure/msal-common v15.13.2 2025-11-19 */
490
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
491
491
 
492
492
  /*
493
493
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -678,12 +678,12 @@ class Logger {
678
678
  }
679
679
  }
680
680
 
681
- /*! @azure/msal-common v15.13.2 2025-11-19 */
681
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
682
682
  /* eslint-disable header/header */
683
683
  const name$1 = "@azure/msal-common";
684
- const version$1 = "15.13.2";
684
+ const version$1 = "15.13.3";
685
685
 
686
- /*! @azure/msal-common v15.13.2 2025-11-19 */
686
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
687
687
  /*
688
688
  * Copyright (c) Microsoft Corporation. All rights reserved.
689
689
  * Licensed under the MIT License.
@@ -692,7 +692,7 @@ const AzureCloudInstance = {
692
692
  // AzureCloudInstance is not specified.
693
693
  None: "none"};
694
694
 
695
- /*! @azure/msal-common v15.13.2 2025-11-19 */
695
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
696
696
  /*
697
697
  * Copyright (c) Microsoft Corporation. All rights reserved.
698
698
  * Licensed under the MIT License.
@@ -719,9 +719,10 @@ const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
719
719
  const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
720
720
  const authorityMismatch = "authority_mismatch";
721
721
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
722
- const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
722
+ const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
723
+ const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
723
724
 
724
- /*! @azure/msal-common v15.13.2 2025-11-19 */
725
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
725
726
 
726
727
  /*
727
728
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -751,6 +752,7 @@ const ClientConfigurationErrorMessages = {
751
752
  [authorityMismatch]: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority.",
752
753
  [invalidAuthorizePostBodyParameters]: "Invalid authorize post body parameters provided. If you are using authorizePostBodyParameters, the request method must be POST. Please check the request method and parameters.",
753
754
  [invalidRequestMethodForEAR]: "Invalid request method for EAR protocol mode. The request method cannot be GET when using EAR protocol mode. Please change the request method to POST.",
755
+ [invalidPlatformBrokerConfiguration]: "Invalid platform broker configuration. `allowPlatformBrokerWithDOM` can only be enabled when `allowPlatformBroker` is enabled.",
754
756
  };
755
757
  /**
756
758
  * Error thrown when there is an error in configuration of the MSAL.js library.
@@ -766,7 +768,7 @@ function createClientConfigurationError(errorCode) {
766
768
  return new ClientConfigurationError(errorCode);
767
769
  }
768
770
 
769
- /*! @azure/msal-common v15.13.2 2025-11-19 */
771
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
770
772
  /*
771
773
  * Copyright (c) Microsoft Corporation. All rights reserved.
772
774
  * Licensed under the MIT License.
@@ -863,7 +865,7 @@ class StringUtils {
863
865
  }
864
866
  }
865
867
 
866
- /*! @azure/msal-common v15.13.2 2025-11-19 */
868
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
867
869
 
868
870
  /*
869
871
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1058,7 +1060,7 @@ class ScopeSet {
1058
1060
  }
1059
1061
  }
1060
1062
 
1061
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1063
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1062
1064
 
1063
1065
  /*
1064
1066
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1098,7 +1100,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1098
1100
  };
1099
1101
  }
1100
1102
 
1101
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1103
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1102
1104
  /*
1103
1105
  * Copyright (c) Microsoft Corporation. All rights reserved.
1104
1106
  * Licensed under the MIT License.
@@ -1180,7 +1182,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1180
1182
  return updatedAccountInfo;
1181
1183
  }
1182
1184
 
1183
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1185
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1184
1186
  /*
1185
1187
  * Copyright (c) Microsoft Corporation. All rights reserved.
1186
1188
  * Licensed under the MIT License.
@@ -1195,7 +1197,7 @@ const AuthorityType = {
1195
1197
  Ciam: 3,
1196
1198
  };
1197
1199
 
1198
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1200
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1199
1201
  /*
1200
1202
  * Copyright (c) Microsoft Corporation. All rights reserved.
1201
1203
  * Licensed under the MIT License.
@@ -1217,7 +1219,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1217
1219
  return null;
1218
1220
  }
1219
1221
 
1220
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1222
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1221
1223
  /*
1222
1224
  * Copyright (c) Microsoft Corporation. All rights reserved.
1223
1225
  * Licensed under the MIT License.
@@ -1241,7 +1243,7 @@ const ProtocolMode = {
1241
1243
  EAR: "EAR",
1242
1244
  };
1243
1245
 
1244
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1246
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1245
1247
 
1246
1248
  /*
1247
1249
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1462,7 +1464,7 @@ class AccountEntity {
1462
1464
  }
1463
1465
  }
1464
1466
 
1465
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1467
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1466
1468
 
1467
1469
  /*
1468
1470
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1543,7 +1545,7 @@ function checkMaxAge(authTime, maxAge) {
1543
1545
  }
1544
1546
  }
1545
1547
 
1546
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1548
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1547
1549
 
1548
1550
  /*
1549
1551
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1659,7 +1661,7 @@ function normalizeUrlForComparison(url) {
1659
1661
  }
1660
1662
  }
1661
1663
 
1662
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1664
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1663
1665
 
1664
1666
  /*
1665
1667
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1823,7 +1825,7 @@ class UrlString {
1823
1825
  }
1824
1826
  }
1825
1827
 
1826
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1828
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1827
1829
 
1828
1830
  /*
1829
1831
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1962,7 +1964,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1962
1964
  return null;
1963
1965
  }
1964
1966
 
1965
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1967
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1966
1968
  /*
1967
1969
  * Copyright (c) Microsoft Corporation. All rights reserved.
1968
1970
  * Licensed under the MIT License.
@@ -1970,7 +1972,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1970
1972
  const cacheQuotaExceeded = "cache_quota_exceeded";
1971
1973
  const cacheErrorUnknown = "cache_error_unknown";
1972
1974
 
1973
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1975
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1974
1976
 
1975
1977
  /*
1976
1978
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2015,7 +2017,7 @@ function createCacheError(e) {
2015
2017
  }
2016
2018
  }
2017
2019
 
2018
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2020
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2019
2021
 
2020
2022
  /*
2021
2023
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3124,7 +3126,7 @@ class DefaultStorageClass extends CacheManager {
3124
3126
  }
3125
3127
  }
3126
3128
 
3127
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3129
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3128
3130
  /*
3129
3131
  * Copyright (c) Microsoft Corporation. All rights reserved.
3130
3132
  * Licensed under the MIT License.
@@ -3391,7 +3393,7 @@ const PerformanceEvents = {
3391
3393
  const PerformanceEventStatus = {
3392
3394
  InProgress: 1};
3393
3395
 
3394
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3396
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3395
3397
 
3396
3398
  /*
3397
3399
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3470,7 +3472,7 @@ class StubPerformanceClient {
3470
3472
  }
3471
3473
  }
3472
3474
 
3473
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3475
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3474
3476
 
3475
3477
  /*
3476
3478
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3570,7 +3572,7 @@ function isOidcProtocolMode(config) {
3570
3572
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3571
3573
  }
3572
3574
 
3573
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3575
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3574
3576
  /*
3575
3577
  * Copyright (c) Microsoft Corporation. All rights reserved.
3576
3578
  * Licensed under the MIT License.
@@ -3580,7 +3582,7 @@ const CcsCredentialType = {
3580
3582
  UPN: "UPN",
3581
3583
  };
3582
3584
 
3583
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3585
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3584
3586
  /*
3585
3587
  * Copyright (c) Microsoft Corporation. All rights reserved.
3586
3588
  * Licensed under the MIT License.
@@ -3630,7 +3632,7 @@ const INSTANCE_AWARE = "instance_aware";
3630
3632
  const EAR_JWK = "ear_jwk";
3631
3633
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
3632
3634
 
3633
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3635
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3634
3636
 
3635
3637
  /*
3636
3638
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4010,7 +4012,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4010
4012
  });
4011
4013
  }
4012
4014
 
4013
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4015
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4014
4016
  /*
4015
4017
  * Copyright (c) Microsoft Corporation. All rights reserved.
4016
4018
  * Licensed under the MIT License.
@@ -4022,7 +4024,7 @@ function isOpenIdConfigResponse(response) {
4022
4024
  response.hasOwnProperty("jwks_uri"));
4023
4025
  }
4024
4026
 
4025
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4027
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4026
4028
  /*
4027
4029
  * Copyright (c) Microsoft Corporation. All rights reserved.
4028
4030
  * Licensed under the MIT License.
@@ -4032,7 +4034,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4032
4034
  response.hasOwnProperty("metadata"));
4033
4035
  }
4034
4036
 
4035
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4037
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4036
4038
  /*
4037
4039
  * Copyright (c) Microsoft Corporation. All rights reserved.
4038
4040
  * Licensed under the MIT License.
@@ -4042,7 +4044,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4042
4044
  response.hasOwnProperty("error_description"));
4043
4045
  }
4044
4046
 
4045
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4047
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4046
4048
  /*
4047
4049
  * Copyright (c) Microsoft Corporation. All rights reserved.
4048
4050
  * Licensed under the MIT License.
@@ -4138,7 +4140,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4138
4140
  };
4139
4141
  };
4140
4142
 
4141
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4143
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4142
4144
 
4143
4145
  /*
4144
4146
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4244,7 +4246,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4244
4246
  },
4245
4247
  };
4246
4248
 
4247
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4249
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4248
4250
  /*
4249
4251
  * Copyright (c) Microsoft Corporation. All rights reserved.
4250
4252
  * Licensed under the MIT License.
@@ -4309,7 +4311,7 @@ function wasClockTurnedBack(cachedAt) {
4309
4311
  return cachedAtSec > nowSeconds();
4310
4312
  }
4311
4313
 
4312
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4314
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4313
4315
 
4314
4316
  /*
4315
4317
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4571,7 +4573,7 @@ function isAuthorityMetadataExpired(metadata) {
4571
4573
  return metadata.expiresAt <= nowSeconds();
4572
4574
  }
4573
4575
 
4574
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4576
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4575
4577
 
4576
4578
  /*
4577
4579
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5410,7 +5412,7 @@ function buildStaticAuthorityOptions(authOptions) {
5410
5412
  };
5411
5413
  }
5412
5414
 
5413
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5415
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5414
5416
 
5415
5417
  /*
5416
5418
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5441,7 +5443,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5441
5443
  }
5442
5444
  }
5443
5445
 
5444
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5446
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5445
5447
 
5446
5448
  /*
5447
5449
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5460,7 +5462,7 @@ class ServerError extends AuthError {
5460
5462
  }
5461
5463
  }
5462
5464
 
5463
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5465
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5464
5466
  /*
5465
5467
  * Copyright (c) Microsoft Corporation. All rights reserved.
5466
5468
  * Licensed under the MIT License.
@@ -5481,7 +5483,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5481
5483
  };
5482
5484
  }
5483
5485
 
5484
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5486
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5485
5487
 
5486
5488
  /*
5487
5489
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5568,7 +5570,7 @@ class ThrottlingUtils {
5568
5570
  }
5569
5571
  }
5570
5572
 
5571
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5573
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5572
5574
 
5573
5575
  /*
5574
5576
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5599,7 +5601,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
5599
5601
  return new NetworkError(error, httpStatus, responseHeaders);
5600
5602
  }
5601
5603
 
5602
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5604
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5603
5605
 
5604
5606
  /*
5605
5607
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5747,7 +5749,7 @@ class BaseClient {
5747
5749
  }
5748
5750
  }
5749
5751
 
5750
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5752
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5751
5753
  /*
5752
5754
  * Copyright (c) Microsoft Corporation. All rights reserved.
5753
5755
  * Licensed under the MIT License.
@@ -5763,7 +5765,7 @@ const consentRequired = "consent_required";
5763
5765
  const loginRequired = "login_required";
5764
5766
  const badToken = "bad_token";
5765
5767
 
5766
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5768
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5767
5769
 
5768
5770
  /*
5769
5771
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5835,7 +5837,7 @@ function createInteractionRequiredAuthError(errorCode) {
5835
5837
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
5836
5838
  }
5837
5839
 
5838
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5840
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5839
5841
 
5840
5842
  /*
5841
5843
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5907,7 +5909,7 @@ class ProtocolUtils {
5907
5909
  }
5908
5910
  }
5909
5911
 
5910
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5912
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5911
5913
 
5912
5914
  /*
5913
5915
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5989,7 +5991,7 @@ class PopTokenGenerator {
5989
5991
  }
5990
5992
  }
5991
5993
 
5992
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5994
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5993
5995
  /*
5994
5996
  * Copyright (c) Microsoft Corporation. All rights reserved.
5995
5997
  * Licensed under the MIT License.
@@ -6016,7 +6018,7 @@ class PopTokenGenerator {
6016
6018
  }
6017
6019
  }
6018
6020
 
6019
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6021
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6020
6022
 
6021
6023
  /*
6022
6024
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6347,7 +6349,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6347
6349
  return baseAccount;
6348
6350
  }
6349
6351
 
6350
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6352
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6351
6353
  /*
6352
6354
  * Copyright (c) Microsoft Corporation. All rights reserved.
6353
6355
  * Licensed under the MIT License.
@@ -6365,7 +6367,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
6365
6367
  }
6366
6368
  }
6367
6369
 
6368
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6370
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6369
6371
 
6370
6372
  /*
6371
6373
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6600,7 +6602,7 @@ class AuthorizationCodeClient extends BaseClient {
6600
6602
  }
6601
6603
  }
6602
6604
 
6603
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6605
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6604
6606
 
6605
6607
  /*
6606
6608
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6809,7 +6811,7 @@ class RefreshTokenClient extends BaseClient {
6809
6811
  }
6810
6812
  }
6811
6813
 
6812
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6814
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6813
6815
 
6814
6816
  /*
6815
6817
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6907,7 +6909,7 @@ class SilentFlowClient extends BaseClient {
6907
6909
  }
6908
6910
  }
6909
6911
 
6910
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6912
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6911
6913
 
6912
6914
  /*
6913
6915
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6922,7 +6924,7 @@ const StubbedNetworkModule = {
6922
6924
  },
6923
6925
  };
6924
6926
 
6925
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6927
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6926
6928
 
6927
6929
  /*
6928
6930
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7146,7 +7148,7 @@ function extractLoginHint(account) {
7146
7148
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7147
7149
  }
7148
7150
 
7149
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7151
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7150
7152
 
7151
7153
  /*
7152
7154
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7409,7 +7411,7 @@ class ServerTelemetryManager {
7409
7411
  }
7410
7412
  }
7411
7413
 
7412
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7414
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7413
7415
  /*
7414
7416
  * Copyright (c) Microsoft Corporation. All rights reserved.
7415
7417
  * Licensed under the MIT License.
@@ -7417,7 +7419,7 @@ class ServerTelemetryManager {
7417
7419
  const missingKidError = "missing_kid_error";
7418
7420
  const missingAlgError = "missing_alg_error";
7419
7421
 
7420
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7422
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7421
7423
 
7422
7424
  /*
7423
7425
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7442,7 +7444,7 @@ function createJoseHeaderError(code) {
7442
7444
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7443
7445
  }
7444
7446
 
7445
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7447
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7446
7448
 
7447
7449
  /*
7448
7450
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7877,7 +7879,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
7877
7879
 
7878
7880
  /* eslint-disable header/header */
7879
7881
  const name = "@azure/msal-browser";
7880
- const version = "4.26.2";
7882
+ const version = "4.27.0";
7881
7883
 
7882
7884
  /*
7883
7885
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -14149,7 +14151,6 @@ const CREDENTIAL_SCHEMA_VERSION = 2;
14149
14151
  const ACCOUNT_SCHEMA_VERSION = 2;
14150
14152
  const LOG_LEVEL_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.level`;
14151
14153
  const LOG_PII_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.pii`;
14152
- const PLATFORM_AUTH_DOM_SUPPORT = `${PREFIX}.${BROWSER_PREFIX}.platform.auth.dom`;
14153
14154
  const VERSION_CACHE_KEY = `${PREFIX}.version`;
14154
14155
  const ACCOUNT_KEYS = "account.keys";
14155
14156
  const TOKEN_KEYS = "token.keys";
@@ -17742,6 +17743,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
17742
17743
  asyncPopups: false,
17743
17744
  allowRedirectInIframe: false,
17744
17745
  allowPlatformBroker: false,
17746
+ allowPlatformBrokerWithDOM: false,
17745
17747
  nativeBrokerHandshakeTimeout: userInputSystem?.nativeBrokerHandshakeTimeout ||
17746
17748
  DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS,
17747
17749
  pollIntervalMilliseconds: BrowserConstants.DEFAULT_POLL_INTERVAL_MS,
@@ -18188,9 +18190,8 @@ class PlatformAuthDOMHandler {
18188
18190
  * Copyright (c) Microsoft Corporation. All rights reserved.
18189
18191
  * Licensed under the MIT License.
18190
18192
  */
18191
- async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout) {
18193
+ async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout, enablePlatformBrokerDOMSupport) {
18192
18194
  logger.trace("getPlatformAuthProvider called", correlationId);
18193
- const enablePlatformBrokerDOMSupport = isDomEnabledForPlatformAuth();
18194
18195
  logger.trace("Has client allowed platform auth via DOM API: " +
18195
18196
  enablePlatformBrokerDOMSupport);
18196
18197
  let platformAuthProvider;
@@ -18215,22 +18216,6 @@ async function getPlatformAuthProvider(logger, performanceClient, correlationId,
18215
18216
  }
18216
18217
  return platformAuthProvider;
18217
18218
  }
18218
- /**
18219
- * Returns true if the DOM API support for platform auth is enabled in session storage
18220
- * @returns boolean
18221
- * @deprecated
18222
- */
18223
- function isDomEnabledForPlatformAuth() {
18224
- let sessionStorage;
18225
- try {
18226
- sessionStorage = window[BrowserCacheLocation.SessionStorage];
18227
- // Mute errors if it's a non-browser environment or cookies are blocked.
18228
- return sessionStorage?.getItem(PLATFORM_AUTH_DOM_SUPPORT) === "true";
18229
- }
18230
- catch (e) {
18231
- return false;
18232
- }
18233
- }
18234
18219
  /**
18235
18220
  * Returns boolean indicating whether or not the request should attempt to use native broker
18236
18221
  * @param logger
@@ -18240,6 +18225,11 @@ function isDomEnabledForPlatformAuth() {
18240
18225
  */
18241
18226
  function isPlatformAuthAllowed(config, logger, platformAuthProvider, authenticationScheme) {
18242
18227
  logger.trace("isPlatformAuthAllowed called");
18228
+ // throw an error if allowPlatformBroker is not enabled and allowPlatformBrokerWithDOM is enabled
18229
+ if (!config.system.allowPlatformBroker &&
18230
+ config.system.allowPlatformBrokerWithDOM) {
18231
+ throw createClientConfigurationError(invalidPlatformBrokerConfiguration);
18232
+ }
18243
18233
  if (!config.system.allowPlatformBroker) {
18244
18234
  logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false");
18245
18235
  // Developer disabled WAM
@@ -19992,7 +19982,7 @@ class StandardController {
19992
19982
  if (allowPlatformBroker) {
19993
19983
  try {
19994
19984
  // check if platform authentication is available via DOM or browser extension and create relevant handlers
19995
- this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
19985
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout, this.config.system.allowPlatformBrokerWithDOM);
19996
19986
  }
19997
19987
  catch (e) {
19998
19988
  this.logger.verbose(e);