# Silent Authentication (prompt=none) Compatibility with Flexible Factors Actions API (challengeWith / challengeWithAny / enrollWith / enrollWithAny)

**URL:** <https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645>\
**Category:** Product Feedback\
**Created:** [May 5, 2026, 6:23pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645 "2026-05-05T18:23:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexandru.chitigoi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexandru.chitigoi/32/70904_2.png) [@alexandru.chitigoi](https://community.auth0.com/u/alexandru.chitigoi)\
**Post date:** [May 5, 2026, 6:23pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645/1 "2026-05-05T18:23:08Z")

</div>

Description: The newer Flexible Factors Actions API methods (`api.authentication.challengeWith()`, `api.authentication.challengeWithAny()`, `api.authentication.enrollWith()`, `api.authentication.enrollWithAny()`) are fundamentally incompatible with Silent Authentication (`prompt=none`) flows. When these commands are invoked inside a post-login Action, Auth0 consistently returns a “Multifactor authentication required” / `mfa_required` error during silent authentication, even when the user has a valid session and previously satisfied MFA (including completing MFA via the legacy `api.multifactor.enable()` method with “Remember for 30 days” enabled) [17].

The documented workaround for legacy MFA — inspecting `event.authentication.methods` for a prior `mfa` entry and skipping the challenge within the same session [1][13] — does not fully resolve the problem when migrating to the new Flexible Factors API. Specifically:

1. A “remember device” state established under the legacy `api.multifactor.enable('any', { allowRememberBrowser: true })` command is not honored by `challengeWithAny()` after migration, causing previously trusted sessions to break.
2. `challengeWith` / `challengeWithAny` do not currently expose an `allowRememberBrowser` option, which has already been raised as a separate gap [18].
3. The Flexible Factors commands force user interaction unconditionally, which by definition conflicts with `prompt=none` semantics and returns an error rather than silently succeeding on an already-authenticated session.
4. Additionally, a failed silent authentication due to MFA does not terminate the session; a subsequent interactive `/authorize` call will prompt for MFA without requiring first-factor credentials, which introduces an unexpected behavioral inconsistency.

Customers migrating from the legacy MFA API to the recommended Flexible Factors API [17] are therefore left without a supported path that preserves their existing silent authentication flows.

Use-case: Many applications rely on silent authentication (`prompt=none`) to renew short-lived access tokens in SPAs without UX disruption [1], and as a defensive mechanism to detect session state (e.g., allowing users who cannot complete an MFA challenge to gracefully switch accounts rather than becoming stuck on the MFA page with no logout path). At the same time, customers require the granular control offered by the Flexible Factors API — for example, setting **email as the default MFA factor** — which is not achievable through the tenant-level “Always Require” MFA policy.

The current state forces customers into a mutually exclusive choice between:

- Using `challengeWith` / `challengeWithAny` to control factor selection (breaks silent authentication), or
- Using “Always Require” at the tenant level (no control over default factor), or
- Remaining on the deprecated `api.multifactor.enable()` API (blocks adoption of the recommended Flexible Factors model).

A supported mechanism is needed so that `challengeWith` / `challengeWithAny` / `enrollWith` / `enrollWithAny` can interoperate with silent authentication — for example, by honoring `event.authentication.methods` containing a prior `mfa` entry (mirroring the legacy “require MFA once per session” pattern [1][13]), by respecting an existing “remember device” state across the legacy-to-new API migration, and/or by exposing an `allowRememberBrowser` option on the new commands [18]. This would allow customers to adopt the modern Flexible Factors API, retain custom default-factor logic (e.g., email-first MFA), and preserve silent authentication as a critical token renewal and session recovery pattern.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [May 29, 2026, 11:34pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645/2 "2026-05-29T23:34:27Z")

</div>

Hi @alexandru.chitigoi

Thank you for submitting this feature card, do not forget to upvote it in order to bring attention to it!

Best regards,  
Gerald

---

<div class="post-metadata">

**Author:** ![juanmanuel.perez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/juanmanuel.perez/32/80171_2.png) [@juanmanuel.perez](https://community.auth0.com/u/juanmanuel.perez)\
**Post date:** [July 29, 2026, 12:11pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645/3 "2026-07-29T12:11:03Z")

</div>

Is there any update on this topic? @alexandru.chitigoi

I’m interested to know how to hide the “Remember for 30 days” when using “challengeWith” or “challengeWithAny” functions.

Thanks.

---

<div class="post-metadata">

**Author:** ![drose](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drose/32/15180_2.png) [@drose](https://community.auth0.com/u/drose)\
**Post date:** [September 11, 2026, 3:50pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645/4 "2026-09-11T15:50:53Z")

</div>

You can still call api.multifactor.enable(provider, { allowRememberBrowser }) BEFORE you call challengeWith\* and that lets you control the checkbox but also still pauses the next action for post MFA things you might want to do.

---

<div class="post-metadata">

**Author:** ![drose](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drose/32/15180_2.png) [@drose](https://community.auth0.com/u/drose)\
**Post date:** [September 11, 2026, 3:52pm UTC](https://community.auth0.com/t/silent-authentication-prompt-none-compatibility-with-flexible-factors-actions-api-challengewith-challengewithany-enrollwith-enrollwithany/199645/5 "2026-09-11T15:52:18Z")

</div>

Seems there is NOTHING in the post-login event object that indicates that the browser is a “remembered device”, so we can’t drive challengeWith correctly now.
