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
The topic ‘Problem protecting endpoints’ is closed to new replies.