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
Amplify Cognito pools are set up so that users can log in with their email. We also utilize attribute verification so that once a user signs up, they will need to verify their email address. Where we get stuck is when a user needs to update their email address. We call updateAttributes and pass their email, which will then send the user a verification email with the confirmation code. There are however states where the user is unauthenticated and needs to verify email with the confirmation code. If they are in an unauthenticated state, they need to authenticate. However, cognito doesn't allow users to log back in with neither their old or new email address. Instead, they need to sign up for an account again. This is a huge issue for us since it leaves users in this limbo state.
Cognito released a attribute in userpool UserAttributeUpdateSettings to have users old emails backwards compatible till they verify the new emails login.
Describe the solution you'd like
Introduce a new attribute UserAttributeUpdateSettings in amplify generated Cognito userPools
Since amplify uses an old version of cdk , Amplify dependencies needs to be update for cdk to latest version which supports this attribute.
Describe alternatives you've considered
One alternative can be to add this attribute to userPool after generating CFN templates using template modifiers during push but this may not help in long term code quality.
Additional context
No response
Is this something that you'd be interested in working on?
👋 I may be able to implement this feature request
Would this feature include a breaking change?
⚠️ This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Is this feature request related to a new or existing Amplify category?
auth
Is this related to another service?
Cognito
Describe the feature you'd like to request
Stems from the GH issue : aws-amplify/amplify-js#987
Amplify Cognito pools are set up so that users can log in with their email. We also utilize attribute verification so that once a user signs up, they will need to verify their email address. Where we get stuck is when a user needs to update their email address. We call updateAttributes and pass their email, which will then send the user a verification email with the confirmation code. There are however states where the user is unauthenticated and needs to verify email with the confirmation code. If they are in an unauthenticated state, they need to authenticate. However, cognito doesn't allow users to log back in with neither their old or new email address. Instead, they need to sign up for an account again. This is a huge issue for us since it leaves users in this limbo state.
Cognito released a attribute in userpool
UserAttributeUpdateSettings
to have users old emails backwards compatible till they verify the new emails login.Describe the solution you'd like
Introduce a new attribute
UserAttributeUpdateSettings
in amplify generated Cognito userPoolsSince amplify uses an old version of cdk , Amplify dependencies needs to be update for cdk to latest version which supports this attribute.
Describe alternatives you've considered
One alternative can be to add this attribute to userPool after generating CFN templates using template modifiers during push but this may not help in long term code quality.
Additional context
No response
Is this something that you'd be interested in working on?
Would this feature include a breaking change?
The text was updated successfully, but these errors were encountered: