Closed longnt-dev closed 2 years ago
@longnt-dev did you have device remembering enabled on your initial cognito user pool?
Hi 👋 Closing this as we have not heard back from you. If you are still experiencing this issue and in need of assistance, please feel free to comment and provide us with any information previously requested by our team members so we can re-open this issue and be better able to assist you.
Thank you!
Before opening, please confirm:
JavaScript Framework
React Native
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
CONTEXT: we are trying to migrate user account from old user pool to Cognito User Pool, we use User Migration lambda function for the job. ISSUE: When we try to login ( using Auth.signin() ) using email/password of user from old user pool, most of the time it migrates user successfully. However, sometimes we receive that issue: "Device does not exist." NOTICE: We recognize that this issue happen for account which is recently migrated successfully and then deleted from user pool.
Expected behavior
User should be migrated successfully without any issue
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
Amplify.configure({ Auth: { userPoolId: currentEnvConfig[COGNITO_USER_POOL_ID], userPoolWebClientId: currentEnvConfig[COGNITO_USER_POOL_WEB_CLIENT_ID], authenticationFlowType: AuthenticationFlowType.USER_PASSWORD_AUTH, }, })
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response