-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
CompleteNewPassword requiredAttributes is not optional #6634
Labels
Auth
Related to Auth components/category
bug
Something isn't working
TypeScript
Related to TypeScript issues
Comments
joeltio
added
the
to-be-reproduced
Used in order for Amplify to reproduce said issue
label
Aug 24, 2020
elorzafe
added
bug
Something isn't working
and removed
to-be-reproduced
Used in order for Amplify to reproduce said issue
labels
Aug 25, 2020
Thanks @joeltio I will send a PR to fix this |
elorzafe
added a commit
that referenced
this issue
Aug 26, 2020
nubpro
pushed a commit
to nubpro/amplify-js
that referenced
this issue
Oct 2, 2020
iartemiev
pushed a commit
that referenced
this issue
Oct 13, 2020
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Auth
Related to Auth components/category
bug
Something isn't working
TypeScript
Related to TypeScript issues
Describe the bug
The
Auth.completeNewPassword
should only require two arguments:user
andpassword
but the types do not reflect so. The signature of the function is:Notice how
requiredAttributes
is not optional. However, the docs say that it is optional.To Reproduce
Steps to reproduce the behavior:
Auth
packageAuth.completeNewPassword('', '')
Expected behavior
There should not be an error reported by typescript.
Code Snippet
The text was updated successfully, but these errors were encountered: