• Resolved arramell

    (@arramell)


    Great plugin!

    I’m implementing the reset password flow and seem to get into trouble with the code. I’m using postman to test this – but when I use the code that is sent to the email, the code I use every time returns a failure.

    {
    “success”: false,
    “data”: {
    “message”: “Invalid code provided.”,
    “errorCode”: 62
    }
    }

    Does it work for anybody else?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nicu_m

    (@nicu_m)

    Hello @arramell,

    Please send the code in the Request body(and not as a query string), so that the special characters are not URL encoded.

    The URL should look like this:

    
    https://{{yoursite}}/?rest_route=/simple-jwt-login/v1/users/reset_passwor
    

    and in the body of the request you add the following parameters:

    
    {
      "email": "your_email",
      "code" : "your_code",
      "new_password" : "your_new_password",
      "AUTH_KEY": "your auth key if required"
    }
    

    Let me know if you still encounter problems.

    Best regards,
    Nicu.

    Hi

    Still not working for me..
    @arramell did @nicu_m solution worked for you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reset Password – Code is always invalid’ is closed to new replies.