I bumped into an unexpected error message regarding the password reset methods of the API. I’m building on a PWA and therefore we use Ionic Auth as a login mechanism. I’m trying to implement the password reset method, which seems to work fine untill the moment I’m calling auth.confirmPasswordReset(code,newPassword), which is documented over here.
The docs tell me to pass two params to the confirmPasswordReset method, i.e. code and password. When I’m passing in the received code and a new password, I get the following error back in my console:
Error: Code, new password, and email are required.
So, it tells me to pass in the email as well. Anyone else encountered this issue or knows the answer on how to solve this?
Thanks in advance.