Prompt
Why is step-up auth triggering on every login?
Latest observation
Oct 28, 2026
OpenAI APIWeb search: off
Step-up auth usually triggers on every login when the system isn’t persisting or recognizing the “already verified” state between sessions. Common causes:
1) Session/cookie isn’t being preserved
- The MFA/step-up token is stored in a session cookie, but:
- the cookie expires too quickly,
- it’s not being sent back by the browser,
- SameSite/Secure/domain settings are wrong,
- the app is on multiple subdomains and the cookie scope doesn’t match.
2) The “step-up completed” flag is not saved
- After successful MFA, the app should mark the session as trusted/verified.
- If that flag is only in memory, or not written to the session store, every new request/login looks unverified.
3) Your policy requires step-up every time by design
- Some configurations intentionally require MFA at each login, especially if:
- the user logs out each time,
- the session is short-lived,
- the auth policy is set to always require step-up for certain routes/actions.
4) App is creating a new session on each login
- If the session ID changes unexpectedly:
- load balancer isn’t sticky,
- session store is misconfigured,
- domain/app container restarts clear in-memory sessions,
- auth callback is not restoring the original session.
5) Device trust / remember-me isn’t enabled or working
- If you expect “trust this device,” verify:
- device token/cookie is being issued,
- it’s valid long enough,
- it’s not blocked by browser privacy settings.
6) Clock or token validation issues
- If step-up uses signed/expiring tokens, skewed server time can make them appear expired immediately.
7) Different app/client context each time
- Logging in through different hostnames, ports, or environments can make the auth system treat it as a new device/session each time.
Quick things to check
- Does the browser keep the session cookie after MFA?
- Does the session ID stay the same before/after step-up?
- Is the MFA success state stored server-side?
- Are cookie
Domain,Path,Secure, andSameSiteset correctly? - Is there a “remember this device” feature enabled?
- Are you testing across different subdomains or environments?
If you tell me what auth stack you’re using (Okta, Auth0, Azure AD, custom app, etc.) and whether the step-up is tied to a cookie/session or token, I can help narrow it down quickly.