@azure/msal-browser 4.26.0 → 4.26.2

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 (391) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +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/ControllerFactory.mjs +1 -1
  22. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  23. package/dist/controllers/StandardController.mjs +1 -1
  24. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  25. package/dist/crypto/BrowserCrypto.mjs +1 -1
  26. package/dist/crypto/CryptoOps.mjs +1 -1
  27. package/dist/crypto/PkceGenerator.mjs +1 -1
  28. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  29. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  30. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  31. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  32. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  33. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  34. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  35. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  36. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  37. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  38. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  39. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  42. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  43. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  44. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  46. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  47. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  48. package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
  49. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  50. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  51. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  52. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  53. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  54. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  55. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  56. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  57. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  58. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  59. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  60. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +0 -3
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -4
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +0 -2
  67. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -3
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +0 -7
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +3 -10
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -2
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -3
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -2
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -3
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -6
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -7
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +0 -2
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -3
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +0 -2
  157. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -3
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +0 -2
  161. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -3
  163. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  177. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  178. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  179. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  180. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  181. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  182. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  183. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  184. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  185. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  186. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  187. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  188. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  189. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  190. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  191. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  192. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  193. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  194. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  195. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  198. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  199. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +1 -1
  200. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  201. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +20 -4
  202. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  203. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  204. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +4 -2
  205. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  206. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  207. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  208. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  209. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +19 -3
  210. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  211. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  212. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +3 -1
  213. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  214. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +8 -7
  215. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  216. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  217. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +2 -1
  218. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  219. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  220. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  221. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  222. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  223. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  224. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  225. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  226. package/dist/custom-auth-path/protocol/Authorize.mjs +3 -1
  227. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  228. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  229. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  230. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  231. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  232. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  233. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  234. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  235. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  236. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +0 -3
  237. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  238. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +0 -2
  239. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  240. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +0 -7
  241. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  242. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -2
  243. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  244. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -2
  245. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  246. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -6
  247. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  248. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +0 -2
  249. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  250. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +0 -2
  251. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  252. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +0 -2
  253. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  254. package/dist/encode/Base64Decode.mjs +1 -1
  255. package/dist/encode/Base64Encode.mjs +1 -1
  256. package/dist/error/BrowserAuthError.mjs +1 -1
  257. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  258. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  259. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  260. package/dist/error/NativeAuthError.mjs +1 -1
  261. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  262. package/dist/error/NestedAppAuthError.mjs +1 -1
  263. package/dist/event/EventHandler.mjs +1 -1
  264. package/dist/event/EventMessage.mjs +1 -1
  265. package/dist/event/EventType.mjs +1 -1
  266. package/dist/index.mjs +1 -1
  267. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  268. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  269. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  270. package/dist/interaction_client/PopupClient.d.ts +1 -1
  271. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  272. package/dist/interaction_client/PopupClient.mjs +20 -4
  273. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  274. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  275. package/dist/interaction_client/RedirectClient.mjs +4 -2
  276. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  277. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  278. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  279. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  280. package/dist/interaction_client/SilentIframeClient.mjs +19 -3
  281. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  282. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  283. package/dist/interaction_client/StandardInteractionClient.d.ts +3 -1
  284. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  285. package/dist/interaction_client/StandardInteractionClient.mjs +8 -7
  286. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  287. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  288. package/dist/interaction_handler/SilentHandler.mjs +2 -1
  289. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  290. package/dist/naa/BridgeError.mjs +1 -1
  291. package/dist/naa/BridgeProxy.mjs +1 -1
  292. package/dist/naa/BridgeStatusCode.mjs +1 -1
  293. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  294. package/dist/navigation/NavigationClient.mjs +1 -1
  295. package/dist/network/FetchClient.mjs +1 -1
  296. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  297. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  298. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  299. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  300. package/dist/packageMetadata.d.ts +1 -1
  301. package/dist/packageMetadata.mjs +2 -2
  302. package/dist/protocol/Authorize.d.ts.map +1 -1
  303. package/dist/protocol/Authorize.mjs +3 -1
  304. package/dist/protocol/Authorize.mjs.map +1 -1
  305. package/dist/request/RequestHelpers.mjs +1 -1
  306. package/dist/response/ResponseHandler.mjs +1 -1
  307. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  308. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  309. package/dist/utils/BrowserConstants.mjs +1 -1
  310. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  311. package/dist/utils/BrowserUtils.mjs +1 -1
  312. package/dist/utils/Helpers.mjs +1 -1
  313. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  314. package/lib/custom-auth-path/msal-custom-auth.cjs +119 -107
  315. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  316. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  317. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +0 -3
  318. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  319. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +0 -2
  320. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  321. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +0 -7
  322. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  323. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -2
  324. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  325. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -2
  326. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  327. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -6
  328. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  329. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +0 -2
  330. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  331. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +0 -2
  332. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  333. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +0 -2
  334. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  335. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +1 -1
  336. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  337. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  338. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  339. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +3 -1
  340. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  341. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  342. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  343. package/lib/msal-browser.cjs +124 -79
  344. package/lib/msal-browser.cjs.map +1 -1
  345. package/lib/msal-browser.js +124 -79
  346. package/lib/msal-browser.js.map +1 -1
  347. package/lib/msal-browser.min.js +66 -66
  348. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  349. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +0 -3
  350. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  351. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +0 -2
  352. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  353. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +0 -7
  354. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  355. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -2
  356. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  357. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -2
  358. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  359. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -6
  360. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  361. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +0 -2
  362. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  363. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +0 -2
  364. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  365. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +0 -2
  366. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  367. package/lib/types/interaction_client/PopupClient.d.ts +1 -1
  368. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  369. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  370. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  371. package/lib/types/interaction_client/StandardInteractionClient.d.ts +3 -1
  372. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  373. package/lib/types/packageMetadata.d.ts +1 -1
  374. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  375. package/package.json +2 -2
  376. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +0 -3
  377. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +0 -2
  378. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +4 -11
  379. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -2
  380. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -2
  381. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -6
  382. package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +0 -2
  383. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +0 -2
  384. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +0 -2
  385. package/src/interaction_client/PopupClient.ts +73 -21
  386. package/src/interaction_client/RedirectClient.ts +14 -1
  387. package/src/interaction_client/SilentIframeClient.ts +68 -19
  388. package/src/interaction_client/StandardInteractionClient.ts +17 -12
  389. package/src/interaction_handler/SilentHandler.ts +1 -0
  390. package/src/packageMetadata.ts +1 -1
  391. package/src/protocol/Authorize.ts +7 -0
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.26.0 2025-10-29 */
1
+ /*! @azure/msal-browser v4.26.2 2025-11-19 */
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.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v15.13.1 2025-10-29 */
9
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -283,7 +283,7 @@
283
283
  // Token renewal offset default in seconds
284
284
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
285
285
 
286
- /*! @azure/msal-common v15.13.1 2025-10-29 */
286
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
287
287
  /*
288
288
  * Copyright (c) Microsoft Corporation. All rights reserved.
289
289
  * Licensed under the MIT License.
@@ -300,7 +300,7 @@
300
300
  unexpectedError: unexpectedError
301
301
  });
302
302
 
303
- /*! @azure/msal-common v15.13.1 2025-10-29 */
303
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
304
304
 
305
305
  /*
306
306
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -349,7 +349,7 @@
349
349
  : AuthErrorMessages[code]);
350
350
  }
351
351
 
352
- /*! @azure/msal-common v15.13.1 2025-10-29 */
352
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
353
353
  /*
354
354
  * Copyright (c) Microsoft Corporation. All rights reserved.
355
355
  * Licensed under the MIT License.
@@ -397,7 +397,8 @@
397
397
  const userCanceled = "user_canceled";
398
398
  const missingTenantIdError = "missing_tenant_id_error";
399
399
  const methodNotImplemented = "method_not_implemented";
400
- const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
400
+ const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
401
+ const platformBrokerError = "platform_broker_error";
401
402
 
402
403
  var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
403
404
  __proto__: null,
@@ -436,6 +437,7 @@
436
437
  nonceMismatch: nonceMismatch,
437
438
  nullOrEmptyToken: nullOrEmptyToken,
438
439
  openIdConfigError: openIdConfigError,
440
+ platformBrokerError: platformBrokerError,
439
441
  requestCannotBeMade: requestCannotBeMade,
440
442
  stateMismatch: stateMismatch,
441
443
  stateNotFound: stateNotFound,
@@ -447,7 +449,7 @@
447
449
  userTimeoutReached: userTimeoutReached
448
450
  });
449
451
 
450
- /*! @azure/msal-common v15.13.1 2025-10-29 */
452
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
451
453
 
452
454
  /*
453
455
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -504,6 +506,7 @@
504
506
  [missingTenantIdError]: "A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",
505
507
  [methodNotImplemented]: "This method has not been implemented",
506
508
  [nestedAppAuthBridgeDisabled]: "The nested app auth bridge is disabled",
509
+ [platformBrokerError]: "An error occurred in the native broker. See the platformBrokerError property for details.",
507
510
  };
508
511
  /**
509
512
  * String constants used by error codes and messages.
@@ -682,6 +685,10 @@
682
685
  code: nestedAppAuthBridgeDisabled,
683
686
  desc: ClientAuthErrorMessages[nestedAppAuthBridgeDisabled],
684
687
  },
688
+ platformBrokerError: {
689
+ code: platformBrokerError,
690
+ desc: ClientAuthErrorMessages[platformBrokerError],
691
+ },
685
692
  };
686
693
  /**
687
694
  * Error thrown when there is an error in the client code running on the browser.
@@ -699,7 +706,7 @@
699
706
  return new ClientAuthError(errorCode, additionalMessage);
700
707
  }
701
708
 
702
- /*! @azure/msal-common v15.13.1 2025-10-29 */
709
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
703
710
 
704
711
  /*
705
712
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -738,7 +745,7 @@
738
745
  },
739
746
  };
740
747
 
741
- /*! @azure/msal-common v15.13.1 2025-10-29 */
748
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
742
749
 
743
750
  /*
744
751
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -929,12 +936,12 @@
929
936
  }
930
937
  }
931
938
 
932
- /*! @azure/msal-common v15.13.1 2025-10-29 */
939
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
933
940
  /* eslint-disable header/header */
934
941
  const name$1 = "@azure/msal-common";
935
- const version$1 = "15.13.1";
942
+ const version$1 = "15.13.2";
936
943
 
937
- /*! @azure/msal-common v15.13.1 2025-10-29 */
944
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
938
945
  /*
939
946
  * Copyright (c) Microsoft Corporation. All rights reserved.
940
947
  * Licensed under the MIT License.
@@ -954,7 +961,7 @@
954
961
  AzureUsGovernment: "https://login.microsoftonline.us",
955
962
  };
956
963
 
957
- /*! @azure/msal-common v15.13.1 2025-10-29 */
964
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
958
965
  /*
959
966
  * Copyright (c) Microsoft Corporation. All rights reserved.
960
967
  * Licensed under the MIT License.
@@ -1010,7 +1017,7 @@
1010
1017
  urlParseError: urlParseError
1011
1018
  });
1012
1019
 
1013
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1020
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1014
1021
 
1015
1022
  /*
1016
1023
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1153,7 +1160,7 @@
1153
1160
  return new ClientConfigurationError(errorCode);
1154
1161
  }
1155
1162
 
1156
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1163
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1157
1164
  /*
1158
1165
  * Copyright (c) Microsoft Corporation. All rights reserved.
1159
1166
  * Licensed under the MIT License.
@@ -1250,7 +1257,7 @@
1250
1257
  }
1251
1258
  }
1252
1259
 
1253
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1260
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1254
1261
 
1255
1262
  /*
1256
1263
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1445,7 +1452,7 @@
1445
1452
  }
1446
1453
  }
1447
1454
 
1448
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1455
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1449
1456
 
1450
1457
  /*
1451
1458
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1485,7 +1492,7 @@
1485
1492
  };
1486
1493
  }
1487
1494
 
1488
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1495
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1489
1496
  /*
1490
1497
  * Copyright (c) Microsoft Corporation. All rights reserved.
1491
1498
  * Licensed under the MIT License.
@@ -1567,7 +1574,7 @@
1567
1574
  return updatedAccountInfo;
1568
1575
  }
1569
1576
 
1570
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1577
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1571
1578
  /*
1572
1579
  * Copyright (c) Microsoft Corporation. All rights reserved.
1573
1580
  * Licensed under the MIT License.
@@ -1582,7 +1589,7 @@
1582
1589
  Ciam: 3,
1583
1590
  };
1584
1591
 
1585
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1592
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1586
1593
  /*
1587
1594
  * Copyright (c) Microsoft Corporation. All rights reserved.
1588
1595
  * Licensed under the MIT License.
@@ -1604,7 +1611,7 @@
1604
1611
  return null;
1605
1612
  }
1606
1613
 
1607
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1614
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1608
1615
  /*
1609
1616
  * Copyright (c) Microsoft Corporation. All rights reserved.
1610
1617
  * Licensed under the MIT License.
@@ -1628,7 +1635,7 @@
1628
1635
  EAR: "EAR",
1629
1636
  };
1630
1637
 
1631
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1638
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1632
1639
 
1633
1640
  /*
1634
1641
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1849,7 +1856,7 @@
1849
1856
  }
1850
1857
  }
1851
1858
 
1852
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1859
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1853
1860
 
1854
1861
  /*
1855
1862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1930,7 +1937,7 @@
1930
1937
  }
1931
1938
  }
1932
1939
 
1933
- /*! @azure/msal-common v15.13.1 2025-10-29 */
1940
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
1934
1941
 
1935
1942
  /*
1936
1943
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2046,7 +2053,7 @@
2046
2053
  }
2047
2054
  }
2048
2055
 
2049
- /*! @azure/msal-common v15.13.1 2025-10-29 */
2056
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
2050
2057
 
2051
2058
  /*
2052
2059
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2210,7 +2217,7 @@
2210
2217
  }
2211
2218
  }
2212
2219
 
2213
- /*! @azure/msal-common v15.13.1 2025-10-29 */
2220
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
2214
2221
 
2215
2222
  /*
2216
2223
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2349,7 +2356,7 @@
2349
2356
  return null;
2350
2357
  }
2351
2358
 
2352
- /*! @azure/msal-common v15.13.1 2025-10-29 */
2359
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
2353
2360
  /*
2354
2361
  * Copyright (c) Microsoft Corporation. All rights reserved.
2355
2362
  * Licensed under the MIT License.
@@ -2357,7 +2364,7 @@
2357
2364
  const cacheQuotaExceeded = "cache_quota_exceeded";
2358
2365
  const cacheErrorUnknown = "cache_error_unknown";
2359
2366
 
2360
- /*! @azure/msal-common v15.13.1 2025-10-29 */
2367
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
2361
2368
 
2362
2369
  /*
2363
2370
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2402,7 +2409,7 @@
2402
2409
  }
2403
2410
  }
2404
2411
 
2405
- /*! @azure/msal-common v15.13.1 2025-10-29 */
2412
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
2406
2413
 
2407
2414
  /*
2408
2415
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3512,7 +3519,7 @@
3512
3519
  }
3513
3520
  }
3514
3521
 
3515
- /*! @azure/msal-common v15.13.1 2025-10-29 */
3522
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
3516
3523
  /*
3517
3524
  * Copyright (c) Microsoft Corporation. All rights reserved.
3518
3525
  * Licensed under the MIT License.
@@ -4034,7 +4041,7 @@
4034
4041
  "upgradedCacheCount",
4035
4042
  ]);
4036
4043
 
4037
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4044
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4038
4045
 
4039
4046
  /*
4040
4047
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4113,7 +4120,7 @@
4113
4120
  }
4114
4121
  }
4115
4122
 
4116
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4123
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4117
4124
 
4118
4125
  /*
4119
4126
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4213,7 +4220,7 @@
4213
4220
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4214
4221
  }
4215
4222
 
4216
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4223
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4217
4224
  /*
4218
4225
  * Copyright (c) Microsoft Corporation. All rights reserved.
4219
4226
  * Licensed under the MIT License.
@@ -4223,7 +4230,7 @@
4223
4230
  UPN: "UPN",
4224
4231
  };
4225
4232
 
4226
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4233
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4227
4234
  /*
4228
4235
  * Copyright (c) Microsoft Corporation. All rights reserved.
4229
4236
  * Licensed under the MIT License.
@@ -4273,7 +4280,7 @@
4273
4280
  const EAR_JWK = "ear_jwk";
4274
4281
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4275
4282
 
4276
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4283
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4277
4284
 
4278
4285
  /*
4279
4286
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4653,7 +4660,7 @@
4653
4660
  });
4654
4661
  }
4655
4662
 
4656
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4663
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4657
4664
  /*
4658
4665
  * Copyright (c) Microsoft Corporation. All rights reserved.
4659
4666
  * Licensed under the MIT License.
@@ -4665,7 +4672,7 @@
4665
4672
  response.hasOwnProperty("jwks_uri"));
4666
4673
  }
4667
4674
 
4668
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4675
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4669
4676
  /*
4670
4677
  * Copyright (c) Microsoft Corporation. All rights reserved.
4671
4678
  * Licensed under the MIT License.
@@ -4675,7 +4682,7 @@
4675
4682
  response.hasOwnProperty("metadata"));
4676
4683
  }
4677
4684
 
4678
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4685
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4679
4686
  /*
4680
4687
  * Copyright (c) Microsoft Corporation. All rights reserved.
4681
4688
  * Licensed under the MIT License.
@@ -4685,7 +4692,7 @@
4685
4692
  response.hasOwnProperty("error_description"));
4686
4693
  }
4687
4694
 
4688
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4695
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4689
4696
  /*
4690
4697
  * Copyright (c) Microsoft Corporation. All rights reserved.
4691
4698
  * Licensed under the MIT License.
@@ -4781,7 +4788,7 @@
4781
4788
  };
4782
4789
  };
4783
4790
 
4784
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4791
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4785
4792
 
4786
4793
  /*
4787
4794
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4887,7 +4894,7 @@
4887
4894
  },
4888
4895
  };
4889
4896
 
4890
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4897
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4891
4898
  /*
4892
4899
  * Copyright (c) Microsoft Corporation. All rights reserved.
4893
4900
  * Licensed under the MIT License.
@@ -4952,7 +4959,7 @@
4952
4959
  return cachedAtSec > nowSeconds();
4953
4960
  }
4954
4961
 
4955
- /*! @azure/msal-common v15.13.1 2025-10-29 */
4962
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
4956
4963
 
4957
4964
  /*
4958
4965
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5214,7 +5221,7 @@
5214
5221
  return metadata.expiresAt <= nowSeconds();
5215
5222
  }
5216
5223
 
5217
- /*! @azure/msal-common v15.13.1 2025-10-29 */
5224
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
5218
5225
 
5219
5226
  /*
5220
5227
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6053,7 +6060,7 @@
6053
6060
  };
6054
6061
  }
6055
6062
 
6056
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6063
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6057
6064
 
6058
6065
  /*
6059
6066
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6084,7 +6091,7 @@
6084
6091
  }
6085
6092
  }
6086
6093
 
6087
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6094
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6088
6095
 
6089
6096
  /*
6090
6097
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6103,7 +6110,7 @@
6103
6110
  }
6104
6111
  }
6105
6112
 
6106
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6113
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6107
6114
  /*
6108
6115
  * Copyright (c) Microsoft Corporation. All rights reserved.
6109
6116
  * Licensed under the MIT License.
@@ -6124,7 +6131,7 @@
6124
6131
  };
6125
6132
  }
6126
6133
 
6127
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6134
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6128
6135
 
6129
6136
  /*
6130
6137
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6211,7 +6218,7 @@
6211
6218
  }
6212
6219
  }
6213
6220
 
6214
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6221
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6215
6222
 
6216
6223
  /*
6217
6224
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6242,7 +6249,7 @@
6242
6249
  return new NetworkError(error, httpStatus, responseHeaders);
6243
6250
  }
6244
6251
 
6245
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6252
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6246
6253
 
6247
6254
  /*
6248
6255
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6390,7 +6397,7 @@
6390
6397
  }
6391
6398
  }
6392
6399
 
6393
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6400
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6394
6401
  /*
6395
6402
  * Copyright (c) Microsoft Corporation. All rights reserved.
6396
6403
  * Licensed under the MIT License.
@@ -6418,7 +6425,7 @@
6418
6425
  uxNotAllowed: uxNotAllowed
6419
6426
  });
6420
6427
 
6421
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6428
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6422
6429
 
6423
6430
  /*
6424
6431
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6508,7 +6515,7 @@
6508
6515
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6509
6516
  }
6510
6517
 
6511
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6518
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6512
6519
 
6513
6520
  /*
6514
6521
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6580,7 +6587,7 @@
6580
6587
  }
6581
6588
  }
6582
6589
 
6583
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6590
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6584
6591
 
6585
6592
  /*
6586
6593
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6662,7 +6669,7 @@
6662
6669
  }
6663
6670
  }
6664
6671
 
6665
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6672
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6666
6673
  /*
6667
6674
  * Copyright (c) Microsoft Corporation. All rights reserved.
6668
6675
  * Licensed under the MIT License.
@@ -6689,7 +6696,7 @@
6689
6696
  }
6690
6697
  }
6691
6698
 
6692
- /*! @azure/msal-common v15.13.1 2025-10-29 */
6699
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
6693
6700
 
6694
6701
  /*
6695
6702
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7020,7 +7027,7 @@
7020
7027
  return baseAccount;
7021
7028
  }
7022
7029
 
7023
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7030
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7024
7031
  /*
7025
7032
  * Copyright (c) Microsoft Corporation. All rights reserved.
7026
7033
  * Licensed under the MIT License.
@@ -7038,7 +7045,7 @@
7038
7045
  }
7039
7046
  }
7040
7047
 
7041
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7048
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7042
7049
 
7043
7050
  /*
7044
7051
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7273,7 +7280,7 @@
7273
7280
  }
7274
7281
  }
7275
7282
 
7276
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7283
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7277
7284
 
7278
7285
  /*
7279
7286
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7482,7 +7489,7 @@
7482
7489
  }
7483
7490
  }
7484
7491
 
7485
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7492
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7486
7493
 
7487
7494
  /*
7488
7495
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7580,7 +7587,7 @@
7580
7587
  }
7581
7588
  }
7582
7589
 
7583
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7590
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7584
7591
 
7585
7592
  /*
7586
7593
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7595,7 +7602,7 @@
7595
7602
  },
7596
7603
  };
7597
7604
 
7598
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7605
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7599
7606
 
7600
7607
  /*
7601
7608
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7819,7 +7826,7 @@
7819
7826
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7820
7827
  }
7821
7828
 
7822
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7829
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7823
7830
 
7824
7831
  /*
7825
7832
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7877,7 +7884,7 @@
7877
7884
  }
7878
7885
  }
7879
7886
 
7880
- /*! @azure/msal-common v15.13.1 2025-10-29 */
7887
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
7881
7888
 
7882
7889
  /*
7883
7890
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8140,7 +8147,7 @@
8140
8147
  }
8141
8148
  }
8142
8149
 
8143
- /*! @azure/msal-common v15.13.1 2025-10-29 */
8150
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
8144
8151
  /*
8145
8152
  * Copyright (c) Microsoft Corporation. All rights reserved.
8146
8153
  * Licensed under the MIT License.
@@ -8148,7 +8155,7 @@
8148
8155
  const missingKidError = "missing_kid_error";
8149
8156
  const missingAlgError = "missing_alg_error";
8150
8157
 
8151
- /*! @azure/msal-common v15.13.1 2025-10-29 */
8158
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
8152
8159
 
8153
8160
  /*
8154
8161
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8173,7 +8180,7 @@
8173
8180
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8174
8181
  }
8175
8182
 
8176
- /*! @azure/msal-common v15.13.1 2025-10-29 */
8183
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
8177
8184
 
8178
8185
  /*
8179
8186
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8213,7 +8220,7 @@
8213
8220
  }
8214
8221
  }
8215
8222
 
8216
- /*! @azure/msal-common v15.13.1 2025-10-29 */
8223
+ /*! @azure/msal-common v15.13.2 2025-11-19 */
8217
8224
 
8218
8225
  /*
8219
8226
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10329,7 +10336,7 @@
10329
10336
 
10330
10337
  /* eslint-disable header/header */
10331
10338
  const name = "@azure/msal-browser";
10332
- const version = "4.26.0";
10339
+ const version = "4.26.2";
10333
10340
 
10334
10341
  /*
10335
10342
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13750,12 +13757,13 @@
13750
13757
  async getClientConfiguration(params) {
13751
13758
  const { serverTelemetryManager, requestAuthority, requestAzureCloudOptions, requestExtraQueryParameters, account, } = params;
13752
13759
  this.performanceClient.addQueueMeasurement(PerformanceEvents.StandardInteractionClientGetClientConfiguration, this.correlationId);
13753
- const discoveredAuthority = await invokeAsync(this.getDiscoveredAuthority.bind(this), PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, this.correlationId)({
13754
- requestAuthority,
13755
- requestAzureCloudOptions,
13756
- requestExtraQueryParameters,
13757
- account,
13758
- });
13760
+ const discoveredAuthority = params.authority ||
13761
+ (await invokeAsync(this.getDiscoveredAuthority.bind(this), PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, this.correlationId)({
13762
+ requestAuthority,
13763
+ requestAzureCloudOptions,
13764
+ requestExtraQueryParameters,
13765
+ account,
13766
+ }));
13759
13767
  const logger = this.config.system.loggerOptions;
13760
13768
  return {
13761
13769
  authOptions: {
@@ -14818,6 +14826,8 @@
14818
14826
  const parameters = await getStandardParameters(config, authority, request, logger, performanceClient);
14819
14827
  addResponseType(parameters, OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN);
14820
14828
  addEARParameters(parameters, request.earJwk);
14829
+ // Also add codeChallenge as backup in case EAR is not supported
14830
+ addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
14821
14831
  const queryParams = new Map();
14822
14832
  addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
14823
14833
  const url = getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
@@ -15612,7 +15622,7 @@
15612
15622
  const isPlatformBroker = isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, request.authenticationScheme);
15613
15623
  validRequest.platformBroker = isPlatformBroker;
15614
15624
  if (this.config.auth.protocolMode === ProtocolMode.EAR) {
15615
- return this.executeEarFlow(validRequest, popupParams);
15625
+ return this.executeEarFlow(validRequest, popupParams, pkceCodes);
15616
15626
  }
15617
15627
  else {
15618
15628
  return this.executeCodeFlow(validRequest, popupParams, pkceCodes);
@@ -15672,7 +15682,7 @@
15672
15682
  * Executes EAR flow
15673
15683
  * @param request
15674
15684
  */
15675
- async executeEarFlow(request, popupParams) {
15685
+ async executeEarFlow(request, popupParams, pkceCodes) {
15676
15686
  const correlationId = request.correlationId;
15677
15687
  // Get the frame handle for the silent request
15678
15688
  const discoveredAuthority = await invokeAsync(this.getDiscoveredAuthority.bind(this), PerformanceEvents.StandardInteractionClientGetDiscoveredAuthority, this.logger, this.performanceClient, correlationId)({
@@ -15682,9 +15692,12 @@
15682
15692
  account: request.account,
15683
15693
  });
15684
15694
  const earJwk = await invokeAsync(generateEarKey, PerformanceEvents.GenerateEarKey, this.logger, this.performanceClient, correlationId)();
15695
+ const pkce = pkceCodes ||
15696
+ (await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId));
15685
15697
  const popupRequest = {
15686
15698
  ...request,
15687
15699
  earJwk: earJwk,
15700
+ codeChallenge: pkce.challenge,
15688
15701
  };
15689
15702
  const popupWindow = popupParams.popup || this.openPopup("about:blank", popupParams);
15690
15703
  const form = await getEARForm(popupWindow.document, this.config, discoveredAuthority, popupRequest, this.logger, this.performanceClient);
@@ -15692,7 +15705,20 @@
15692
15705
  // Monitor the popup for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
15693
15706
  const responseString = await invokeAsync(this.monitorPopupForHash.bind(this), PerformanceEvents.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, correlationId)(popupWindow, popupParams.popupWindowParent);
15694
15707
  const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(responseString, this.config.auth.OIDCOptions.serverResponseType, this.logger);
15695
- return invokeAsync(handleResponseEAR, PerformanceEvents.HandleResponseEar, this.logger, this.performanceClient, correlationId)(popupRequest, serverParams, ApiId.acquireTokenPopup, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
15708
+ if (!serverParams.ear_jwe && serverParams.code) {
15709
+ const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, correlationId)({
15710
+ serverTelemetryManager: this.initializeServerTelemetryManager(ApiId.acquireTokenPopup),
15711
+ requestAuthority: request.authority,
15712
+ requestAzureCloudOptions: request.azureCloudOptions,
15713
+ requestExtraQueryParameters: request.extraQueryParameters,
15714
+ account: request.account,
15715
+ authority: discoveredAuthority,
15716
+ });
15717
+ return invokeAsync(handleResponseCode, PerformanceEvents.HandleResponseCode, this.logger, this.performanceClient, correlationId)(popupRequest, serverParams, pkce.verifier, ApiId.acquireTokenPopup, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
15718
+ }
15719
+ else {
15720
+ return invokeAsync(handleResponseEAR, PerformanceEvents.HandleResponseEar, this.logger, this.performanceClient, correlationId)(popupRequest, serverParams, ApiId.acquireTokenPopup, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
15721
+ }
15696
15722
  }
15697
15723
  async executeCodeFlowWithPost(request, popupParams, authClient, pkceVerifier) {
15698
15724
  const correlationId = request.correlationId;
@@ -16101,11 +16127,13 @@
16101
16127
  account: request.account,
16102
16128
  });
16103
16129
  const earJwk = await invokeAsync(generateEarKey, PerformanceEvents.GenerateEarKey, this.logger, this.performanceClient, correlationId)();
16130
+ const pkceCodes = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
16104
16131
  const redirectRequest = {
16105
16132
  ...request,
16106
16133
  earJwk: earJwk,
16134
+ codeChallenge: pkceCodes.challenge,
16107
16135
  };
16108
- this.browserStorage.cacheAuthorizeRequest(redirectRequest);
16136
+ this.browserStorage.cacheAuthorizeRequest(redirectRequest, pkceCodes.verifier);
16109
16137
  const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
16110
16138
  form.submit();
16111
16139
  return new Promise((resolve, reject) => {
@@ -16563,6 +16591,7 @@
16563
16591
  authFrame.style.width = authFrame.style.height = "0";
16564
16592
  authFrame.style.border = "0";
16565
16593
  authFrame.setAttribute("sandbox", "allow-scripts allow-same-origin allow-forms");
16594
+ authFrame.setAttribute("allow", "local-network-access *");
16566
16595
  document.body.appendChild(authFrame);
16567
16596
  return authFrame;
16568
16597
  }
@@ -16670,16 +16699,32 @@
16670
16699
  account: request.account,
16671
16700
  });
16672
16701
  const earJwk = await invokeAsync(generateEarKey, PerformanceEvents.GenerateEarKey, this.logger, this.performanceClient, correlationId)();
16702
+ const pkceCodes = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
16673
16703
  const silentRequest = {
16674
16704
  ...request,
16675
16705
  earJwk: earJwk,
16706
+ codeChallenge: pkceCodes.challenge,
16676
16707
  };
16677
16708
  const msalFrame = await invokeAsync(initiateEarRequest, PerformanceEvents.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, correlationId)(this.config, discoveredAuthority, silentRequest, this.logger, this.performanceClient);
16678
16709
  const responseType = this.config.auth.OIDCOptions.serverResponseType;
16679
16710
  // Monitor the window for the hash. Return the string value and close the popup when the hash is received. Default timeout is 60 seconds.
16680
16711
  const responseString = await invokeAsync(monitorIframeForHash, PerformanceEvents.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, correlationId)(msalFrame, this.config.system.iframeHashTimeout, this.config.system.pollIntervalMilliseconds, this.performanceClient, this.logger, correlationId, responseType);
16681
16712
  const serverParams = invoke(deserializeResponse, PerformanceEvents.DeserializeResponse, this.logger, this.performanceClient, correlationId)(responseString, responseType, this.logger);
16682
- return invokeAsync(handleResponseEAR, PerformanceEvents.HandleResponseEar, this.logger, this.performanceClient, correlationId)(silentRequest, serverParams, this.apiId, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
16713
+ if (!serverParams.ear_jwe && serverParams.code) {
16714
+ // If server doesn't support EAR, they may fallback to auth code flow instead
16715
+ const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, correlationId)({
16716
+ serverTelemetryManager: this.initializeServerTelemetryManager(this.apiId),
16717
+ requestAuthority: request.authority,
16718
+ requestAzureCloudOptions: request.azureCloudOptions,
16719
+ requestExtraQueryParameters: request.extraQueryParameters,
16720
+ account: request.account,
16721
+ authority: discoveredAuthority,
16722
+ });
16723
+ return invokeAsync(handleResponseCode, PerformanceEvents.HandleResponseCode, this.logger, this.performanceClient, correlationId)(silentRequest, serverParams, pkceCodes.verifier, this.apiId, this.config, authClient, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
16724
+ }
16725
+ else {
16726
+ return invokeAsync(handleResponseEAR, PerformanceEvents.HandleResponseEar, this.logger, this.performanceClient, correlationId)(silentRequest, serverParams, this.apiId, this.config, discoveredAuthority, this.browserStorage, this.nativeStorage, this.eventHandler, this.logger, this.performanceClient, this.platformAuthProvider);
16727
+ }
16683
16728
  }
16684
16729
  /**
16685
16730
  * Currently Unsupported