@azure/msal-browser 5.29.0 → 5.29.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 (264) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthRequest.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 +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  22. package/dist/controllers/StandardController.mjs +1 -1
  23. package/dist/crypto/BrowserCrypto.mjs +1 -1
  24. package/dist/crypto/CryptoOps.mjs +1 -1
  25. package/dist/crypto/PkceGenerator.mjs +1 -1
  26. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  27. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  28. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  29. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  30. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  31. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  32. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  33. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorV2.mjs +1 -1
  52. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodRegistrationRequiredStateV2.mjs +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +1 -1
  54. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodVerificationRequiredStateV2.mjs +1 -1
  55. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
  56. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +1 -1
  57. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
  58. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
  59. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -1
  60. package/dist/custom_auth/core/auth_flow/v2/state/PasswordRequiredStateV2.mjs +1 -1
  61. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  62. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  63. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  64. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  65. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  66. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  67. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  68. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  69. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  70. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  71. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  72. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  73. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  74. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  75. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  76. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  77. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  78. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  79. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  80. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  81. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  82. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  83. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +1 -1
  84. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +1 -1
  85. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
  86. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  87. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  88. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  89. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  90. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  91. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  92. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  93. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  94. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  95. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -1
  96. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
  97. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
  98. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
  99. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
  100. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +1 -1
  101. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
  102. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
  103. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
  104. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  105. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  106. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
  107. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  108. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  109. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  110. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  111. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  112. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  113. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  114. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  115. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  116. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  117. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  118. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  119. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  120. package/dist/custom_auth/index.mjs +1 -1
  121. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  122. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  123. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  124. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  125. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  126. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  127. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  128. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  129. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  130. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  131. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  132. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +1 -1
  133. package/dist/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateTransitionHandlerV2.mjs +1 -1
  134. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  135. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  136. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  137. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  138. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  139. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  140. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  141. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  142. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  143. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  144. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  145. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  146. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  147. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +1 -1
  148. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInStateTransitionHandlerV2.mjs +1 -1
  149. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  150. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  151. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  152. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  153. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  154. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  155. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  156. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  157. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  158. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  159. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  160. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  161. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  162. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  163. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +1 -1
  164. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountCodeRequiredStateV2.mjs +1 -1
  165. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountPasswordRequiredStateV2.mjs +1 -1
  166. package/dist/custom_auth/sign_up/auth_flow/v2/state/ExistingAccountStateTransitionHelperV2.mjs +1 -1
  167. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
  168. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  169. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  170. package/dist/encode/Base64Decode.mjs +1 -1
  171. package/dist/encode/Base64Encode.mjs +1 -1
  172. package/dist/error/BrowserAuthError.mjs +1 -1
  173. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  174. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  175. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  176. package/dist/error/NativeAuthError.mjs +1 -1
  177. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  178. package/dist/error/NestedAppAuthError.mjs +1 -1
  179. package/dist/event/EventHandler.mjs +1 -1
  180. package/dist/event/EventMessage.mjs +1 -1
  181. package/dist/event/EventType.mjs +1 -1
  182. package/dist/index.mjs +1 -1
  183. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  184. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  185. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  186. package/dist/interaction_client/PopupClient.mjs +1 -1
  187. package/dist/interaction_client/RedirectClient.mjs +6 -2
  188. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  189. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  190. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  191. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  192. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  193. package/dist/interaction_client/StandardInteractionClient.mjs +5 -1
  194. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  195. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  196. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  197. package/dist/log-strings-mapping.json +2 -2
  198. package/dist/naa/BridgeError.mjs +1 -1
  199. package/dist/naa/BridgeProxy.mjs +1 -1
  200. package/dist/naa/BridgeStatusCode.mjs +1 -1
  201. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  202. package/dist/navigation/NavigationClient.mjs +1 -1
  203. package/dist/network/FetchClient.mjs +1 -1
  204. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  205. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  206. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  207. package/dist/packageMetadata.mjs +2 -2
  208. package/dist/popup_relay/constants.mjs +1 -1
  209. package/dist/popup_relay/index.mjs +1 -1
  210. package/dist/popup_relay/relayClient.mjs +1 -1
  211. package/dist/protocol/Authorize.mjs +1 -1
  212. package/dist/redirect_bridge/index.mjs +1 -1
  213. package/dist/request/RequestHelpers.mjs +1 -1
  214. package/dist/request/SilentRequestHelpers.mjs +1 -1
  215. package/dist/response/ResponseHandler.mjs +1 -1
  216. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  217. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  218. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  219. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  220. package/dist/utils/BrowserConstants.mjs +1 -1
  221. package/dist/utils/BrowserDetection.mjs +1 -1
  222. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  223. package/dist/utils/BrowserUtils.mjs +1 -1
  224. package/dist/utils/Helpers.mjs +1 -1
  225. package/dist/utils/IframeMonitor.mjs +1 -1
  226. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  227. package/dist/utils/PopupMonitor.mjs +1 -1
  228. package/dist/utils/PopupOriginCheck.mjs +1 -1
  229. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  230. package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
  231. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  232. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  233. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  234. package/dist/webBrokerBridge/index.mjs +1 -1
  235. package/lib/custom-auth-path/log-strings-mapping.json +2 -2
  236. package/lib/custom-auth-path/msal-custom-auth.cjs +141 -81
  237. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  238. package/lib/custom-auth-path/msal-custom-auth.js +141 -81
  239. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  240. package/lib/log-strings-mapping.json +2 -2
  241. package/lib/msal-browser.cjs +143 -83
  242. package/lib/msal-browser.cjs.map +1 -1
  243. package/lib/msal-browser.js +143 -83
  244. package/lib/msal-browser.js.map +1 -1
  245. package/lib/msal-browser.min.js +2 -2
  246. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  247. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  248. package/lib/popup-relay/msal-popup-relay.js +2 -2
  249. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  250. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  251. package/lib/redirect-bridge/msal-redirect-bridge.cjs +39 -10
  252. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  253. package/lib/redirect-bridge/msal-redirect-bridge.js +39 -10
  254. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  255. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -2
  256. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
  257. package/package.json +2 -2
  258. package/src/interaction_client/RedirectClient.ts +5 -1
  259. package/src/interaction_client/StandardInteractionClient.ts +4 -0
  260. package/src/packageMetadata.ts +1 -1
  261. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  262. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  263. package/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  264. package/types/packageMetadata.d.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v5.29.0 2026-11-06 */
