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

wp-json/wp/v2/token/validate return "Invalid bearer token." after token sucessfully generated

Open pestevao opened this issue 5 years ago • 0 comments

After sucessfully generate the token I'm able to make some REST api requests but if I request:

curl -X GET https://my-domain.com/wp-json/wp/v2/token/validate
-H 'Authorization: Bearer ACCESS_TOKEN'

It shows:

{"code":"rest_authentication_invalid_bearer_token","message":"Invalid bearer token.","data":{"status":403}}

pestevao avatar Sep 30 '20 14:09 pestevao