Unexpected TFA Page on App Reopen – Need to Redirect to Login Page

Ready to post? :magnifying_glass_tilte Subject: Unexpected TFA Page on App Reopen – Need to Redirect to Login Page

Description:

Hello Auth0 Support Team,

I’m currently integrating Auth0 login flows into our mobile app (React Native), and we’re facing an issue with the behaviour after the user partially completes authentication.

:backhand_index_pointing_right: We are using Auth0 Universal Login for both login and signup flows.d_right: First try searching for your answer.

  • eopened, the user should be shown the Login page, not the TFA screen, unless a valid authenticated session is still active.
  • The Sign Up flow should not be affected by any previous TFA state and should correctly display the registration form.

Current Behaviour:

  • The TFA page is persistently displayed on app reopen or when selecting “Sign Up,” even though no valid session is resumed.
  • It seems like some state is cached or retained incorrectly, possibly due to an incomplete authentication flow.

Steps to Reproduce:

  1. Open the app and login with valid credentials.
  2. On the TFA screen, close the app without completing verification.
  3. Reopen the app — it directly navigates to TFA screen.
  4. Tap on Sign Up — it still shows the TFA screen instead of the registration form.

Please let us know if there are any session management practices, cleanup steps, or recommended SDK changes we should implement.

Thanks,

Hi @apps2,

Welcome to the Auth0 Community and sorry for the delayed response!

The behavior you mentioned above where a user is constantly challenged with the Prompt for MFA page after entering valid credentials is currently expected. I understand this could be frustrating for users that would like to sign in/sign up using a different account, so at the moment I would recommend implementing this workaround - Allow Users to Navigate from the MFA Page Back to the Login Page that uses a custom logout button.

This feature request has been raised up already, so I would definitely encourage you to upvote this thread, as well as replying to it so it can get more visibility.

Thanks for posting your inquiry and I hope this helps!
Kind regards,
Remus

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.