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
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
JavaScript Framework
Vue
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
# Put output below this line
Describe the bug
when resetPassword with amplify v6, but not trigger UserMigration lambda
Expected behavior
UserMigration lambda trigger works fine
Reproduction steps
resetPassword
confirmResetPassword
check cloud-watch but UserMigration not trigger
Code Snippet
// Put your code below this line.import{resetPassword}from'aws-amplify/auth';constemail='';awaitresetPassword({username: emaill});constpassword='';constcode='';awaitconfirmResetPassword({username: email,newPassword: password,confirmationCode: code,});
Log output
// Put your logs below this line
aws-exports.js
Auth: {
Cognito: {
userPoolClientId: '',
userPoolId: '',
identityPoolId: '',
// https://stackoverflow.com/questions/52664612/cognito-user-migration-trigger-not-firing?rq=4
authenticationFlowType: 'USER_PASSWORD_AUTH', //<=== try to add this flowtype but it still not working
},
},
Manual configuration
No response
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
The text was updated successfully, but these errors were encountered:
Hello, @natuan62 and sorry to hear you're running into this. Do you know what the UserStatus of the user is that you're trying to migrate (i.e. CONFIRMED / UNCONFIRMED / FORCE_CHANGE_PASSWORD)?
Before opening, please confirm:
JavaScript Framework
Vue
Amplify APIs
Authentication
Amplify Version
v6
Amplify Categories
auth
Backend
None
Environment information
Describe the bug
when resetPassword with amplify v6, but not trigger UserMigration lambda
Expected behavior
UserMigration lambda trigger works fine
Reproduction steps
Code Snippet
Log output
aws-exports.js
Manual configuration
No response
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
The text was updated successfully, but these errors were encountered: