Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset password form does not work properly #4772

Closed
4 tasks done
IngaFrontend opened this issue Nov 20, 2023 · 3 comments · Fixed by #4773
Closed
4 tasks done

Reset password form does not work properly #4772

IngaFrontend opened this issue Nov 20, 2023 · 3 comments · Fixed by #4773
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component

Comments

@IngaFrontend
Copy link

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Authenticator

How is your app built?

webpack

What browsers are you seeing the problem on?

Chrome, Firefox, Safari

Which region are you seeing the problem in?

Europe (eu-central-1)

Please describe your bug.

The user initiates the process of resending a verification code by clicking the "Resend code" button in the reset password form. The button's label dynamically changes from its initial state (e.g., "submit") to "submitting" which means the resend process is in progress. However, the described problem is that after the button label changes to indicate submission, the process stalls, and the code is not resent. The browser console displays the following warning: "utils.js:509 Warning: No service found for invocation 'resetPassword' in machine 'forgotPasswordActor'." Also is it possible to prevent the submit button text from changing to "submitting" after pressing the "Resend Code" button?

What's the expected behaviour?

The expected behavior would be for the resend code to be processed, and the user should receive a new verification code.

Help us reproduce the bug!

Use the component and try to reproduce the issue.

Code Snippet

// Put your code below this line.

Console log output

  1. Warning: No service found for invocation 'resetPassword' in machine 'forgotPasswordActor'.
  2. Warning: React does not recognize the data-amplify-authenticator-Forgotpassword prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase data-amplify-authenticator-forgotpassword instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Additional information and screenshots

No response

@github-actions github-actions bot added the pending-triage Issue is pending triage label Nov 20, 2023
@esauerbo
Copy link
Contributor

Hi @IngaFrontend, sorry you're experiencing this issue. Can you provide a relevant code snippet and your package.json so we can try to reproduce this?

@esauerbo esauerbo added Authenticator An issue or a feature-request for an Authenticator UI Component not-reproducible Not able to reproduce the issue pending-response and removed pending-triage Issue is pending triage not-reproducible Not able to reproduce the issue labels Nov 20, 2023
@esauerbo
Copy link
Contributor

@IngaFrontend we were able to reproduce this with the latest version of @aws-amplify/ui-react. Thanks for bringing this to our attention, we'll be working on a fix.

@esauerbo
Copy link
Contributor

Hey @IngaFrontend please upgrade to the latest version of @aws-amplify/ui-react for the fix.
https://www.npmjs.com/package/@aws-amplify/ui-react/v/6.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Authenticator An issue or a feature-request for an Authenticator UI Component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants