Always getting Unauthorized using JWT Token

[ad_1]

I am trying to get the posts using the /wp-json/wp/v2/posts endpoint. I am using the JWT Token approach. I have created the Token and it has passed all the checks from the plugins “Check Token” and “Test Configuration”

However, when I tried using postman, all I get is an Unauthorized error

{
“status”: “error”,
“error”: “UNAUTHORIZED”,
“error_description”: “Sorry, you are not allowed to access REST API”
}

Even if I use the wrong token it still says the same error. So I believe it’s not even going to the token validation phase.

I’ve also tried

  • Deactivating plugins
  • Deactivating themes

Nothing seems to change the error

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer