@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,4 +1,4 @@
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
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msalCustomAuth = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v16.16.1 2026-11-06 */
9
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -66,7 +66,7 @@
66
66
  */
67
67
  const POPUP_ORIGIN_CHECK_DONE = "pocd";
68
68
 
69
- /*! @azure/msal-common v16.16.1 2026-11-06 */
69
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
70
70
  /*
71
71
  * Copyright (c) Microsoft Corporation. All rights reserved.
72
72
  * Licensed under the MIT License.
@@ -300,7 +300,7 @@
300
300
  // Token renewal offset default in seconds
301
301
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
302
302
 
303
- /*! @azure/msal-common v16.16.1 2026-11-06 */
303
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
304
304
  /*
305
305
  * Copyright (c) Microsoft Corporation. All rights reserved.
306
306
  * Licensed under the MIT License.
@@ -329,7 +329,7 @@
329
329
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
330
330
  }
331
331
 
332
- /*! @azure/msal-common v16.16.1 2026-11-06 */
332
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
333
333
 
334
334
  /*
335
335
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -352,7 +352,7 @@
352
352
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
353
353
  }
354
354
 
355
- /*! @azure/msal-common v16.16.1 2026-11-06 */
355
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
356
356
  /*
357
357
  * Copyright (c) Microsoft Corporation. All rights reserved.
358
358
  * Licensed under the MIT License.
@@ -390,7 +390,7 @@
390
390
  const resourceParameterRequired = "resource_parameter_required";
391
391
  const misplacedResourceParam = "misplaced_resource_parameter";
392
392
 
393
- /*! @azure/msal-common v16.16.1 2026-11-06 */
393
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
394
394
 
395
395
  /*
396
396
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -428,7 +428,7 @@
428
428
  };
429
429
  }
430
430
 
431
- /*! @azure/msal-common v16.16.1 2026-11-06 */
431
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
432
432
 
433
433
  /*
434
434
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -494,7 +494,7 @@
494
494
  return matches[2];
495
495
  }
496
496
 
497
- /*! @azure/msal-common v16.16.1 2026-11-06 */
497
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
498
498
 
499
499
  /*
500
500
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -582,7 +582,7 @@
582
582
  return updatedAccountInfo;
583
583
  }
584
584
 
585
- /*! @azure/msal-common v16.16.1 2026-11-06 */
585
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
586
586
  /*
587
587
  * Copyright (c) Microsoft Corporation. All rights reserved.
588
588
  * Licensed under the MIT License.
@@ -596,7 +596,7 @@
596
596
  Ciam: 3,
597
597
  };
598
598
 
599
- /*! @azure/msal-common v16.16.1 2026-11-06 */
599
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
600
600
  /*
601
601
  * Copyright (c) Microsoft Corporation. All rights reserved.
602
602
  * Licensed under the MIT License.
@@ -618,7 +618,7 @@
618
618
  return null;
619
619
  }
620
620
 
621
- /*! @azure/msal-common v16.16.1 2026-11-06 */
621
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
622
622
  /*
623
623
  * Copyright (c) Microsoft Corporation. All rights reserved.
624
624
  * Licensed under the MIT License.
@@ -642,7 +642,7 @@
642
642
  EAR: "EAR",
643
643
  };
644
644
 
645
- /*! @azure/msal-common v16.16.1 2026-11-06 */
645
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
646
646
  /**
647
647
  * Returns the AccountInfo interface for this account.
648
648
  * @internal
@@ -831,7 +831,7 @@
831
831
  entity.hasOwnProperty("authorityType"));
832
832
  }
833
833
 
834
- /*! @azure/msal-common v16.16.1 2026-11-06 */
834
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
835
835
  /*
836
836
  * Copyright (c) Microsoft Corporation. All rights reserved.
837
837
  * Licensed under the MIT License.
@@ -841,7 +841,7 @@
841
841
  */
842
842
  const unexpectedError = "unexpected_error";
843
843
 
844
- /*! @azure/msal-common v16.16.1 2026-11-06 */
844
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
845
845
 
846
846
  /*
847
847
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -861,7 +861,7 @@
861
861
  return new ClientConfigurationError(errorCode, correlationId);
862
862
  }
863
863
 
864
- /*! @azure/msal-common v16.16.1 2026-11-06 */
864
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
865
865
  /*
866
866
  * Copyright (c) Microsoft Corporation. All rights reserved.
867
867
  * Licensed under the MIT License.
@@ -901,7 +901,7 @@
901
901
  return headerName === undefined ? undefined : headers[headerName];
902
902
  }
903
903
 
904
- /*! @azure/msal-common v16.16.1 2026-11-06 */
904
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
905
905
  /*
906
906
  * Copyright (c) Microsoft Corporation. All rights reserved.
907
907
  * Licensed under the MIT License.
@@ -932,7 +932,7 @@
932
932
  const invalidDpopNonce = "invalid_dpop_nonce";
933
933
  const dpopMissingResourceContext = "dpop_missing_resource_context";
934
934
 
935
- /*! @azure/msal-common v16.16.1 2026-11-06 */
935
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
936
936
  /*
937
937
  * Copyright (c) Microsoft Corporation. All rights reserved.
938
938
  * Licensed under the MIT License.
@@ -944,7 +944,7 @@
944
944
  response.hasOwnProperty("jwks_uri"));
945
945
  }
946
946
 
947
- /*! @azure/msal-common v16.16.1 2026-11-06 */
947
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
948
948
  /*
949
949
  * Copyright (c) Microsoft Corporation. All rights reserved.
950
950
  * Licensed under the MIT License.
@@ -1024,12 +1024,18 @@
1024
1024
  }
1025
1025
  }
1026
1026
 
1027
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1027
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1028
1028
 
1029
1029
  /*
1030
1030
  * Copyright (c) Microsoft Corporation. All rights reserved.
1031
1031
  * Licensed under the MIT License.
1032
1032
  */
1033
+ // Matches ASCII controls, space, DEL, backslash, or the userinfo separator (@).
1034
+ const UNSAFE_AUTHORITY = /[\x00-\x20\x7f\\@]/;
1035
+ const DEFAULT_PORTS = {
1036
+ "https:": ":443",
1037
+ "http:": ":80",
1038
+ };
1033
1039
  /**
1034
1040
  * Url object class which can perform various transformations on url strings.
1035
1041
  */
@@ -1145,6 +1151,29 @@
1145
1151
  AbsolutePath: match[5],
1146
1152
  QueryString: match[7],
1147
1153
  };
1154
+ let parsedUrl;
1155
+ try {
1156
+ parsedUrl = new URL(this.urlString);
1157
+ }
1158
+ catch {
1159
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1160
+ }
1161
+ const host = urlComponents.HostNameAndPort?.toLowerCase();
1162
+ const schemeAndAuthority = `${urlComponents.Protocol}//${host}`;
1163
+ const defaultPort = DEFAULT_PORTS[parsedUrl.protocol] ?? "";
1164
+ /*
1165
+ * Cross-check the original host; reparsing parsedUrl would hide parser differences.
1166
+ * URL has validated IPv6 syntax, so only bracketed hosts need a normalization comparison.
1167
+ */
1168
+ const hostMatches = host === parsedUrl.host ||
1169
+ host === `${parsedUrl.host}${defaultPort}` ||
1170
+ (host?.startsWith("[") &&
1171
+ new URL(`${urlComponents.Protocol}//${host}`).host ===
1172
+ parsedUrl.host);
1173
+ // Check authority ambiguity without restricting resource paths, queries, or fragments.
1174
+ if (UNSAFE_AUTHORITY.test(schemeAndAuthority) || !hostMatches) {
1175
+ throw createClientConfigurationError(urlParseError, this.correlationId);
1176
+ }
1148
1177
  let pathSegments = urlComponents.AbsolutePath.split("/");
1149
1178
  pathSegments = pathSegments.filter((val) => val && val.length > 0); // remove empty elements
1150
1179
  urlComponents.PathSegments = pathSegments;
@@ -1182,7 +1211,7 @@
1182
1211
  }
1183
1212
  }
1184
1213
 
1185
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1214
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1186
1215
 
1187
1216
  /*
1188
1217
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1336,7 +1365,7 @@
1336
1365
  return null;
1337
1366
  }
1338
1367
 
1339
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1368
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1340
1369
  /*
1341
1370
  * Copyright (c) Microsoft Corporation. All rights reserved.
1342
1371
  * Licensed under the MIT License.
@@ -1345,7 +1374,7 @@
1345
1374
  // AzureCloudInstance is not specified.
1346
1375
  None: "none"};
1347
1376
 
1348
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1377
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1349
1378
  /*
1350
1379
  * Copyright (c) Microsoft Corporation. All rights reserved.
1351
1380
  * Licensed under the MIT License.
@@ -1355,7 +1384,7 @@
1355
1384
  response.hasOwnProperty("metadata"));
1356
1385
  }
1357
1386
 
1358
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1387
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1359
1388
  /*
1360
1389
  * Copyright (c) Microsoft Corporation. All rights reserved.
1361
1390
  * Licensed under the MIT License.
@@ -1365,7 +1394,7 @@
1365
1394
  response.hasOwnProperty("error_description"));
1366
1395
  }
1367
1396
 
1368
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1397
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1369
1398
  /*
1370
1399
  * Copyright (c) Microsoft Corporation. All rights reserved.
1371
1400
  * Licensed under the MIT License.
@@ -1436,7 +1465,7 @@
1436
1465
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1437
1466
  const SetUserData = "setUserData";
1438
1467
 
1439
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1468
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1440
1469
  /*
1441
1470
  * Copyright (c) Microsoft Corporation. All rights reserved.
1442
1471
  * Licensed under the MIT License.
@@ -1472,7 +1501,8 @@
1472
1501
  catch (e) {
1473
1502
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1474
1503
  try {
1475
- logger.trace(JSON.stringify(e), correlationId);
1504
+ // Prevent numeric error details from being treated as minified log hashes.
1505
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1476
1506
  }
1477
1507
  catch (e) {
1478
1508
  logger.trace("00dty7", correlationId);
@@ -1516,7 +1546,7 @@
1516
1546
  .catch((e) => {
1517
1547
  logger.trace(`0cfd8i ${eventName}`, correlationId);
1518
1548
  try {
1519
- logger.trace(JSON.stringify(e), correlationId);
1549
+ logger.tracePii(`028ef8 ${JSON.stringify(e)}`, correlationId);
1520
1550
  }
1521
1551
  catch (e) {
1522
1552
  logger.trace("00dty7", correlationId);
@@ -1529,12 +1559,26 @@
1529
1559
  };
1530
1560
  };
1531
1561
 
1532
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1562
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1533
1563
 
1534
1564
  /*
1535
1565
  * Copyright (c) Microsoft Corporation. All rights reserved.
1536
1566
  * Licensed under the MIT License.
1537
1567
  */
1568
+ // Starts with an ASCII letter; remaining characters are ASCII letters, digits, or hyphens.
1569
+ const REGION_NAME_PATTERN = /^[a-z][a-z0-9-]*$/i;
1570
+ // A region becomes a DNS label, limited to 63 octets by RFC 1035 section 2.3.4.
1571
+ const MAX_REGION_NAME_LENGTH = 63;
1572
+ /**
1573
+ * Whether a region can safely be used as a single DNS label.
1574
+ */
1575
+ function isValidRegion(region) {
1576
+ return (typeof region === "string" &&
1577
+ region.length <= MAX_REGION_NAME_LENGTH &&
1578
+ REGION_NAME_PATTERN.test(region) &&
1579
+ // Keep the trailing-hyphen rule explicit rather than complicating the pattern.
1580
+ !region.endsWith("-"));
1581
+ }
1538
1582
  class RegionDiscovery {
1539
1583
  constructor(networkInterface, logger, performanceClient, correlationId) {
1540
1584
  this.networkInterface = networkInterface;
@@ -1594,12 +1638,16 @@
1594
1638
  regionDiscoveryMetadata.region_source =
1595
1639
  RegionDiscoverySources.ENVIRONMENT_VARIABLE;
1596
1640
  }
1597
- // If no region was auto detected from the environment or from the IMDS endpoint, mark the attempt as a FAILED_AUTO_DETECTION
1598
- if (!autodetectedRegionName) {
1641
+ // Untrusted discovery values must be a single DNS label before becoming a host prefix.
1642
+ if (!autodetectedRegionName || !isValidRegion(autodetectedRegionName)) {
1643
+ if (autodetectedRegionName) {
1644
+ this.logger.warning("0n83q0", this.correlationId);
1645
+ }
1599
1646
  regionDiscoveryMetadata.region_source =
1600
1647
  RegionDiscoverySources.FAILED_AUTO_DETECTION;
1648
+ return null;
1601
1649
  }
1602
- return autodetectedRegionName || null;
1650
+ return autodetectedRegionName;
1603
1651
  }
1604
1652
  /**
1605
1653
  * Make the call to the IMDS endpoint
@@ -1640,7 +1688,7 @@
1640
1688
  },
1641
1689
  };
1642
1690
 
1643
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1691
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1644
1692
  /*
1645
1693
  * Copyright (c) Microsoft Corporation. All rights reserved.
1646
1694
  * Licensed under the MIT License.
@@ -1705,7 +1753,7 @@
1705
1753
  return cachedAtSec > nowSeconds();
1706
1754
  }
1707
1755
 
1708
- /*! @azure/msal-common v16.16.1 2026-11-06 */
1756
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1709
1757
 
1710
1758
  /*
1711
1759
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1992,7 +2040,7 @@
1992
2040
  return [...attributeTokens].sort().join(" ");
1993
2041
  }
1994
2042
 
1995
- /*! @azure/msal-common v16.16.1 2026-11-06 */
2043
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
1996
2044
 
1997
2045
  /*
1998
2046
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2845,6 +2893,9 @@
2845
2893
  * @param region string
2846
2894
  */
2847
2895
  static buildRegionalAuthorityString(host, region, correlationId, queryString) {
2896
+ if (!isValidRegion(region)) {
2897
+ throw createClientConfigurationError(urlParseError, correlationId);
2898
+ }
2848
2899
  // Create and validate a Url string object with the initial authority string
2849
2900
  const authorityUrlInstance = new UrlString(host, correlationId);
2850
2901
  authorityUrlInstance.validateAsUri();
@@ -2855,7 +2906,7 @@
2855
2906
  }
2856
2907
  // Include the query string portion of the url
2857
2908
  const url = UrlString.constructAuthorityUriFromObject({
2858
- ...authorityUrlInstance.getUrlComponents(),
2909
+ ...authorityUrlParts,
2859
2910
  HostNameAndPort: hostNameAndPort,
2860
2911
  }, correlationId).urlString;
2861
2912
  // Add the query string if a query string was provided
@@ -2960,7 +3011,7 @@
2960
3011
  };
2961
3012
  }
2962
3013
 
2963
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3014
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
2964
3015
 
2965
3016
  /*
2966
3017
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2994,7 +3045,7 @@
2994
3045
  }
2995
3046
  }
2996
3047
 
2997
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3048
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
2998
3049
 
2999
3050
  /*
3000
3051
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3190,7 +3241,7 @@
3190
3241
  }
3191
3242
  }
3192
3243
 
3193
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3244
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3194
3245
 
3195
3246
  /*
3196
3247
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3690,7 +3741,7 @@
3690
3741
  }
3691
3742
  }
3692
3743
 
3693
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3744
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3694
3745
 
3695
3746
  /*
3696
3747
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3821,7 +3872,7 @@
3821
3872
  }
3822
3873
  }
3823
3874
 
3824
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3875
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3825
3876
 
3826
3877
  /*
3827
3878
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3869,7 +3920,7 @@
3869
3920
  },
3870
3921
  };
3871
3922
 
3872
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3923
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3873
3924
 
3874
3925
  /*
3875
3926
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3892,7 +3943,7 @@
3892
3943
  },
3893
3944
  };
3894
3945
 
3895
- /*! @azure/msal-common v16.16.1 2026-11-06 */
3946
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
3896
3947
  /*
3897
3948
  * Copyright (c) Microsoft Corporation. All rights reserved.
3898
3949
  * Licensed under the MIT License.
@@ -4167,12 +4218,12 @@
4167
4218
  }
4168
4219
  }
4169
4220
 
4170
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4221
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4171
4222
  /* eslint-disable header/header */
4172
4223
  const name$1 = "@azure/msal-common";
4173
- const version$1 = "16.16.1";
4224
+ const version$1 = "16.16.2";
4174
4225
 
4175
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4226
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4176
4227
  /*
4177
4228
  * Copyright (c) Microsoft Corporation. All rights reserved.
4178
4229
  * Licensed under the MIT License.
@@ -4180,7 +4231,7 @@
4180
4231
  const cacheQuotaExceeded = "cache_quota_exceeded";
4181
4232
  const cacheErrorUnknown = "cache_error_unknown";
4182
4233
 
4183
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4234
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4184
4235
 
4185
4236
  /*
4186
4237
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4218,7 +4269,7 @@
4218
4269
  }
4219
4270
  }
4220
4271
 
4221
- /*! @azure/msal-common v16.16.1 2026-11-06 */
4272
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
4222
4273
 
4223
4274
  /*
4224
4275
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5445,7 +5496,7 @@
5445
5496
  }
5446
5497
  }
5447
5498
 
5448
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5499
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5449
5500
  /*
5450
5501
  * Copyright (c) Microsoft Corporation. All rights reserved.
5451
5502
  * Licensed under the MIT License.
@@ -5459,7 +5510,7 @@
5459
5510
  const PerformanceEventStatus = {
5460
5511
  InProgress: 1};
5461
5512
 
5462
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5513
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5463
5514
 
5464
5515
  /*
5465
5516
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5517,7 +5568,7 @@
5517
5568
  }
5518
5569
  }
5519
5570
 
5520
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5571
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5521
5572
 
5522
5573
  /*
5523
5574
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5615,7 +5666,7 @@
5615
5666
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5616
5667
  }
5617
5668
 
5618
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5669
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5619
5670
  /*
5620
5671
  * Copyright (c) Microsoft Corporation. All rights reserved.
5621
5672
  * Licensed under the MIT License.
@@ -5642,7 +5693,7 @@
5642
5693
  }
5643
5694
  }
5644
5695
 
5645
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5696
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5646
5697
 
5647
5698
  /*
5648
5699
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5663,7 +5714,7 @@
5663
5714
  return new JoseHeaderError(code, correlationId);
5664
5715
  }
5665
5716
 
5666
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5717
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5667
5718
  /*
5668
5719
  * Copyright (c) Microsoft Corporation. All rights reserved.
5669
5720
  * Licensed under the MIT License.
@@ -5688,7 +5739,7 @@
5688
5739
  return Object.getPrototypeOf(value) === proto;
5689
5740
  }
5690
5741
 
5691
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5742
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5692
5743
  /*
5693
5744
  * Copyright (c) Microsoft Corporation. All rights reserved.
5694
5745
  * Licensed under the MIT License.
@@ -5698,7 +5749,7 @@
5698
5749
  const missingJwkError = "missing_jwk_error";
5699
5750
  const invalidJwkError = "invalid_jwk_error";
5700
5751
 
5701
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5752
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5702
5753
 
5703
5754
  /*
5704
5755
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5764,7 +5815,7 @@
5764
5815
  }
5765
5816
  }
5766
5817
 
5767
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5818
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5768
5819
 
5769
5820
  /*
5770
5821
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5865,7 +5916,7 @@
5865
5916
  }
5866
5917
  }
5867
5918
 
5868
- /*! @azure/msal-common v16.16.1 2026-11-06 */
5919
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
5869
5920
 
5870
5921
  /*
5871
5922
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6020,7 +6071,7 @@
6020
6071
  }
6021
6072
  }
6022
6073
 
6023
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6074
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6024
6075
  /*
6025
6076
  * Copyright (c) Microsoft Corporation. All rights reserved.
6026
6077
  * Licensed under the MIT License.
@@ -6071,7 +6122,7 @@
6071
6122
  */
6072
6123
  const interruptedUser = "interrupted_user";
6073
6124
 
6074
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6125
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6075
6126
 
6076
6127
  /*
6077
6128
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6138,7 +6189,7 @@
6138
6189
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
6139
6190
  }
6140
6191
 
6141
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6192
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6142
6193
 
6143
6194
  /*
6144
6195
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6157,7 +6208,7 @@
6157
6208
  }
6158
6209
  }
6159
6210
 
6160
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6211
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6161
6212
 
6162
6213
  /*
6163
6214
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6228,7 +6279,7 @@
6228
6279
  }
6229
6280
  }
6230
6281
 
6231
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6282
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6232
6283
 
6233
6284
  /*
6234
6285
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6656,7 +6707,7 @@
6656
6707
  return baseAccount;
6657
6708
  }
6658
6709
 
6659
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6710
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6660
6711
  /*
6661
6712
  * Copyright (c) Microsoft Corporation. All rights reserved.
6662
6713
  * Licensed under the MIT License.
@@ -6666,7 +6717,7 @@
6666
6717
  UPN: "UPN",
6667
6718
  };
6668
6719
 
6669
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6720
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6670
6721
  /*
6671
6722
  * Copyright (c) Microsoft Corporation. All rights reserved.
6672
6723
  * Licensed under the MIT License.
@@ -6685,7 +6736,7 @@
6685
6736
  }
6686
6737
  }
6687
6738
 
6688
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6739
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6689
6740
 
6690
6741
  /*
6691
6742
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6709,7 +6760,7 @@
6709
6760
  };
6710
6761
  }
6711
6762
 
6712
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6763
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6713
6764
 
6714
6765
  /*
6715
6766
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6799,7 +6850,7 @@
6799
6850
  return undefined;
6800
6851
  }
6801
6852
 
6802
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6853
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6803
6854
 
6804
6855
  /*
6805
6856
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6830,7 +6881,7 @@
6830
6881
  return new NetworkError(error, httpStatus, responseHeaders);
6831
6882
  }
6832
6883
 
6833
- /*! @azure/msal-common v16.16.1 2026-11-06 */
6884
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6834
6885
 
6835
6886
  /*
6836
6887
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6964,7 +7015,7 @@
6964
7015
  return response;
6965
7016
  }
6966
7017
 
6967
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7018
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
6968
7019
 
6969
7020
  /*
6970
7021
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7007,7 +7058,8 @@
7007
7058
  throw createClientAuthError(requestCannotBeMade, request.correlationId);
7008
7059
  }
7009
7060
  // Check for new cloud instance
7010
- if (authCodePayload && authCodePayload.cloud_instance_host_name) {
7061
+ if (this.config.authOptions.instanceAware === true &&
7062
+ authCodePayload?.cloud_instance_host_name) {
7011
7063
  await invokeAsync(this.updateTokenEndpointAuthority.bind(this), UpdateTokenEndpointAuthority, this.logger, this.performanceClient, request.correlationId)(authCodePayload.cloud_instance_host_name, request.correlationId);
7012
7064
  }
7013
7065
  const reqTimestamp = nowSeconds();
@@ -7231,7 +7283,7 @@
7231
7283
  }
7232
7284
  }
7233
7285
 
7234
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7286
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7235
7287
 
7236
7288
  /*
7237
7289
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7416,13 +7468,13 @@
7416
7468
  decodedServerResponseState = decodeURIComponent(serverResponse.state);
7417
7469
  }
7418
7470
  catch (e) {
7419
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7471
+ throw createClientAuthError(invalidState, correlationId);
7420
7472
  }
7421
7473
  try {
7422
7474
  decodedRequestState = decodeURIComponent(requestState);
7423
7475
  }
7424
7476
  catch (e) {
7425
- throw createClientAuthError(invalidState, correlationId, serverResponse.state);
7477
+ throw createClientAuthError(invalidState, correlationId);
7426
7478
  }
7427
7479
  if (decodedServerResponseState !== decodedRequestState) {
7428
7480
  throw createClientAuthError(stateMismatch, correlationId);
@@ -7461,7 +7513,7 @@
7461
7513
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7462
7514
  }
7463
7515
 
7464
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7516
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7465
7517
 
7466
7518
  /*
7467
7519
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7696,7 +7748,7 @@
7696
7748
  }
7697
7749
  }
7698
7750
 
7699
- /*! @azure/msal-common v16.16.1 2026-11-06 */
7751
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7700
7752
 
7701
7753
  /*
7702
7754
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7989,7 +8041,7 @@
7989
8041
  clearNativeBrokerErrorCode() { }
7990
8042
  }
7991
8043
 
7992
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8044
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
7993
8045
 
7994
8046
  /*
7995
8047
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8116,7 +8168,7 @@
8116
8168
  }
8117
8169
  }
8118
8170
 
8119
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8171
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8120
8172
 
8121
8173
  /*
8122
8174
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8132,7 +8184,7 @@
8132
8184
  },
8133
8185
  };
8134
8186
 
8135
- /*! @azure/msal-common v16.16.1 2026-11-06 */
8187
+ /*! @azure/msal-common v16.16.2 2026-11-12 */
8136
8188
 
8137
8189
  /*
8138
8190
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8584,7 +8636,7 @@
8584
8636
 
8585
8637
  /* eslint-disable header/header */
8586
8638
  const name = "@azure/msal-browser";
8587
- const version = "5.29.0";
8639
+ const version = "5.29.1";
8588
8640
 
8589
8641
  /*
8590
8642
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11508,6 +11560,10 @@
11508
11560
  clientId: this.config.auth.clientId,
11509
11561
  authority: discoveredAuthority,
11510
11562
  clientCapabilities: this.config.auth.clientCapabilities,
11563
+ instanceAware: requestExtraQueryParameters?.instance_aware
11564
+ ?.length
11565
+ ? requestExtraQueryParameters.instance_aware === "true"
11566
+ : this.config.auth.instanceAware,
11511
11567
  redirectUri: this.config.auth.redirectUri,
11512
11568
  isMcp: this.config.auth.isMcp,
11513
11569
  },
@@ -25099,7 +25155,11 @@
25099
25155
  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);
25100
25156
  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);
25101
25157
  }
25102
- const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({ serverTelemetryManager, requestAuthority: request.authority });
25158
+ const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
25159
+ serverTelemetryManager,
25160
+ requestAuthority: request.authority,
25161
+ requestExtraQueryParameters: request.extraQueryParameters,
25162
+ });
25103
25163
  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);
25104
25164
  }
25105
25165
  /**