Password Flows Restart the Flow and Refresh the Screen During OTP Input

Overview

This article explains a common issue experienced by End Users that prevents them from inputting a one-time password (OTP), preventing them from logging into an App.

  • This issue occurs when users change windows on a mobile device to copy the OTP. When they return to the App has reverted to email or SMS input.

Applies To

  • One-Time Password (OTP)

Cause

The Auth0 mobile SDKs only keep the authentication transaction state in memory (it does not persist). If the mobile operating system (OS) kills the app while the user goes to copy the OTP code, they will have to start the authentication process again. Once the login transaction completes successfully, cookies get set, but not before.


Solution

It is recommended to watch out for memory warnings from the OS to release all the memory when possible to avoid the app getting killed.

Recommended content

No recommended content found...