We are using the plugin “Disable REST API” to disallow “Unauthenticated users” from accessing APIs and to protect information we will charge for, in BuddyPress, such as /buddypress/v1/members when users are not logged in.
The above plugin is set to allow full access (access to all /simple-jwt-login/v1 points are enabled) once logged in (subscriber role). We can login using your plugin fine, but then cannot navigate to an area which should be accessible now, such as /buddypress/v1/members. It says we are not authorised.
How can we solve this? Hope all that made sense. Any help on this would be appreciated!
- The topic ‘Allowing access to APIs when authenticated only’ is closed to new replies.