1
+ /*! @azure/msal-browser v5.29.1 2026-11-12 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -62,7 +62,7 @@ const ATTRIBUTE_TOKENS = "attribute_tokens";
62
62
  */
63
63
  const POPUP_ORIGIN_CHECK_DONE = "pocd";
64
64
 
65
- /*! @azure/msal-common v16.16.1 2026-11-06 */
65
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
66
66
  /*
67
67
  * Copyright (c) Microsoft Corporation. All rights reserved.
68
68
  * Licensed under the MIT License.
@@ -296,7 +296,7 @@ const JsonWebTokenTypes = {
296
296
  // Token renewal offset default in seconds
297
297
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
298
298
 
299
- /*! @azure/msal-common v16.16.1 2026-11-06 */
299
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
300
300
  /*
301
301
  * Copyright (c) Microsoft Corporation. All rights reserved.
302
302
  * Licensed under the MIT License.
@@ -325,7 +325,7 @@ function createAuthError(code, correlationId, additionalMessage) {
325
325
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
326
326
  }
327
327
 
328
- /*! @azure/msal-common v16.16.1 2026-11-06 */
328
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
329
329
 
330
330
  /*
331
331
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -348,7 +348,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
348
348
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
349
349
  }
350
350
 
351
- /*! @azure/msal-common v16.16.1 2026-11-06 */
351
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
352
352
  /*
353
353
  * Copyright (c) Microsoft Corporation. All rights reserved.
354
354
  * Licensed under the MIT License.
@@ -386,7 +386,7 @@ const methodNotImplemented = "method_not_implemented";
386
386
  const resourceParameterRequired = "resource_parameter_required";
387
387
  const misplacedResourceParam = "misplaced_resource_parameter";
388
388
 
389
- /*! @azure/msal-common v16.16.1 2026-11-06 */
389
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
390
390
 
391
391
  /*
392
392
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -424,7 +424,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
424
424
  };
425
425
  }
426
426
 
427
- /*! @azure/msal-common v16.16.1 2026-11-06 */
427
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
428
428
 
429
429
  /*
430
430
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -490,7 +490,7 @@ function getJWSPayload(authToken, correlationId) {
490
490
  return matches[2];
491
491
  }
492
492
 
493
- /*! @azure/msal-common v16.16.1 2026-11-06 */
493
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
494
494
 
495
495
  /*
496
496
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -578,7 +578,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
578
578
  return updatedAccountInfo;
579
579
  }
580
580
 
581
- /*! @azure/msal-common v16.16.1 2026-11-06 */
581
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
582
582
  /*
583
583
  * Copyright (c) Microsoft Corporation. All rights reserved.
584
584
  * Licensed under the MIT License.
@@ -592,7 +592,7 @@ const AuthorityType = {
592
592
  Ciam: 3,
593
593
  };
594
594
 
595
- /*! @azure/msal-common v16.16.1 2026-11-06 */
595
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
596
596
  /*
597
597
  * Copyright (c) Microsoft Corporation. All rights reserved.
598
598
  * Licensed under the MIT License.
@@ -614,7 +614,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
614
614
  return null;
615
615
  }
616
616
 
617
- /*! @azure/msal-common v16.16.1 2026-11-06 */
617
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
618
618
  /*
619
619
  * Copyright (c) Microsoft Corporation. All rights reserved.
620
620
  * Licensed under the MIT License.
@@ -638,7 +638,7 @@ const ProtocolMode = {
638
638
  EAR: "EAR",
639
639
  };
640
640
 
641
- /*! @azure/msal-common v16.16.1 2026-11-06 */
641
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
642
642
  /**
643
643
  * Returns the AccountInfo interface for this account.
644
644
  * @internal
@@ -827,7 +827,7 @@ function isAccountEntity(entity) {
827
827
  entity.hasOwnProperty("authorityType"));
828
828
  }
829
829
 
830
- /*! @azure/msal-common v16.16.1 2026-11-06 */
830
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
831
831
  /*
832
832
  * Copyright (c) Microsoft Corporation. All rights reserved.
833
833
  * Licensed under the MIT License.
@@ -837,7 +837,7 @@ function isAccountEntity(entity) {
837
837
  */
838
838
  const unexpectedError = "unexpected_error";
839
839
 
840
- /*! @azure/msal-common v16.16.1 2026-11-06 */
840
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
841
841
 
842
842
  /*
843
843
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -857,7 +857,7 @@ function createClientConfigurationError(errorCode, correlationId) {
857
857
  return new ClientConfigurationError(errorCode, correlationId);
858
858
  }
859
859
 
860
- /*! @azure/msal-common v16.16.1 2026-11-06 */
860
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
861
861
  /*
862
862
  * Copyright (c) Microsoft Corporation. All rights reserved.
863
863
  * Licensed under the MIT License.
@@ -897,7 +897,7 @@ function getResponseHeader(headers, name) {
897
897
  return headerName === undefined ? undefined : headers[headerName];
898
898
  }
899
899
 
900
- /*! @azure/msal-common v16.16.1 2026-11-06 */
900
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
901
901
  /*
902
902
  * Copyright (c) Microsoft Corporation. All rights reserved.
903
903
  * Licensed under the MIT License.
@@ -928,7 +928,7 @@ const invalidDpopHtu = "invalid_dpop_htu";
928
928
  const invalidDpopNonce = "invalid_dpop_nonce";
929
929
  const dpopMissingResourceContext = "dpop_missing_resource_context";
930
930
 
931
- /*! @azure/msal-common v16.16.1 2026-11-06 */
931
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
932
932
  /*
933
933
  * Copyright (c) Microsoft Corporation. All rights reserved.
934
934
  * Licensed under the MIT License.
@@ -940,7 +940,7 @@ function isOpenIdConfigResponse(response) {
940
940
  response.hasOwnProperty("jwks_uri"));
941
941
  }
942
942
 
943
- /*! @azure/msal-common v16.16.1 2026-11-06 */
943
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
944
944
  /*
945
945
  * Copyright (c) Microsoft Corporation. All rights reserved.
946
946
  * Licensed under the MIT License.
@@ -1020,12 +1020,18 @@ class StringUtils {
1020
1020
  }
1021
1021
  }
1022
1022
 
1023
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1023
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1024
1024
 
1025
1025
  /*
1026
1026
  * Copyright (c) Microsoft Corporation. All rights reserved.
1027
1027
  * Licensed under the MIT License.
1028
1028
  */
1029
+ // Matches ASCII controls, space, DEL, backslash, or the userinfo separator (@).
1030
+ const UNSAFE_AUTHORITY = /[\x00-\x20\x7f\\@]/;
1031
+ const DEFAULT_PORTS = {
1032
+ "https:": ":443",
1033
+ "http:": ":80",
1034
+ };
1029
1035
  /**
1030
1036
  * Url object class which can perform various transformations on url strings.
1031
1037
  */
@@ -1141,6 +1147,29 @@ class UrlString {
1141
1147
  AbsolutePath: match[5],
1142
1148
  QueryString: match[7],
1143
1149
  };
1150
+ let parsedUrl;
1151
+ try {
1152
+ parsedUrl = new URL(this.urlString);
1153
+ }
1154
+ catch {
1155
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1156
+ }
1157
+ const host = urlComponents.HostNameAndPort?.toLowerCase();
1158
+ const schemeAndAuthority = `${urlComponents.Protocol}//${host}`;
1159
+ const defaultPort = DEFAULT_PORTS[parsedUrl.protocol] ?? "";
1160
+ /*
1161
+ * Cross-check the original host; reparsing parsedUrl would hide parser differences.
1162
+ * URL has validated IPv6 syntax, so only bracketed hosts need a normalization comparison.
1163
+ */
1164
+ const hostMatches = host === parsedUrl.host ||
1165
+ host === `${parsedUrl.host}${defaultPort}` ||
1166
+ (host?.startsWith("[") &&
1167
+ new URL(`${urlComponents.Protocol}//${host}`).host ===
1168
+ parsedUrl.host);
1169
+ // Check authority ambiguity without restricting resource paths, queries, or fragments.
1170
+ if (UNSAFE_AUTHORITY.test(schemeAndAuthority) || !hostMatches) {
1171
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1172
+ }
1144
1173
  let pathSegments = urlComponents.AbsolutePath.split("/");
1145
1174
  pathSegments = pathSegments.filter((val) => val && val.length > 0); // remove empty elements
1146
1175
  urlComponents.PathSegments = pathSegments;
@@ -1178,7 +1207,7 @@ class UrlString {
1178
1207
  }
1179
1208
  }
1180
1209
 
1181
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1210
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1182
1211
 
1183
1212
  /*
1184
1213
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1332,7 +1361,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1332
1361
  return null;
1333
1362
  }
1334
1363
 
1335
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1364
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1336
1365
  /*
1337
1366
  * Copyright (c) Microsoft Corporation. All rights reserved.
1338
1367
  * Licensed under the MIT License.
@@ -1341,7 +1370,7 @@ const AzureCloudInstance = {
1341
1370
  // AzureCloudInstance is not specified.
1342
1371
  None: "none"};
1343
1372
 
1344
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1373
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1345
1374
  /*
1346
1375
  * Copyright (c) Microsoft Corporation. All rights reserved.
1347
1376
  * Licensed under the MIT License.
@@ -1351,7 +1380,7 @@ function isCloudInstanceDiscoveryResponse(response) {
1351
1380
  response.hasOwnProperty("metadata"));
1352
1381
  }
1353
1382
 
1354
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1383
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1355
1384
  /*
1356
1385
  * Copyright (c) Microsoft Corporation. All rights reserved.
1357
1386
  * Licensed under the MIT License.
@@ -1361,7 +1390,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
1361
1390
  response.hasOwnProperty("error_description"));
1362
1391
  }
1363
1392
 
1364
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1393
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1365
1394
  /*
1366
1395
  * Copyright (c) Microsoft Corporation. All rights reserved.
1367
1396
  * Licensed under the MIT License.
@@ -1432,7 +1461,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
1432
1461
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1433
1462
  const SetUserData = "setUserData";
1434
1463
 
1435
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1464
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1436
1465
  /*
1437
1466
  * Copyright (c) Microsoft Corporation. All rights reserved.
1438
1467
  * Licensed under the MIT License.
@@ -1468,7 +1497,8 @@ const invoke = (callback, eventName, logger, telemetryClient, correlationId) =>
1468
1497
  catch (e) {
1469
1498
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1470
1499
  try {
1471
- logger.trace(JSON.stringify(e), correlationId);
1500
+ // Prevent numeric error details from being treated as minified log hashes.
1501
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1472
1502
  }
1473
1503
  catch (e) {
1474
1504
  logger.trace("00dty7", correlationId);
@@ -1512,7 +1542,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
1512
1542
  .catch((e) => {
1513
1543
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1514
1544
  try {
1515
- logger.trace(JSON.stringify(e), correlationId);
1545
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1516
1546
  }
1517
1547
  catch (e) {
1518
1548
  logger.trace("00dty7", correlationId);
@@ -1525,12 +1555,26 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
1525
1555
  };
1526
1556
  };
1527
1557
 
1528
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1558
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1529
1559
 
1530
1560
  /*
1531
1561
  * Copyright (c) Microsoft Corporation. All rights reserved.
1532
1562
  * Licensed under the MIT License.
1533
1563
  */
