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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: