Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pestevao opened this issue Sep 30, 2020 · 0 comments

Comments

@pestevao
Copy link

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}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant