Skipping repeat MFA prompts with the last validation threshold

authentik's last validation threshold and Remember device settings decide how often users see a second factor again. This page explains safe values, limits for code-based methods and hardening advice.

On this page

How the last validation threshold skips repeat MFA prompts in authentik

A security team often faces two complaints at once: users are asked for a second factor on every sign-in and push back, or a generous skip window lets a session stay weakly protected long after the user last proved who they are. The last validation threshold skips MFA when the user has recently used a compatible device within the configured window. It is a setting on the authenticator validation stage, not on the flow or the provider, so it applies wherever that stage runs in a flow. Teams need to tune it when the stage is in use and their login frequency, device mix and risk appetite do not match the default behavior.

The threshold works together with the remember-device behavior, and the two should be reviewed as one decision. A threshold is only useful when the device that was used is one the stage recognizes as compatible, so a short window does not help for TOTP, static and SMS codes when the value is under 30 seconds, according to the authenticator validation stage documentation. Before changing anything, confirm which authenticator types are bound to the stage in your flows, how long your users' sessions normally last, and whether any application depends on the stage running on every request. Test the change with a pilot group and a privileged account that is excluded from skipping.

For hardening, the authentik hardening guide recommends shortening or disabling Remember device, which defaults to 30 days. A long remember window combined with a long threshold means a stolen browser or unattended laptop can keep bypassing MFA for weeks, so most high-assurance teams choose the shortest window that their help desk and users can accept. Record the chosen values, the owner who approved them, and a review date, because these settings are easy to change during an incident and hard to explain to an auditor later.

Choosing values for the threshold and Remember device

This table compares the last validation threshold on the authenticator validation stage with the Remember device setting in the hardening guidance. Read each row as a trade-off between prompt frequency and how long a stolen or shared session can skip a second factor.

SettingWhat it controlsWhen it fits
Last validation threshold, under 30 secondsSkips MFA only if the user used a compatible device within the windowDoes not help for TOTP, static or SMS codes, so avoid it for those methods
Last validation threshold, set for code-based methodsSkips repeat prompts for a short period after a successful validationUse only where a short skip window fits your risk and the user's workflow, and confirm the value against the stage documentation
Last validation threshold, left emptyEvery protected login prompts for the second factorSuits high-risk applications, administrator access and shared workstations
Remember device, default 30 daysKeeps a device trusted for the default periodDefault only if your risk review accepts a month-long trusted device
Remember device, shortenedReduces how long a trusted device can skip MFAHardening recommendation for most workforce deployments, balanced against prompt volume
Remember device, disabledNo device is trusted, so every login promptsSuits privileged or regulated applications where repeat prompts are acceptable
Threshold and Remember device togetherBoth can skip MFA, so the longer window governs the actual exposureReview both settings in one change so their combined effect is understood

Sensible settings by user population and risk

For most employees signing in to everyday business applications, the main goal of the last validation threshold is to remove repeated prompts without making a lost laptop or a copied browser session useful for long. A longer window means fewer prompts for people who sign in many times a day, but it also means a stolen session or an unattended device stays trusted for that whole period. The right window is a policy decision, so exact durations should come from your security team and be written down with the reason for them.

  • Set the threshold above the floor: Values under 30 seconds do not help for TOTP, static and SMS codes, so choose a window that actually saves prompts.
  • Review Remember device: The hardening guide recommends shortening or disabling Remember device, which defaults to 30 days, and this is often the bigger lever for workforce users.
  • Separate code-based and device-bound methods: Passkeys and hardware keys tolerate a different setting than codes sent by SMS or email, so do not apply one value to every method.
  • Plan for re-prompts after network changes: Confirm with your own tests how the stage behaves when a user moves networks or switches browsers.
  • Communicate the rule: Tell staff when they will be asked again so that repeated prompts do not push them toward workarounds.

Before rollout, confirm the chosen window and Remember device value in a pilot group and record the agreed policy value.

How to configure the threshold in authentik

This sequence lets an administrator find the authenticator validation stage behind the login flow, set the last validation threshold and Remember device values for each policy, and confirm with real sign-ins that repeat prompts are skipped only where intended.

  1. Identify the flow and validation stage

    Start in the authentik admin interface and locate the authentication flow that users pass through at sign-in. Open the flow's stage bindings and find the authenticator validation stage that prompts for the second factor. Note which user groups or policies control whether the flow applies, because a single stage can be bound to several flows. The step is complete when you can name the flow, the stage and the policy bindings that send a given user group through that stage.

  2. Review the last validation threshold setting

    Open the authenticator validation stage and read the last validation threshold field. This setting skips the MFA prompt when the user has already validated with a compatible device within the configured window. Confirm which authenticator types the stage accepts, since the threshold behaves differently for code-based methods. For TOTP, static and SMS codes, values under 30 seconds do not help. Record the current value so you can compare it after the change.

  3. Review the Remember device setting

    Check the Remember device setting in the same stage configuration and any related session settings in your deployment. authentik's hardening guidance recommends shortening or disabling Remember device, which defaults to 30 days. Decide whether a long-lived device trust is acceptable for each user group, such as standard staff, administrators or contractors. Write down the value you choose for each group before you edit anything, so the change is traceable.

  4. Set values per policy

    Create or adjust separate stages or flow bindings for groups with different risk levels, rather than one global value for everyone. Set a short threshold and shorter or disabled device memory for privileged and administrative accounts, and a value you can justify for lower-risk groups. Save each stage and confirm that the policy bindings route each group to the intended stage. The step is complete when each group maps to a documented setting.

  5. Test sign-ins across device types

    Test with a real user account in each affected group. Sign in from the same browser twice within the threshold window and confirm whether the second prompt is skipped as intended. Then sign in from a new browser or device and confirm that the MFA prompt appears. Repeat with each authenticator type your users rely on, including TOTP, WebAuthn and any code-based methods, because the expected behavior differs. Note any unexpected skip or prompt in a test log.

  6. Confirm the change in the audit trail

    Open the event log in authentik and find the recorded configuration changes for the stage and the flow bindings. Confirm that the entries match the values you wrote down, and that the test sign-ins show the expected authentication events. Keep a copy of the before and after values with the change record. The step is complete when the audit entries, the test log and your documented settings agree.

  7. Recheck after upgrades and policy changes

    Repeat the review whenever you upgrade authentik, change a flow, or add a new authenticator type, since defaults and stage behavior can change between releases. Use the security and hardening guidance as your baseline and confirm each value against your own risk policy. Assign an owner for the settings and schedule the review in your change process. The check is complete when the owner signs off on the current values.

Why code-based methods need tighter limits

Code-based factors such as TOTP, static codes and SMS codes are only as strong as the window in which they are accepted and the guesses allowed against them. The cards below explain how the last validation threshold interacts with those factors, and what to set separately so that a skipped prompt does not become a weaker login.

Sub-30-second windows do not help

For TOTP, static and SMS codes, a last validation threshold below 30 seconds does not skip anything useful, because a new code is generated on a different schedule and the user will be prompted again almost immediately. Setting a very short value adds configuration without reducing friction. Check the authenticator validation stage in your flow and test the actual behavior with each code-based method you allow before you rely on the setting.

Longer windows extend factor reuse

Every second added to the threshold extends the period in which a stolen session or a shared device can pass the second factor without a fresh code. A guessable or replayable code path, such as an SMS code or a static token typed from a list, stays usable for the whole window. Decide the window per application based on what the session can reach, and record the reason for each value.

SMS and email delivery risks

SMS codes can be intercepted through SIM swapping or message forwarding, and both SMS and email codes can be delayed, which pushes users toward retrying or approving prompts they did not start. A skipped prompt removes the moment when a user would notice an unexpected code. Ask your team which code-based methods remain enabled for each application, and confirm delivery providers and recovery paths before relaxing the window for those users.

Guess throttling is configured separately

The last validation threshold decides when a prompt is skipped, not how many wrong codes an attacker may try. Attempt limits and lockout behavior are separate settings, and their coverage differs by method, so a generous skip window does not change how many guesses are allowed. Review throttling for every code-based factor and treat it as a requirement for any window you set, with details in the brute-force protection guidance.

Remember device defaults need review

The remember device setting controls how long a trusted device skips MFA, and the authentik hardening guide recommends shortening or disabling it, starting from a default of 30 days. Apply the same review to the last validation threshold so the two settings do not combine into a long unprompted session. Document the chosen values and who approved them.

Questions teams ask before changing MFA skip settings

Is the last validation threshold alone enough to reduce MFA prompts?

No. The threshold is one lever among several. It only skips a prompt when the user has already passed a compatible device check inside the configured window, so its effect depends on how the authenticator validation stage is wired into your flows and which device classes users actually enroll. Remember device, which defaults to 30 days according to the authentik hardening guide, also shapes how often people are challenged. Review both together, then confirm the result in a test flow before rollout. Ask your partner or internal team to map every flow that includes the stage so you can see where prompts will disappear.

Which values make sense for code-based MFA methods?

For TOTP, static and SMS codes, the authentik authenticator validation stage documentation notes that values under 30 seconds do not help, because the window is too short to skip anything useful. Above that floor, the right number depends on your risk tolerance, the sensitivity of the applications behind the flow and how often users change networks or devices. Code-based methods are guessable without throttling, so a longer skip window raises the value of a stolen session or device. Document the chosen value per flow and tie it to a named risk owner, rather than applying one number everywhere.

What does changing these settings cost, and who pays for the work?

The direct change is a configuration edit, but the cost sits in analysis and testing. Your internal identity team or an implementation partner must inventory flows, confirm which applications depend on the stage, run test logins for each device class and document the outcome for auditors. Costs rise with the number of flows, the number of applications behind them and the amount of change control your organization requires. Most engagements are fixed-scope, so ask for a written scope listing flows, test cases, approvals and handover material. A quote should separate one-time analysis and testing from any recurring review after each authentik upgrade.

How long does a test cycle take for MFA skip settings?

The duration depends on the environment more than on the setting itself. Duration grows with the number of flows and device types under test, whether a staging instance mirrors production identity sources and how many approval rounds your change process requires. A small single-flow deployment with a staging copy is far shorter than a multi-region estate with several applications and external users. No duration figure is given here, so ask for a timeline that lists each test case, the environment it runs in and the sign-off steps before work begins.

What does the admin team need to provide for this change?

The work needs administrator access to the authentik instance, a staging copy where possible, and a list of applications and flows that use the authenticator validation stage. You also need the user populations and their device types, the current remember device setting, and the names of people who approve risk decisions. Logs from recent sign-ins help confirm which prompts appear today. If you use SMS or email codes, confirm the delivery provider and its limits with the vendor or in your own environment, since these affect how users respond to changes.

Can our own team change the last validation threshold in-house?

Yes, a capable identity team can change the setting, but the effort lies in validation and documentation. Your team needs working knowledge of authentik flows and stages, a staging environment to test each device class, and a rollback plan. Teams that run authentik day to day usually handle the change themselves, while teams without that experience often bring in outside help for the flow review and test plan. DeployOpen plans, implements, hardens and documents self-hosted platforms in your own infrastructure, so an engagement can cover the review, the change and the handover, or only part of that work.

How does changing the skip window interact with enforcing MFA for every user?

The two changes interact directly. Enforcement decides who must enroll and what happens when no authenticator is configured, while the skip window decides how often enrolled users are challenged again. If you enforce MFA but leave a long skip window, users may go weeks without a prompt on a device they registered once, so a stolen device or session becomes more valuable. Sequence the work so enforcement is tested first, then tune the skip window per flow. Confirm how each sibling setting behaves in your version of authentik, because behavior changes between releases.

Limits to confirm in your environment

The last validation threshold trades prompts for exposure, and its effect depends on your authentik version, your authenticator types and the clients that sign in through it. The cards below list what to confirm before you choose a value, so the setting matches your risk model rather than a default.

Confirm your authentik version

Check that your deployment runs a release on the supported list in the security policy. Security fixes ship only for supported lines, and the project announces security releases at least 24 hours in advance, so you need a plan to pick them up quickly. Confirm the exact version in your running instance before you tune MFA reuse, since behavior of related stages can change between releases.

Confirm the threshold for each authenticator

The threshold does not help for every method. For TOTP, static and SMS codes, values under 30 seconds do not add any benefit, so a short window is effectively no reuse. Test each authenticator type your users enroll, including any you add later, and record which ones actually skip the prompt. Do not assume that a value set for one stage applies to another.

Confirm LDAP and RADIUS behavior

LDAP and RADIUS clients do not display a browser prompt, so users cannot see when MFA was skipped or required. Confirm how your bind flow evaluates the threshold for these clients, and whether a skipped check still meets your logging and audit needs. Test with the real client applications, because a bind that succeeds silently can change who is trusted for how long.

Confirm Enterprise feature needs

Some controls that affect MFA governance sit in the Enterprise edition, including enhanced audit logging and password history. Decide whether you need those controls to prove how MFA reuse is enforced, and check which edition covers them against the current pricing page. Ask for the written scope and feature list before you rely on any Enterprise-only control in your design.

Confirm your MFA reuse policy

Compliance and internal policy often set how long a prior MFA check can count. Obtain the written requirement from your compliance owner, including the maximum acceptable reuse window, whether reuse is allowed by device class and whether reuse is allowed for privileged access. Match your remember-device duration and threshold to that document, and record the decision so auditors can trace it.

Confirm remember-device settings

The hardening guide recommends shortening or disabling Remember device, which defaults to 30 days. Confirm whether your policy allows that default, and whether a remembered device should also skip the prompt for administrators and high-risk applications. Review the value after each authentik upgrade, since a stored device trust can outlast the threshold you intended.

How DeployOpen scopes MFA tuning work

DeployOpen is a Chainscore Labs company that plans, implements, hardens and documents self-hosted open-source platforms inside the client's own infrastructure, including authentik. When a team asks for help tuning the last validation threshold and remember-device settings, the work is scoped around their existing authenticator validation stages, their flows, and the clients that sign in through them. That usually means reviewing which stages apply to which users, which second factors are in use (for example TOTP, Duo, or email codes), and whether any LDAP or RADIUS clients bypass the same policy. The output is a written recommendation for the window values and the remember-device setting, with the reasoning for each choice.

Most MFA tuning engagements are fixed-scope: the systems covered, the configuration changes, the test cases, the deliverables and the timeline are agreed in writing before work starts. A quote follows from that written scope, so the team can compare it with the internal effort of doing the same review. Ask the partner to state which flows and stages are in scope, whether changes will be made in a staging instance first, who approves production changes, and what is handed over at the end. Recurring work, such as re-checking settings after an authentik upgrade or reviewing login logs each quarter, can be covered by a retainer for ongoing support, which is priced separately from the one-time work.

DeployOpen can prepare configuration records, test evidence and documented settings that an organization may later present to an assessor, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations, so teams should confirm early which control requirements their assessor expects to see evidence for. Clear documentation of the chosen window, the remember-device duration, and the reasons for them usually makes that conversation easier.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.