jwt-auth icon indicating copy to clipboard operation
jwt-auth copied to clipboard

I got 401 status with valid credential via postman

Open nerocil opened this issue 2 years ago • 1 comments

https://mydomain.com/wp-json/jwt-auth/v1/token body x-www-form-urlencoded

{
    "code": "rest_not_logged_in",
    "message": "You are not currently logged in.",
    "data": {
        "status": 401
    }
}

nerocil avatar Feb 20 '23 19:02 nerocil

@nerocil You probably experience a similar issue like i had in #111 I got it working by changing a few lines in the get_token method of class-auth.php

wavedeck avatar Jan 22 '24 22:01 wavedeck