@azure/msal-browser 4.21.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) 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/configuration/CustomAuthConfiguration.d.ts +2 -0
  56. package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  57. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  58. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +2 -2
  59. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  60. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +8 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  68. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +5 -3
  70. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +4 -1
  87. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +2 -1
  90. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +5 -4
  92. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +5 -5
  96. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  99. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +8 -1
  101. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  103. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +8 -1
  105. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  107. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +8 -1
  109. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts.map +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +10 -2
  119. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
  120. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  132. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  133. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -22
  134. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
  135. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -15
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -36
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  177. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  178. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  179. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  180. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  181. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  182. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  183. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  184. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  185. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  186. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  187. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  188. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  189. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  198. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  199. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  200. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  201. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  202. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  203. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  204. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  205. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  206. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  207. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  208. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  209. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  210. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  211. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  212. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  213. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  214. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  215. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  216. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  217. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +2 -0
  218. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  219. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  220. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  221. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  222. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  223. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  224. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +2 -1
  225. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  226. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  227. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  228. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  229. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  230. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  231. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  232. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  233. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  234. package/dist/custom_auth/core/utils/UrlUtils.d.ts +1 -1
  235. package/dist/custom_auth/core/utils/UrlUtils.d.ts.map +1 -1
  236. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  237. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  238. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  239. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  240. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  241. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  242. package/dist/encode/Base64Decode.mjs +1 -1
  243. package/dist/encode/Base64Encode.mjs +1 -1
  244. package/dist/error/BrowserAuthError.mjs +1 -1
  245. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  246. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  247. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  248. package/dist/error/NativeAuthError.mjs +1 -1
  249. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  250. package/dist/error/NestedAppAuthError.mjs +1 -1
  251. package/dist/event/EventHandler.mjs +1 -1
  252. package/dist/event/EventMessage.mjs +1 -1
  253. package/dist/event/EventType.mjs +1 -1
  254. package/dist/index.mjs +1 -1
  255. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  256. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  257. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  258. package/dist/interaction_client/PopupClient.mjs +1 -1
  259. package/dist/interaction_client/RedirectClient.mjs +1 -1
  260. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  261. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  262. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  263. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  264. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  265. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  266. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  267. package/dist/naa/BridgeError.mjs +1 -1
  268. package/dist/naa/BridgeProxy.mjs +1 -1
  269. package/dist/naa/BridgeStatusCode.mjs +1 -1
  270. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  271. package/dist/navigation/NavigationClient.mjs +1 -1
  272. package/dist/network/FetchClient.mjs +1 -1
  273. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  274. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  275. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  276. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  277. package/dist/packageMetadata.d.ts +1 -1
  278. package/dist/packageMetadata.mjs +2 -2
  279. package/dist/protocol/Authorize.mjs +1 -1
  280. package/dist/request/RequestHelpers.mjs +1 -1
  281. package/dist/response/ResponseHandler.mjs +1 -1
  282. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  283. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  284. package/dist/utils/BrowserConstants.mjs +1 -1
  285. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  286. package/dist/utils/BrowserUtils.mjs +1 -1
  287. package/dist/utils/Helpers.mjs +1 -1
  288. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  289. package/lib/custom-auth-path/msal-custom-auth.cjs +117 -146
  290. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  291. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  292. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +2 -0
  293. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  294. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  295. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  296. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  297. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  298. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  299. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +2 -1
  300. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  301. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  302. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  303. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  304. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  305. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  306. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  307. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  308. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  309. package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts +1 -1
  310. package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -1
  311. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  312. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  313. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  314. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  315. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  316. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  317. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  318. package/lib/msal-browser.cjs +66 -66
  319. package/lib/msal-browser.cjs.map +1 -1
  320. package/lib/msal-browser.js +66 -66
  321. package/lib/msal-browser.js.map +1 -1
  322. package/lib/msal-browser.min.js +60 -60
  323. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  324. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +2 -0
  325. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  326. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  327. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  328. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  329. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  330. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  331. package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +2 -1
  332. package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  333. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  334. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  335. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  336. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  337. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  338. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  339. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  340. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  341. package/lib/types/custom_auth/core/utils/UrlUtils.d.ts +1 -1
  342. package/lib/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -1
  343. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  344. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  345. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  346. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  347. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  348. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  349. package/lib/types/packageMetadata.d.ts +1 -1
  350. package/package.json +1 -1
  351. package/src/custom_auth/configuration/CustomAuthConfiguration.ts +2 -0
  352. package/src/custom_auth/controller/CustomAuthStandardController.ts +3 -1
  353. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +8 -0
  354. package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -2
  355. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
  356. package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +11 -3
  357. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +12 -4
  358. package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +22 -0
  359. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +22 -0
  360. package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +22 -0
  361. package/src/custom_auth/core/utils/UrlUtils.ts +15 -1
  362. package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +1 -25
  363. package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +1 -17
  364. package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +1 -41
  365. package/src/packageMetadata.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.21.0 2025-08-19 */
1
+ /*! @azure/msal-browser v4.22.0 2025-09-03 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -276,7 +276,7 @@ const JsonWebTokenTypes = {
276
276
  // Token renewal offset default in seconds
277
277
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
278
278
 
279
- /*! @azure/msal-common v15.12.0 2025-08-19 */
279
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
280
280
  /*
281
281
  * Copyright (c) Microsoft Corporation. All rights reserved.
282
282
  * Licensed under the MIT License.
@@ -287,7 +287,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
287
287
  const unexpectedError = "unexpected_error";
288
288
  const postRequestFailed$1 = "post_request_failed";
289
289
 
290
- /*! @azure/msal-common v15.12.0 2025-08-19 */
290
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
291
291
 
292
292
  /*
293
293
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -322,7 +322,7 @@ function createAuthError(code, additionalMessage) {
322
322
  : AuthErrorMessages[code]);
323
323
  }
324
324
 
325
- /*! @azure/msal-common v15.12.0 2025-08-19 */
325
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
326
326
  /*
327
327
  * Copyright (c) Microsoft Corporation. All rights reserved.
328
328
  * Licensed under the MIT License.
@@ -372,7 +372,7 @@ const missingTenantIdError = "missing_tenant_id_error";
372
372
  const methodNotImplemented = "method_not_implemented";
373
373
  const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
374
374
 
375
- /*! @azure/msal-common v15.12.0 2025-08-19 */
375
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
376
376
 
377
377
  /*
378
378
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -446,7 +446,7 @@ function createClientAuthError(errorCode, additionalMessage) {
446
446
  return new ClientAuthError(errorCode, additionalMessage);
447
447
  }
448
448
 
449
- /*! @azure/msal-common v15.12.0 2025-08-19 */
449
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
450
450
 
451
451
  /*
452
452
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -485,7 +485,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
485
485
  },
486
486
  };
487
487
 
488
- /*! @azure/msal-common v15.12.0 2025-08-19 */
488
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
489
489
 
490
490
  /*
491
491
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -676,12 +676,12 @@ class Logger {
676
676
  }
677
677
  }
678
678
 
679
- /*! @azure/msal-common v15.12.0 2025-08-19 */
679
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
680
680
  /* eslint-disable header/header */
681
681
  const name$1 = "@azure/msal-common";
682
682
  const version$1 = "15.12.0";
683
683
 
684
- /*! @azure/msal-common v15.12.0 2025-08-19 */
684
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
685
685
  /*
686
686
  * Copyright (c) Microsoft Corporation. All rights reserved.
687
687
  * Licensed under the MIT License.
@@ -690,7 +690,7 @@ const AzureCloudInstance = {
690
690
  // AzureCloudInstance is not specified.
691
691
  None: "none"};
692
692
 
693
- /*! @azure/msal-common v15.12.0 2025-08-19 */
693
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
694
694
  /*
695
695
  * Copyright (c) Microsoft Corporation. All rights reserved.
696
696
  * Licensed under the MIT License.
@@ -719,7 +719,7 @@ const authorityMismatch = "authority_mismatch";
719
719
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
720
720
  const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
721
721
 
722
- /*! @azure/msal-common v15.12.0 2025-08-19 */
722
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
723
723
 
724
724
  /*
725
725
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -764,7 +764,7 @@ function createClientConfigurationError(errorCode) {
764
764
  return new ClientConfigurationError(errorCode);
765
765
  }
766
766
 
767
- /*! @azure/msal-common v15.12.0 2025-08-19 */
767
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
768
768
  /*
769
769
  * Copyright (c) Microsoft Corporation. All rights reserved.
770
770
  * Licensed under the MIT License.
@@ -861,7 +861,7 @@ class StringUtils {
861
861
  }
862
862
  }
863
863
 
864
- /*! @azure/msal-common v15.12.0 2025-08-19 */
864
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
865
865
 
866
866
  /*
867
867
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1056,7 +1056,7 @@ class ScopeSet {
1056
1056
  }
1057
1057
  }
1058
1058
 
1059
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1059
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1060
1060
  /*
1061
1061
  * Copyright (c) Microsoft Corporation. All rights reserved.
1062
1062
  * Licensed under the MIT License.
@@ -1138,7 +1138,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1138
1138
  return updatedAccountInfo;
1139
1139
  }
1140
1140
 
1141
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1141
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1142
1142
 
1143
1143
  /*
1144
1144
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1199,7 +1199,7 @@ function checkMaxAge(authTime, maxAge) {
1199
1199
  }
1200
1200
  }
1201
1201
 
1202
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1202
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1203
1203
 
1204
1204
  /*
1205
1205
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1315,7 +1315,7 @@ function normalizeUrlForComparison(url) {
1315
1315
  }
1316
1316
  }
1317
1317
 
1318
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1318
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1319
1319
 
1320
1320
  /*
1321
1321
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1479,7 +1479,7 @@ class UrlString {
1479
1479
  }
1480
1480
  }
1481
1481
 
1482
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1482
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1483
1483
 
1484
1484
  /*
1485
1485
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1618,7 +1618,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1618
1618
  return null;
1619
1619
  }
1620
1620
 
1621
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1621
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1622
1622
  /*
1623
1623
  * Copyright (c) Microsoft Corporation. All rights reserved.
1624
1624
  * Licensed under the MIT License.
@@ -1626,7 +1626,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1626
1626
  const cacheQuotaExceeded = "cache_quota_exceeded";
1627
1627
  const cacheErrorUnknown = "cache_error_unknown";
1628
1628
 
1629
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1629
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1630
1630
 
1631
1631
  /*
1632
1632
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1671,7 +1671,7 @@ function createCacheError(e) {
1671
1671
  }
1672
1672
  }
1673
1673
 
1674
- /*! @azure/msal-common v15.12.0 2025-08-19 */
1674
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
1675
1675
 
1676
1676
  /*
1677
1677
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2779,7 +2779,7 @@ class DefaultStorageClass extends CacheManager {
2779
2779
  }
2780
2780
  }
2781
2781
 
2782
- /*! @azure/msal-common v15.12.0 2025-08-19 */
2782
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
2783
2783
  /*
2784
2784
  * Copyright (c) Microsoft Corporation. All rights reserved.
2785
2785
  * Licensed under the MIT License.
@@ -2803,7 +2803,7 @@ const ProtocolMode = {
2803
2803
  EAR: "EAR",
2804
2804
  };
2805
2805
 
2806
- /*! @azure/msal-common v15.12.0 2025-08-19 */
2806
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
2807
2807
  /*
2808
2808
  * Copyright (c) Microsoft Corporation. All rights reserved.
2809
2809
  * Licensed under the MIT License.
@@ -3070,7 +3070,7 @@ const PerformanceEvents = {
3070
3070
  const PerformanceEventStatus = {
3071
3071
  InProgress: 1};
3072
3072
 
3073
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3073
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3074
3074
 
3075
3075
  /*
3076
3076
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3149,7 +3149,7 @@ class StubPerformanceClient {
3149
3149
  }
3150
3150
  }
3151
3151
 
3152
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3152
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3153
3153
 
3154
3154
  /*
3155
3155
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3249,7 +3249,7 @@ function isOidcProtocolMode(config) {
3249
3249
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3250
3250
  }
3251
3251
 
3252
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3252
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3253
3253
  /*
3254
3254
  * Copyright (c) Microsoft Corporation. All rights reserved.
3255
3255
  * Licensed under the MIT License.
@@ -3259,7 +3259,7 @@ const CcsCredentialType = {
3259
3259
  UPN: "UPN",
3260
3260
  };
3261
3261
 
3262
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3262
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3263
3263
 
3264
3264
  /*
3265
3265
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3299,7 +3299,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
3299
3299
  };
3300
3300
  }
3301
3301
 
3302
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3302
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3303
3303
  /*
3304
3304
  * Copyright (c) Microsoft Corporation. All rights reserved.
3305
3305
  * Licensed under the MIT License.
@@ -3349,7 +3349,7 @@ const INSTANCE_AWARE = "instance_aware";
3349
3349
  const EAR_JWK = "ear_jwk";
3350
3350
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
3351
3351
 
3352
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3352
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3353
3353
 
3354
3354
  /*
3355
3355
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3729,7 +3729,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
3729
3729
  });
3730
3730
  }
3731
3731
 
3732
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3732
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3733
3733
  /*
3734
3734
  * Copyright (c) Microsoft Corporation. All rights reserved.
3735
3735
  * Licensed under the MIT License.
@@ -3744,7 +3744,7 @@ const AuthorityType = {
3744
3744
  Ciam: 3,
3745
3745
  };
3746
3746
 
3747
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3747
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3748
3748
  /*
3749
3749
  * Copyright (c) Microsoft Corporation. All rights reserved.
3750
3750
  * Licensed under the MIT License.
@@ -3756,7 +3756,7 @@ function isOpenIdConfigResponse(response) {
3756
3756
  response.hasOwnProperty("jwks_uri"));
3757
3757
  }
3758
3758
 
3759
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3759
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3760
3760
  /*
3761
3761
  * Copyright (c) Microsoft Corporation. All rights reserved.
3762
3762
  * Licensed under the MIT License.
@@ -3766,7 +3766,7 @@ function isCloudInstanceDiscoveryResponse(response) {
3766
3766
  response.hasOwnProperty("metadata"));
3767
3767
  }
3768
3768
 
3769
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3769
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3770
3770
  /*
3771
3771
  * Copyright (c) Microsoft Corporation. All rights reserved.
3772
3772
  * Licensed under the MIT License.
@@ -3776,7 +3776,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
3776
3776
  response.hasOwnProperty("error_description"));
3777
3777
  }
3778
3778
 
3779
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3779
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3780
3780
  /*
3781
3781
  * Copyright (c) Microsoft Corporation. All rights reserved.
3782
3782
  * Licensed under the MIT License.
@@ -3872,7 +3872,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
3872
3872
  };
3873
3873
  };
3874
3874
 
3875
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3875
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3876
3876
 
3877
3877
  /*
3878
3878
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3978,7 +3978,7 @@ RegionDiscovery.IMDS_OPTIONS = {
3978
3978
  },
3979
3979
  };
3980
3980
 
3981
- /*! @azure/msal-common v15.12.0 2025-08-19 */
3981
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
3982
3982
  /*
3983
3983
  * Copyright (c) Microsoft Corporation. All rights reserved.
3984
3984
  * Licensed under the MIT License.
@@ -4043,7 +4043,7 @@ function wasClockTurnedBack(cachedAt) {
4043
4043
  return cachedAtSec > nowSeconds();
4044
4044
  }
4045
4045
 
4046
- /*! @azure/msal-common v15.12.0 2025-08-19 */
4046
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
4047
4047
 
4048
4048
  /*
4049
4049
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4305,7 +4305,7 @@ function isAuthorityMetadataExpired(metadata) {
4305
4305
  return metadata.expiresAt <= nowSeconds();
4306
4306
  }
4307
4307
 
4308
- /*! @azure/msal-common v15.12.0 2025-08-19 */
4308
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
4309
4309
 
4310
4310
  /*
4311
4311
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5144,7 +5144,7 @@ function buildStaticAuthorityOptions(authOptions) {
5144
5144
  };
5145
5145
  }
5146
5146
 
5147
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5147
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5148
5148
 
5149
5149
  /*
5150
5150
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5175,7 +5175,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5175
5175
  }
5176
5176
  }
5177
5177
 
5178
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5178
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5179
5179
 
5180
5180
  /*
5181
5181
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5194,7 +5194,7 @@ class ServerError extends AuthError {
5194
5194
  }
5195
5195
  }
5196
5196
 
5197
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5197
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5198
5198
  /*
5199
5199
  * Copyright (c) Microsoft Corporation. All rights reserved.
5200
5200
  * Licensed under the MIT License.
@@ -5215,7 +5215,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5215
5215
  };
5216
5216
  }
5217
5217
 
5218
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5218
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5219
5219
 
5220
5220
  /*
5221
5221
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5302,7 +5302,7 @@ class ThrottlingUtils {
5302
5302
  }
5303
5303
  }
5304
5304
 
5305
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5305
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5306
5306
 
5307
5307
  /*
5308
5308
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5333,7 +5333,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
5333
5333
  return new NetworkError(error, httpStatus, responseHeaders);
5334
5334
  }
5335
5335
 
5336
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5336
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5337
5337
 
5338
5338
  /*
5339
5339
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5481,7 +5481,7 @@ class BaseClient {
5481
5481
  }
5482
5482
  }
5483
5483
 
5484
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5484
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5485
5485
  /*
5486
5486
  * Copyright (c) Microsoft Corporation. All rights reserved.
5487
5487
  * Licensed under the MIT License.
@@ -5503,7 +5503,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
5503
5503
  return null;
5504
5504
  }
5505
5505
 
5506
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5506
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5507
5507
 
5508
5508
  /*
5509
5509
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5718,7 +5718,7 @@ class AccountEntity {
5718
5718
  }
5719
5719
  }
5720
5720
 
5721
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5721
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5722
5722
  /*
5723
5723
  * Copyright (c) Microsoft Corporation. All rights reserved.
5724
5724
  * Licensed under the MIT License.
@@ -5734,7 +5734,7 @@ const consentRequired = "consent_required";
5734
5734
  const loginRequired = "login_required";
5735
5735
  const badToken = "bad_token";
5736
5736
 
5737
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5737
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5738
5738
 
5739
5739
  /*
5740
5740
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5806,7 +5806,7 @@ function createInteractionRequiredAuthError(errorCode) {
5806
5806
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
5807
5807
  }
5808
5808
 
5809
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5809
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5810
5810
 
5811
5811
  /*
5812
5812
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5878,7 +5878,7 @@ class ProtocolUtils {
5878
5878
  }
5879
5879
  }
5880
5880
 
5881
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5881
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5882
5882
 
5883
5883
  /*
5884
5884
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5960,7 +5960,7 @@ class PopTokenGenerator {
5960
5960
  }
5961
5961
  }
5962
5962
 
5963
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5963
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5964
5964
  /*
5965
5965
  * Copyright (c) Microsoft Corporation. All rights reserved.
5966
5966
  * Licensed under the MIT License.
@@ -5987,7 +5987,7 @@ class PopTokenGenerator {
5987
5987
  }
5988
5988
  }
5989
5989
 
5990
- /*! @azure/msal-common v15.12.0 2025-08-19 */
5990
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
5991
5991
 
5992
5992
  /*
5993
5993
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6318,7 +6318,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6318
6318
  return baseAccount;
6319
6319
  }
6320
6320
 
6321
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6321
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6322
6322
  /*
6323
6323
  * Copyright (c) Microsoft Corporation. All rights reserved.
6324
6324
  * Licensed under the MIT License.
@@ -6336,7 +6336,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
6336
6336
  }
6337
6337
  }
6338
6338
 
6339
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6339
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6340
6340
 
6341
6341
  /*
6342
6342
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6571,7 +6571,7 @@ class AuthorizationCodeClient extends BaseClient {
6571
6571
  }
6572
6572
  }
6573
6573
 
6574
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6574
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6575
6575
 
6576
6576
  /*
6577
6577
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6780,7 +6780,7 @@ class RefreshTokenClient extends BaseClient {
6780
6780
  }
6781
6781
  }
6782
6782
 
6783
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6783
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6784
6784
 
6785
6785
  /*
6786
6786
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6878,7 +6878,7 @@ class SilentFlowClient extends BaseClient {
6878
6878
  }
6879
6879
  }
6880
6880
 
6881
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6881
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6882
6882
 
6883
6883
  /*
6884
6884
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6893,7 +6893,7 @@ const StubbedNetworkModule = {
6893
6893
  },
6894
6894
  };
6895
6895
 
6896
- /*! @azure/msal-common v15.12.0 2025-08-19 */
6896
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
6897
6897
 
6898
6898
  /*
6899
6899
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7117,7 +7117,7 @@ function extractLoginHint(account) {
7117
7117
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7118
7118
  }
7119
7119
 
7120
- /*! @azure/msal-common v15.12.0 2025-08-19 */
7120
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
7121
7121
 
7122
7122
  /*
7123
7123
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7380,7 +7380,7 @@ class ServerTelemetryManager {
7380
7380
  }
7381
7381
  }
7382
7382
 
7383
- /*! @azure/msal-common v15.12.0 2025-08-19 */
7383
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
7384
7384
  /*
7385
7385
  * Copyright (c) Microsoft Corporation. All rights reserved.
7386
7386
  * Licensed under the MIT License.
@@ -7388,7 +7388,7 @@ class ServerTelemetryManager {
7388
7388
  const missingKidError = "missing_kid_error";
7389
7389
  const missingAlgError = "missing_alg_error";
7390
7390
 
7391
- /*! @azure/msal-common v15.12.0 2025-08-19 */
7391
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
7392
7392
 
7393
7393
  /*
7394
7394
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7413,7 +7413,7 @@ function createJoseHeaderError(code) {
7413
7413
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7414
7414
  }
7415
7415
 
7416
- /*! @azure/msal-common v15.12.0 2025-08-19 */
7416
+ /*! @azure/msal-common v15.12.0 2025-09-03 */
7417
7417
 
7418
7418
  /*
7419
7419
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7553,8 +7553,10 @@ class AuthFlowResultBase {
7553
7553
  * Error when no required authentication method by Microsoft Entra is supported
7554
7554
  */
7555
7555
  class RedirectError extends CustomAuthError {
7556
- constructor(correlationId) {
7557
- super("redirect", "No required authentication method by Microsoft Entra is supported, a fallback to the web-based authentication flow is needed.", correlationId);
7556
+ constructor(correlationId, redirectReason) {
7557
+ super("redirect", redirectReason ||
7558
+ "Redirect Error, a fallback to the browser-delegated authentication is needed. Use loginPopup instead.", correlationId);
7559
+ this.redirectReason = redirectReason;
7558
7560
  Object.setPrototypeOf(this, RedirectError.prototype);
7559
7561
  }
7560
7562
  }
@@ -7735,6 +7737,13 @@ class AuthActionErrorBase extends AuthFlowErrorBase {
7735
7737
  isTokenExpired() {
7736
7738
  return this.isTokenExpiredError();
7737
7739
  }
7740
+ /**
7741
+ * Check if client app supports the challenge type configured in Entra.
7742
+ * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
7743
+ */
7744
+ isRedirectRequired() {
7745
+ return this.isRedirectError();
7746
+ }
7738
7747
  }
7739
7748
 
7740
7749
  /*
@@ -7811,7 +7820,7 @@ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
7811
7820
 
7812
7821
  /* eslint-disable header/header */
7813
7822
  const name = "@azure/msal-browser";
7814
- const version = "4.21.0";
7823
+ const version = "4.22.0";
7815
7824
 
7816
7825
  /*
7817
7826
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7984,13 +7993,6 @@ class SignInError extends AuthActionErrorBase {
7984
7993
  isUnsupportedChallengeType() {
7985
7994
  return this.isUnsupportedChallengeTypeError();
7986
7995
  }
7987
- /**
7988
- * Check if client app supports the challenge type configured in Entra.
7989
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
7990
- */
7991
- isRedirectRequired() {
7992
- return this.isRedirectError();
7993
- }
7994
7996
  }
7995
7997
  class SignInSubmitPasswordError extends AuthActionErrorBase {
7996
7998
  /**
@@ -8011,13 +8013,6 @@ class SignInSubmitCodeError extends AuthActionErrorBase {
8011
8013
  }
8012
8014
  }
8013
8015
  class SignInResendCodeError extends AuthActionErrorBase {
8014
- /**
8015
- * Check if client app supports the challenge type configured in Entra.
8016
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8017
- */
8018
- isRedirectRequired() {
8019
- return this.isRedirectError();
8020
- }
8021
8016
  }
8022
8017
 
8023
8018
  /*
@@ -8631,13 +8626,6 @@ class SignUpError extends AuthActionErrorBase {
8631
8626
  isUnsupportedChallengeType() {
8632
8627
  return this.isUnsupportedChallengeTypeError();
8633
8628
  }
8634
- /**
8635
- * Check if client app supports the challenge type configured in Entra.
8636
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8637
- */
8638
- isRedirectRequired() {
8639
- return this.isRedirectError();
8640
- }
8641
8629
  }
8642
8630
  class SignUpSubmitPasswordError extends AuthActionErrorBase {
8643
8631
  /**
@@ -8647,13 +8635,6 @@ class SignUpSubmitPasswordError extends AuthActionErrorBase {
8647
8635
  isInvalidPassword() {
8648
8636
  return (this.isPasswordIncorrectError() || this.isInvalidNewPasswordError());
8649
8637
  }
8650
- /**
8651
- * Check if client app supports the challenge type configured in Entra.
8652
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8653
- */
8654
- isRedirectRequired() {
8655
- return this.isRedirectError();
8656
- }
8657
8638
  }
8658
8639
  class SignUpSubmitCodeError extends AuthActionErrorBase {
8659
8640
  /**
@@ -8663,13 +8644,6 @@ class SignUpSubmitCodeError extends AuthActionErrorBase {
8663
8644
  isInvalidCode() {
8664
8645
  return this.isInvalidCodeError();
8665
8646
  }
8666
- /**
8667
- * Check if client app supports the challenge type configured in Entra.
8668
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8669
- */
8670
- isRedirectRequired() {
8671
- return this.isRedirectError();
8672
- }
8673
8647
  }
8674
8648
  class SignUpSubmitAttributesError extends AuthActionErrorBase {
8675
8649
  /**
@@ -8686,22 +8660,8 @@ class SignUpSubmitAttributesError extends AuthActionErrorBase {
8686
8660
  isAttributesValidationFailed() {
8687
8661
  return this.isAttributeValidationFailedError();
8688
8662
  }
8689
- /**
8690
- * Check if client app supports the challenge type configured in Entra.
8691
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8692
- */
8693
- isRedirectRequired() {
8694
- return this.isRedirectError();
8695
- }
8696
8663
  }
8697
8664
  class SignUpResendCodeError extends AuthActionErrorBase {
8698
- /**
8699
- * Check if client app supports the challenge type configured in Entra.
8700
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
8701
- */
8702
- isRedirectRequired() {
8703
- return this.isRedirectError();
8704
- }
8705
8665
  }
8706
8666
 
8707
8667
  /*
@@ -10613,7 +10573,9 @@ class CustomAuthInteractionClientBase extends StandardInteractionClient {
10613
10573
  return challengeType.join(" ");
10614
10574
  }
10615
10575
  getScopes(scopes) {
10616
- if (!!scopes && scopes.length > 0) ;
10576
+ if (!!scopes && scopes.length > 0) {
10577
+ return scopes;
10578
+ }
10617
10579
  return [
10618
10580
  Constants.OPENID_SCOPE,
10619
10581
  Constants.PROFILE_SCOPE,
@@ -10901,13 +10863,6 @@ class ResetPasswordError extends AuthActionErrorBase {
10901
10863
  isUnsupportedChallengeType() {
10902
10864
  return this.isUnsupportedChallengeTypeError();
10903
10865
  }
10904
- /**
10905
- * Check if client app supports the challenge type configured in Entra.
10906
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
10907
- */
10908
- isRedirectRequired() {
10909
- return this.isRedirectError();
10910
- }
10911
10866
  }
10912
10867
  class ResetPasswordSubmitPasswordError extends AuthActionErrorBase {
10913
10868
  /**
@@ -10937,22 +10892,8 @@ class ResetPasswordSubmitCodeError extends AuthActionErrorBase {
10937
10892
  isInvalidCode() {
10938
10893
  return this.isInvalidCodeError();
10939
10894
  }
10940
- /**
10941
- * Check if client app supports the challenge type configured in Entra.
10942
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
10943
- */
10944
- isRedirectRequired() {
10945
- return this.isRedirectError();
10946
- }
10947
10895
  }
10948
10896
  class ResetPasswordResendCodeError extends AuthActionErrorBase {
10949
- /**
10950
- * Check if client app supports the challenge type configured in Entra.
10951
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
10952
- */
10953
- isRedirectRequired() {
10954
- return this.isRedirectError();
10955
- }
10956
10897
  }
10957
10898
 
10958
10899
  /*
@@ -11323,10 +11264,18 @@ function parseUrl(url) {
11323
11264
  throw new ParsedUrlError(InvalidUrl, `The URL "${url}" is invalid: ${e}`);
11324
11265
  }
11325
11266
  }
11326
- function buildUrl(baseUrl, path) {
11267
+ function buildUrl(baseUrl, path, queryParams) {
11327
11268
  const newBaseUrl = !baseUrl.endsWith("/") ? `${baseUrl}/` : baseUrl;
11328
11269
  const newPath = path.startsWith("/") ? path.slice(1) : path;
11329
11270
  const url = new URL(newPath, newBaseUrl);
11271
+ // Add query parameters if provided
11272
+ if (queryParams) {
11273
+ Object.entries(queryParams).forEach(([key, value]) => {
11274
+ if (value !== undefined && value !== null) {
11275
+ url.searchParams.set(key, String(value));
11276
+ }
11277
+ });
11278
+ }
11330
11279
  return url;
11331
11280
  }
11332
11281
 
@@ -11660,9 +11609,10 @@ class CustomAuthInterationClientFactory {
11660
11609
  * Licensed under the MIT License.
11661
11610
  */
11662
11611
  class BaseApiClient {
11663
- constructor(baseUrl, clientId, httpClient) {
11612
+ constructor(baseUrl, clientId, httpClient, customAuthApiQueryParams) {
11664
11613
  this.clientId = clientId;
11665
11614
  this.httpClient = httpClient;
11615
+ this.customAuthApiQueryParams = customAuthApiQueryParams;
11666
11616
  this.baseRequestUrl = parseUrl(!baseUrl.endsWith("/") ? `${baseUrl}/` : baseUrl);
11667
11617
  }
11668
11618
  async request(endpoint, data, telemetryManager, correlationId) {
@@ -11671,7 +11621,7 @@ class BaseApiClient {
11671
11621
  ...data,
11672
11622
  });
11673
11623
  const headers = this.getCommonHeaders(correlationId, telemetryManager);
11674
- const url = buildUrl(this.baseRequestUrl.href, endpoint);
11624
+ const url = buildUrl(this.baseRequestUrl.href, endpoint, this.customAuthApiQueryParams);
11675
11625
  let response;
11676
11626
  try {
11677
11627
  response = await this.httpClient.post(url, formData, headers);
@@ -11712,7 +11662,7 @@ class BaseApiClient {
11712
11662
  // Ensure the response doesn't have redirect challenge type
11713
11663
  if (typeof responseData === "object" &&
11714
11664
  responseData.challenge_type === ChallengeType.REDIRECT) {
11715
- throw new RedirectError(correlationId);
11665
+ throw new RedirectError(correlationId, responseData.redirect_reason);
11716
11666
  }
11717
11667
  return {
11718
11668
  ...responseData,
@@ -11736,6 +11686,10 @@ class BaseApiClient {
11736
11686
  * Licensed under the MIT License.
11737
11687
  */
11738
11688
  class ResetPasswordApiClient extends BaseApiClient {
11689
+ constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams) {
11690
+ super(customAuthApiBaseUrl, clientId, httpClient, customAuthApiQueryParams);
11691
+ this.capabilities = capabilities;
11692
+ }
11739
11693
  /**
11740
11694
  * Start the password reset flow
11741
11695
  */
@@ -11743,6 +11697,9 @@ class ResetPasswordApiClient extends BaseApiClient {
11743
11697
  const result = await this.request(RESET_PWD_START, {
11744
11698
  challenge_type: params.challenge_type,
11745
11699
  username: params.username,
11700
+ ...(this.capabilities && {
11701
+ capabilities: this.capabilities,
11702
+ }),
11746
11703
  }, params.telemetryManager, params.correlationId);
11747
11704
  this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
11748
11705
  return result;
@@ -11813,6 +11770,10 @@ class ResetPasswordApiClient extends BaseApiClient {
11813
11770
  * Licensed under the MIT License.
11814
11771
  */
11815
11772
  class SignupApiClient extends BaseApiClient {
11773
+ constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams) {
11774
+ super(customAuthApiBaseUrl, clientId, httpClient, customAuthApiQueryParams);
11775
+ this.capabilities = capabilities;
11776
+ }
11816
11777
  /**
11817
11778
  * Start the sign-up flow
11818
11779
  */
@@ -11824,6 +11785,9 @@ class SignupApiClient extends BaseApiClient {
11824
11785
  attributes: JSON.stringify(params.attributes),
11825
11786
  }),
11826
11787
  challenge_type: params.challenge_type,
11788
+ ...(this.capabilities && {
11789
+ capabilities: this.capabilities,
11790
+ }),
11827
11791
  }, params.telemetryManager, params.correlationId);
11828
11792
  this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
11829
11793
  return result;
@@ -11876,6 +11840,10 @@ class SignupApiClient extends BaseApiClient {
11876
11840
  * Licensed under the MIT License.
11877
11841
  */
11878
11842
  class SignInApiClient extends BaseApiClient {
11843
+ constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams) {
11844
+ super(customAuthApiBaseUrl, clientId, httpClient, customAuthApiQueryParams);
11845
+ this.capabilities = capabilities;
11846
+ }
11879
11847
  /**
11880
11848
  * Initiates the sign-in flow
11881
11849
  * @param username User's email
@@ -11885,6 +11853,9 @@ class SignInApiClient extends BaseApiClient {
11885
11853
  const result = await this.request(SIGNIN_INITIATE, {
11886
11854
  username: params.username,
11887
11855
  challenge_type: params.challenge_type,
11856
+ ...(this.capabilities && {
11857
+ capabilities: this.capabilities,
11858
+ }),
11888
11859
  }, params.telemetryManager, params.correlationId);
11889
11860
  this.ensureContinuationTokenIsValid(result.continuation_token, params.correlationId);
11890
11861
  return result;
@@ -11982,10 +11953,10 @@ class SignInApiClient extends BaseApiClient {
11982
11953
  * Licensed under the MIT License.
11983
11954
  */
11984
11955
  class CustomAuthApiClient {
11985
- constructor(customAuthApiBaseUrl, clientId, httpClient) {
11986
- this.signInApi = new SignInApiClient(customAuthApiBaseUrl, clientId, httpClient);
11987
- this.signUpApi = new SignupApiClient(customAuthApiBaseUrl, clientId, httpClient);
11988
- this.resetPasswordApi = new ResetPasswordApiClient(customAuthApiBaseUrl, clientId, httpClient);
11956
+ constructor(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams) {
11957
+ this.signInApi = new SignInApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams);
11958
+ this.signUpApi = new SignupApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams);
11959
+ this.resetPasswordApi = new ResetPasswordApiClient(customAuthApiBaseUrl, clientId, httpClient, capabilities, customAuthApiQueryParams);
11989
11960
  }
11990
11961
  }
11991
11962
 
@@ -19816,7 +19787,7 @@ class CustomAuthStandardController extends StandardController {
19816
19787
  this.customAuthConfig = operatingContext.getCustomAuthConfig();
19817
19788
  this.authority = new CustomAuthAuthority(this.customAuthConfig.auth.authority, this.customAuthConfig, this.networkClient, this.browserStorage, this.logger, this.customAuthConfig.customAuth?.authApiProxyUrl);
19818
19789
  const interactionClientFactory = new CustomAuthInterationClientFactory(this.customAuthConfig, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, customAuthApiClient ??
19819
- new CustomAuthApiClient(this.authority.getCustomAuthApiDomain(), this.customAuthConfig.auth.clientId, new FetchHttpClient(this.logger)), this.authority);
19790
+ new CustomAuthApiClient(this.authority.getCustomAuthApiDomain(), this.customAuthConfig.auth.clientId, new FetchHttpClient(this.logger), this.customAuthConfig.customAuth?.capabilities?.join(" "), this.customAuthConfig.customAuth?.customAuthApiQueryParams), this.authority);
19820
19791
  this.signInClient = interactionClientFactory.create(SignInClient);
19821
19792
  this.signUpClient = interactionClientFactory.create(SignUpClient);
19822
19793
  this.resetPasswordClient =