nicumicle/simple-jwt-login

bug: Authentication not working with any credentials

Daxter98 opened this issue · 1 comments

Bug Report

Plugin Version

3.5.3

PHP Version

8.1.27

WordPress Version

6.4.3

Bug description

Whenever I try to authenticate any user I get the following error message "Wrong user credentials" along with errorCode: 48. I know this indicates something that is wrong with my user or my password but after installing and following the documentation instructions I got it working once. I created a test_user with a simple password and successfully generated the JWT, however, after trying again with the same user and credentials all I get is "wrong user credentials".

This happens with any user in my database. Sorry if this is the wrong place to post this.

Other installed plugins (optional)

Additional Context (optional)

Changed the route namespace just in case and that didn't work either. Also, tried to use the password hash and kept getting the same error.

Tried using the request body to send the data instead of the params and everything is working now. Sorry for the inconvenience.