1564
+ // Starts with an ASCII letter; remaining characters are ASCII letters, digits, or hyphens.
1565
+ const REGION_NAME_PATTERN = /^[a-z][a-z0-9-]*$/i;
1566
+ // A region becomes a DNS label, limited to 63 octets by RFC 1035 section 2.3.4.
1567
+ const MAX_REGION_NAME_LENGTH = 63;
1568
+ /**
1569
+ * Whether a region can safely be used as a single DNS label.
1570
+ */
1571
+ function isValidRegion(region) {
1572
+ return (typeof region === "string" &&
1573
+ region.length <= MAX_REGION_NAME_LENGTH &&
1574
+ REGION_NAME_PATTERN.test(region) &&
1575
+ // Keep the trailing-hyphen rule explicit rather than complicating the pattern.
1576
+ !region.endsWith("-"));
1577
+ }
1534
1578
  class RegionDiscovery {
1535
1579
  constructor(networkInterface, logger, performanceClient, correlationId) {
1536
1580
  this.networkInterface = networkInterface;
@@ -1590,12 +1634,16 @@ class RegionDiscovery {
1590
1634
  regionDiscoveryMetadata.region_source =
1591
1635
  RegionDiscoverySources.ENVIRONMENT_VARIABLE;
1592
1636
  }
1593
- // If no region was auto detected from the environment or from the IMDS endpoint, mark the attempt as a FAILED_AUTO_DETECTION
1594
- if (!autodetectedRegionName) {
1637
+ // Untrusted discovery values must be a single DNS label before becoming a host prefix.
1638
+ if (!autodetectedRegionName || !isValidRegion(autodetectedRegionName)) {
1639
+ if (autodetectedRegionName) {
1640
+ this.logger.warning("0n83q0", this.correlationId);
1641
+ }
1595
1642
  regionDiscoveryMetadata.region_source =
1596
1643
  RegionDiscoverySources.FAILED_AUTO_DETECTION;
1644
+ return null;
1597
1645
  }
1598
- return autodetectedRegionName || null;
1646
+ return autodetectedRegionName;
1599
1647
  }
1600
1648
  /**
1601
1649
  * Make the call to the IMDS endpoint
@@ -1636,7 +1684,7 @@ RegionDiscovery.IMDS_OPTIONS = {
1636
1684
  },
1637
1685
  };
1638
1686
 
1639
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1687
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1640
1688
  /*
1641
1689
  * Copyright (c) Microsoft Corporation. All rights reserved.
1642
1690
  * Licensed under the MIT License.
@@ -1701,7 +1749,7 @@ function wasClockTurnedBack(cachedAt) {
1701
1749
  return cachedAtSec > nowSeconds();
1702
1750
  }
1703
1751
 
1704
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1752
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1705
1753
 
1706
1754
  /*
1707
1755
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1988,7 +2036,7 @@ function serializeAttributeTokens(attributeTokens) {
1988
2036
  return [...attributeTokens].sort().join(" ");
1989
2037
  }
1990
2038
 
1991
- /*! @azure/msal-common v16.16.1 2026-11-06 */
2039
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1992
2040
 
1993
2041
  /*
1994
2042
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2841,6 +2889,9 @@ class Authority {
2841
2889
  * @param region string
2842
2890
  */
2843
2891
  static buildRegionalAuthorityString(host, region, correlationId, queryString) {
2892
+ if (!isValidRegion(region)) {
2893
+ throw createClientConfigurationError(urlParseError, correlationId);
2894
+ }
2844
2895
  // Create and validate a Url string object with the initial authority string
2845
2896
  const authorityUrlInstance = new UrlString(host, correlationId);
2846
2897
  authorityUrlInstance.validateAsUri();
@@ -2851,7 +2902,7 @@ class Authority {
2851
2902
  }
2852
2903
  // Include the query string portion of the url
2853
2904
  const url = UrlString.constructAuthorityUriFromObject({
2854
- ...authorityUrlInstance.getUrlComponents(),
2905
+ ...authorityUrlParts,
2855
2906
  HostNameAndPort: hostNameAndPort,
2856
2907
  }, correlationId).urlString;
2857
2908
  // Add the query string if a query string was provided
@@ -2956,7 +3007,7 @@ function buildStaticAuthorityOptions(authOptions) {
2956
3007
  };
2957
3008
  }
2958
3009
 
2959
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3010
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
2960
3011
 
2961
3012
  /*
2962
3013
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2990,7 +3041,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
2990
3041
  }
2991
3042
  }
2992
3043
 
2993
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3044
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
2994
3045
 
2995
3046
  /*
2996
3047
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3186,7 +3237,7 @@ class ScopeSet {
3186
3237
  }
3187
3238
  }
3188
3239
 
3189
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3240
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3190
3241
 
3191
3242
  /*
3192
3243
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3686,7 +3737,7 @@ function addAttributeTokens(parameters, attributeTokens) {
3686
3737
  }
3687
3738
  }
3688
3739
 
3689
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3740
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3690
3741
 
3691
3742
  /*
3692
3743
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3817,7 +3868,7 @@ function validateUrl(url, logger, correlationId) {
3817
3868
  }
3818
3869
  }
3819
3870
 
3820
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3871
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3821
3872
 
3822
3873
  /*
3823
3874
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3865,7 +3916,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
3865
3916
  },
3866
3917
  };
3867
3918
 
3868
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3919
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3869
3920
 
3870
3921
  /*
3871
3922
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3888,7 +3939,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
3888
3939
  },
3889
3940
  };
3890
3941
 
3891
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3942
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3892
3943
  /*
3893
3944
  * Copyright (c) Microsoft Corporation. All rights reserved.
3894
3945
  * Licensed under the MIT License.
@@ -4163,12 +4214,12 @@ class Logger {
4163
4214
  }
4164
4215
  }
4165
4216
 
4166
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4217
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4167
4218
  /* eslint-disable header/header */
4168
4219
  const name$1 = "@azure/msal-common";
4169
- const version$1 = "16.16.1";
4220
+ const version$1 = "16.16.2";
4170
4221
 
4171
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4222
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4172
4223
  /*
4173
4224
  * Copyright (c) Microsoft Corporation. All rights reserved.
4174
4225
  * Licensed under the MIT License.
@@ -4176,7 +4227,7 @@ const version$1 = "16.16.1";
4176
4227
  const cacheQuotaExceeded = "cache_quota_exceeded";
4177
4228
  const cacheErrorUnknown = "cache_error_unknown";
4178
4229
 
4179
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4230
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4180
4231
 
4181
4232
  /*
4182
4233
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4214,7 +4265,7 @@ function createCacheError(e) {
4214
4265
  }
4215
4266
  }
4216
4267
 
4217
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4268
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4218
4269
 
4219
4270
  /*
4220
4271
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5441,7 +5492,7 @@ class DefaultStorageClass extends CacheManager {
5441
5492
  }
5442
5493
  }
5443
5494
 
5444
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5495
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5445
5496
  /*
5446
5497
  * Copyright (c) Microsoft Corporation. All rights reserved.
5447
5498
  * Licensed under the MIT License.
@@ -5455,7 +5506,7 @@ class DefaultStorageClass extends CacheManager {
5455
5506
  const PerformanceEventStatus = {
5456
5507
  InProgress: 1};
5457
5508
 
5458
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5509
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5459
5510
 
5460
5511
  /*
5461
5512
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5513,7 +5564,7 @@ class StubPerformanceClient {
5513
5564
  }
5514
5565
  }
5515
5566
 
5516
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5567
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5517
5568
 
5518
5569
  /*
5519
5570
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5611,7 +5662,7 @@ function isOidcProtocolMode(config) {
5611
5662
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5612
5663
  }
5613
5664
 
5614
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5665
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5615
5666
  /*
5616
5667
  * Copyright (c) Microsoft Corporation. All rights reserved.
5617
5668
  * Licensed under the MIT License.
@@ -5638,7 +5689,7 @@ function isOidcProtocolMode(config) {
5638
5689
  }
5639
5690
  }
5640
5691
 
5641
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5692
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5642
5693
 
5643
5694
  /*
5644
5695
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5659,7 +5710,7 @@ function createJoseHeaderError(code, correlationId) {
5659
5710
  return new JoseHeaderError(code, correlationId);
5660
5711
  }
5661
5712
 
5662
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5713
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5663
5714
  /*
5664
5715
  * Copyright (c) Microsoft Corporation. All rights reserved.
5665
5716
  * Licensed under the MIT License.
@@ -5684,7 +5735,7 @@ function isPlainObject(value) {
5684
5735
  return Object.getPrototypeOf(value) === proto;
5685
5736
  }
5686
5737
 
5687
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5738
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5688
5739
  /*
5689
5740
  * Copyright (c) Microsoft Corporation. All rights reserved.
5690
5741
  * Licensed under the MIT License.
@@ -5694,7 +5745,7 @@ const missingAlgError = "missing_alg_error";
5694
5745
  const missingJwkError = "missing_jwk_error";
5695
5746
  const invalidJwkError = "invalid_jwk_error";
5696
5747
 
5697
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5748
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5698
5749
 
5699
5750
  /*
5700
5751
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5760,7 +5811,7 @@ class JoseHeader {
5760
5811
  }
5761
5812
  }
5762
5813
 
5763
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5814
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5764
5815
 
5765
5816
  /*
5766
5817
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5861,7 +5912,7 @@ class PopTokenGenerator {
5861
5912
  }
5862
5913
  }
5863
5914
 
5864
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5915
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5865
5916
 
5866
5917
  /*
5867
5918
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6016,7 +6067,7 @@ class DpopProofGenerator {
6016
6067
  }
6017
6068
  }
6018
6069
 
6019
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6070
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6020
6071
  /*
6021
6072
  * Copyright (c) Microsoft Corporation. All rights reserved.
6022
6073
  * Licensed under the MIT License.
@@ -6067,7 +6118,7 @@ const badToken = "bad_token";
6067
6118
  */
6068
6119
  const interruptedUser = "interrupted_user";
6069
6120
 
6070
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6121
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6071
6122
 
6072
6123
  /*
6073
6124
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6134,7 +6185,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
6134
6185
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
6135
6186
  }
6136
6187
 
6137
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6188
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6138
6189
 
6139
6190
  /*
6140
6191
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6153,7 +6204,7 @@ class ServerError extends AuthError {
6153
6204
  }
6154
6205
  }
6155
6206
 
6156
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6207
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6157
6208
 
6158
6209
  /*
6159
6210
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6224,7 +6275,7 @@ function parseRequestState(base64Decode, state, correlationId) {
6224
6275
  }
6225
6276
  }
6226
6277
 
6227
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6278
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6228
6279
 
6229
6280
  /*
6230
6281
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6652,7 +6703,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6652
6703
  return baseAccount;
6653
6704
  }
6654
6705
 
6655
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6706
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6656
6707
  /*
6657
6708
  * Copyright (c) Microsoft Corporation. All rights reserved.
6658
6709
  * Licensed under the MIT License.
@@ -6662,7 +6713,7 @@ const CcsCredentialType = {
6662
6713
  UPN: "UPN",
6663
6714
  };
6664
6715
 
6665
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6716
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6666
6717
  /*
6667
6718
  * Copyright (c) Microsoft Corporation. All rights reserved.
6668
6719
  * Licensed under the MIT License.
@@ -6681,7 +6732,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
6681
6732
  }
6682
6733
  }
6683
6734
 
6684
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6735
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6685
6736
 
6686
6737
  /*
6687
6738
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6705,7 +6756,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6705
6756
  };
6706
6757
  }
6707
6758
 
6708
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6759
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6709
6760
 
6710
6761
  /*
6711
6762
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6795,7 +6846,7 @@ function getRetryAfterHeader(response) {
6795
6846
  return undefined;
6796
6847
  }
6797
6848
 
6798
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6849
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6799
6850
 
6800
6851
  /*
6801
6852
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6826,7 +6877,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6826
6877
  return new NetworkError(error, httpStatus, responseHeaders);
6827
6878
  }
6828
6879
 
6829
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6880
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6830
6881
 
6831
6882
  /*
6832
6883
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6960,7 +7011,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
6960
7011
  return response;
6961
7012
  }
6962
7013
 
6963
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7014
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6964
7015
 
6965
7016
  /*
6966
7017
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7003,7 +7054,8 @@ class AuthorizationCodeClient {
7003
7054
  throw createClientAuthError(requestCannotBeMade, request.correlationId);
7004
7055
  }
7005
7056
  // Check for new cloud instance
7006
- if (authCodePayload && authCodePayload.cloud_instance_host_name) {
7057
+ if (this.config.authOptions.instanceAware === true &&
7058
+ authCodePayload?.cloud_instance_host_name) {
7007
7059
  await invokeAsync(this.updateTokenEndpointAuthority.bind(this), UpdateTokenEndpointAuthority, this.logger, this.performanceClient, request.correlationId)(authCodePayload.cloud_instance_host_name, request.correlationId);
7008
7060
  }
7009
7061
  const reqTimestamp = nowSeconds();
@@ -7227,7 +7279,7 @@ class AuthorizationCodeClient {
7227
7279
  }
7228
7280
  }
7229
7281
 
7230
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7282
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7231
7283
 
7232
7284
  /*
7233
7285
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7412,13 +7464,13 @@ function validateAuthorizationResponse(serverResponse, requestState, correlation
7412
7464
  decodedServerResponseState = decodeURIComponent(serverResponse.state);
7413
7465
  }
7414
7466
  catch (e) {
7415
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7467
+ throw createClientAuthError(invalidState, correlationId);
7416
7468
  }
7417
7469
  try {
7418
7470
  decodedRequestState = decodeURIComponent(requestState);
7419
7471
  }
7420
7472
  catch (e) {
7421
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7473
+ throw createClientAuthError(invalidState, correlationId);
7422
7474
  }
7423
7475
  if (decodedServerResponseState !== decodedRequestState) {
7424
7476
  throw createClientAuthError(stateMismatch, correlationId);
@@ -7457,7 +7509,7 @@ function extractLoginHint(account) {
7457
7509
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7458
7510
  }
7459
7511
 
7460
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7512
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7461
7513
 
7462
7514
  /*
7463
7515
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7692,7 +7744,7 @@ class RefreshTokenClient {
7692
7744
  }
7693
7745
  }
7694
7746
 
7695
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7747
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7696
7748
 
7697
7749
  /*
7698
7750
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7985,7 +8037,7 @@ class StubServerTelemetryManager extends ServerTelemetryManager {
7985
8037
  clearNativeBrokerErrorCode() { }
7986
8038
  }
7987
8039
 
7988
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8040
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7989
8041
 
7990
8042
  /*
7991
8043
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8112,7 +8164,7 @@ class SilentFlowClient {
8112
8164
  }
8113
8165
  }
8114
8166
 
8115
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8167
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8116
8168
 
8117
8169
  /*
8118
8170
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8128,7 +8180,7 @@ const StubbedNetworkModule = {
8128
8180
  },
8129
8181
  };
8130
8182
 
8131
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8183
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8132
8184
 
8133
8185
  /*
8134
8186
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8580,7 +8632,7 @@ function filterReservedSignUpAttributesV2(attributes, logger, correlationId) {
8580
8632
 
8581
8633
  /* eslint-disable header/header */
8582
8634
  const name = "@azure/msal-browser";
8583
- const version = "5.29.0";
8635
+ const version = "5.29.1";
8584
8636
 
8585
8637
  /*
8586
8638
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11504,6 +11556,10 @@ class StandardInteractionClient extends BaseInteractionClient {
11504
11556
  clientId: this.config.auth.clientId,
11505
11557
  authority: discoveredAuthority,
11506
11558
  clientCapabilities: this.config.auth.clientCapabilities,
11559
+ instanceAware: requestExtraQueryParameters?.instance_aware
11560
+ ?.length
11561
+ ? requestExtraQueryParameters.instance_aware === "true"
11562
+ : this.config.auth.instanceAware,
11507
11563
  redirectUri: this.config.auth.redirectUri,
11508
11564
  isMcp: this.config.auth.isMcp,
11509
11565
  },
@@ -25095,7 +25151,11 @@ class RedirectClient extends StandardInteractionClient {
25095
25151
  const discoveredAuthority = await invokeAsync(getDiscoveredAuthority, StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, request.correlationId)(this.config, this.correlationId, this.performanceClient, this.browserStorage, this.logger, authority, azureCloudOptions, extraQueryParameters, account);
25096
25152
  return invokeAsync(handleResponseEAR, HandleResponseEar, this.logger, this.performanceClient, request.correlationId)(request, serverParams, ApiId.acquireTokenRedirect, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
25097
25153
  }
25098
- const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({ serverTelemetryManager, requestAuthority: request.authority });
25154
+ const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
25155
+ serverTelemetryManager,
25156
+ requestAuthority: request.authority,
25157
+ requestExtraQueryParameters: request.extraQueryParameters,
25158
+ });
25099
25159
  return invokeAsync(handleResponseCode, HandleResponseCode, this.logger, this.performanceClient, request.correlationId)(request, serverParams, codeVerifier, ApiId.acquireTokenRedirect, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider, this.tokenBindingKeyManager);
25100
25160
  }
25101
25161
  /**