Title: Problem protecting endpoints
Last modified: April 10, 2025

---

# Problem protecting endpoints

 *  [snooody](https://wordpress.org/support/users/snooody/)
 * (@snooody)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/problem-protecting-endpoints/)
 * Hello,
   I run into a somewhat weird problem: I set up WordPress, some custom post
   types, custom REST api endpoints and Simple JWT with ‘protect endpoints’ enabled
   on my development server using a specific url. After finishing the development
   the whole system was transferred to the final production server using a different
   domain. Now I have the problem that some custom endpoints like /mydomain/v1/abc
   are protected and some like /mydomain/v1/xyz are not. All was fine and working
   on the development server (and still is).I tried to delete this entries in ‘protect
   endpoints’ and re-define them. In deactivated Simple JWT and re-activated, but
   nothing really helped. When I set the flag to ‘Apply on ALL REST Endpoints, then/
   mydomain/v1/xyz ist protected as I would like to. But this is no solution for
   me.What went wrong? What can I do?thanx

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/problem-protecting-endpoints/#post-18418832)
 * Hi [@snooody](https://wordpress.org/support/users/snooody/) ,
 * Can you please check the plugin version you have on the dev and production server?
 * In order to enable the protect endpoints, also please check if the “Protect endpoints
   enabled” is set to “yes” in production.
 * ![](https://wordpress.org/ee09d03f-66c1-4cc4-8616-fd9640814a9a)

Viewing 1 replies (of 1 total)

The topic ‘Problem protecting endpoints’ is closed to new replies.

 * ![](https://ps.w.org/simple-jwt-login/assets/icon-256x256.png?rev=2106097)
 * [Simple JWT Login – Allows you to use JWT on REST endpoints.](https://wordpress.org/plugins/simple-jwt-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-jwt-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-jwt-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-jwt-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-jwt-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-jwt-login/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/problem-protecting-endpoints/#post-18418832)
 * Status: not resolved