Currently I'm trying to change a wordpress knowledge base site so that it is only accessible with JWT header from a mobile web view. So here's what I've tried :
- I tried AAM plugin to limit access policy for visitor to only home page (https://aamplugin.com/policy/private-wordpress-website), but it doesn't work. It has the JWT authentication for backend APIs but I can't find how to limit the frontend with JWT as well
- I tried WP Basic Authentication. It works on limiting access, where it asks for username and password if I visit any page, but I can't send the username and password programatically
- I tried JWT Authentication for WP-API, but I can't find if it works for the frontend part as well
Any help / suggestion on what plugins to use for my case?