question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Require New Password in Authenticator doesn't allow user to enter required attributes

See original GitHub issue

Is your feature request related to a problem? Please describe. If I create a user in the UserPool as an Admin, you can use the Angular amplify-authenticator to Sign the user in. This helpfully handles the “require new password” flow, but doesn’t allow you to enter any required attributes. For example if I specified ‘given_name’ as a required attribute, when I attempt to change my password, I will receive an error stating Invalid attributes given, given_name is missing, but there is no way to enter it.

Describe the solution you’d like A solution similar to the signUpConfig in signUpComponent would work, i.e. a requireNewPasswordConfig attribute with required fields, although it does seem a little manual. Ideally something automated like described in #1871 would be great.

Describe alternatives you’ve considered

The only alternative I can see is to not use the amplify-authenticator and implement the auth flow myself.

Additional context

Angular 6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jordanranzcommented, May 18, 2020

This is now supported in the new UI component library: https://docs.amplify.aws/ui/auth/authenticator/q/framework/angular

per: https://github.com/aws-amplify/amplify-js/pull/5765. required attribute form inputs for amplify-require-new-password are automatically populated now.

Please feel free to open a new issue if you are running into any related problems.

0reactions
github-actions[bot]commented, Jun 11, 2021

This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Self-service password reset deep dive - Azure Active Directory
A user can reset or change their password using the SSPR portal. ... in the required language, the user is prompted to enter...
Read more >
User pool attributes - Amazon Cognito - AWS Documentation
Attributes are pieces of information that help you identify individual users, such as name, email address, and phone number. A new user pool...
Read more >
Troubleshooting Authentication Problems | OpenVPN
When you enable Google Authenticator for OpenVPN Access Server, a user signs in with their username and password and must provide the six-digit...
Read more >
Two-factor authentication - GitLab Docs
HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal...
Read more >
3 Configuring Authentication - Oracle Help Center
Minimum Requirements for Passwords ... Password Change Life Cycle ... If the user does not change it by the end of that period,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found