Allow REST API
-
Hello,
I am using the Force Login plugin together with WooCommerce and the official WooCommerce mobile app.
The WooCommerce app works correctly when Force Login is disabled. As soon as Force Login is enabled, the app can no longer connect to my store.
WooCommerce Support informed me that the required REST API endpoints need to remain accessible and suggested configuring Force Login so that the REST API (
/wp-json/) is excluded from the login requirement.Could you please provide a code snippet or configuration that allows the REST API endpoints (
/wp-json/) to remain accessible while Force Login stays active?My goal is to keep the frontend login requirement enabled so that visitors are still redirected to the login page as usual, while the WooCommerce mobile app can access the required REST API endpoints and connect successfully.
Thank you for your help.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.