How to Protect Custom Post Type

[ad_1]

Thank you for this plugin!

We have some custom post types that we need to be protected by authentication. We changed the REST namespace to be ‘jwt-auth/v1’, however, this does not require authentication and leaves the endpoint publicly available.

localhost/mysite/wp-json/jwt-auth/v1/scene

I have successfully used the /token/ and /token/validate/ endpoints, so I know the plugin is installed and configured properly.

Thank you very much for your help!

 

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