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

EmailPasswordAuth class Reset password function : wrong parameters order #885

Closed
eloigrndl opened this issue Jun 10, 2022 · 1 comment
Closed

Comments

@eloigrndl
Copy link

eloigrndl commented Jun 10, 2022

Hello everybody!

I was using the resetPassword function from EmailPasswordAuth class and the documentation suggest the follwing function signature resetPassword(token: String, tokenId: String, newPassword: String).

When using it that way I've always got the following response : [Service][BadRequest(48)] invalid token data

I tried changing the parameters order when calling the function (as this issue was already raised for other SDKs) like this : app.emailPasswordAuth.resetPassword(newPassword, token, tokenId) instead of {{app.emailPasswordAuth.resetPassword(token, tokenId, newPassword) }}and that time it worked.

Hence, there might be a problem in the function signature or elsewhere.

@rorbech
Copy link
Contributor

rorbech commented Jun 28, 2022

@eloigrndl Thanks for the report

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants