Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
551 stars 159 forks source link

Didn't restrict another Api with JWT auth plugin. #187

Closed jenthakkar closed 1 year ago

jenthakkar commented 4 years ago

FYI: I have a Woocommrce backend Website and ios frontend. I'm working with Rest API only.Also, Can JWT Auth restrict woocommerce too?

I'm using JWT authentication Plugin for Authentication and Login Api And Token https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/.

complete all requirements which plugin needs like edit .htaccess, .wp-config.php and also clone wp-rest-api plugin. but this plugin didn't restrict any rest API like localhost/wp-json or create post API. I used all solutions of link https://github.com/WP-API/Basic-Auth/issues/35.also download basic Auth Plugin.

All API works fine as it worked and also I can create token and login via JWT auth. but I want to restrict my all API with JWT auth.

zclmoon commented 4 years ago

I got the same issue, the apis still work after enable the plugin. Hi @jenthakkar did you figure out the issue?

zclmoon commented 4 years ago

@jenthakkar you may can refer to https://github.com/Tmeister/wp-api-jwt-auth/issues/169