AuthenticatorBaseState loses set credentials when app goes to background and then comes back to foreground #88
Labels
pending-maintainer-response
Issue is pending response from an Amplify team member
question
Further information is requested
Description:
App uses Authenticator with custom UI to signup, signin and reset password. The following bug appears when reseting password: AuthenticatorBaseState seems to lose already set credentials (username) if app goes to background and then comes back to foreground (new instance created?).
Steps to reproduce:
Select reset password. Enter Email and then put app to the background. Open app again, entered username appears still in Email text field, press continue.
Reset password code is sent to your email. Enter confirmation code and new password, and select continue. "Sorry, something went wrong" message appears. By debugging, it can be seen that state (ConfirmResetPasswordState) has lost credentials and username required for state.confirmResetPassword() is empty string.
Note. Same problem appears when confirming signup.
The text was updated successfully, but these errors were encountered: