• 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

    (@nicu_m)

    Hi @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.

Viewing 1 replies (of 1 total)

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