Skip to content

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

@pestevao

Description

@pestevao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions