You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
once a user passes this flow we create some unique data for him that we persists locally.
when the user launches the app we check for the existence of the data and call Auth.currentAuthenticatedUser().
if data exists & user exists we consider the user verified and let him in.
using analytics, we noticed that in about 6% of cases, Auth.currentAuthenticatedUser() will throw an error for previously signed in users causing them them to be sent to on-boarding flow.
when these users relaunch the app, Auth.currentAuthenticatedUser() returns a user and they are signed in.
can you explain this behaviour? is this a bug or we're misusing Auth.currentAuthenticatedUser()?
The text was updated successfully, but these errors were encountered:
Environment:
react-native 0.57.8
@aws-amplify/core: 1.0.22
@aws-amplify/auth: 1.2.15
Description:
Our signup flow consists of the following steps:
username: email,
password: create_UUID(),
attributes: { 'custom:devicePK': JSON.stringify([devicePublicKey]) }
});
once a user passes this flow we create some unique data for him that we persists locally.
when the user launches the app we check for the existence of the data and call Auth.currentAuthenticatedUser().
if data exists & user exists we consider the user verified and let him in.
using analytics, we noticed that in about 6% of cases, Auth.currentAuthenticatedUser() will throw an error for previously signed in users causing them them to be sent to on-boarding flow.
when these users relaunch the app, Auth.currentAuthenticatedUser() returns a user and they are signed in.
can you explain this behaviour? is this a bug or we're misusing Auth.currentAuthenticatedUser()?
The text was updated successfully, but these errors were encountered: