Title: Basic Auth on endpoints
Last modified: October 22, 2025

---

# Basic Auth on endpoints

 *  [Abel Rogers](https://wordpress.org/support/users/abelito/)
 * (@abelito)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/basic-auth-on-endpoints/)
 * Hi, your plugin is great and can really help with caching our endpoints on wp-
   json returns.
   However, we have basic auth setup on the endpoints for security,
   but when cached, it bypasses all authentication and endpoints available publicly
   via browser url when cached.Is there a configuration or setting we are missing
   to avoid this?thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/basic-auth-on-endpoints/#post-18729031)
 * Hi [@abelito](https://wordpress.org/support/users/abelito/)
 * Thank you for using our plugin!
 * Please have a look at my response in this topic for a possible solution: [https://wordpress.org/support/topic/private-cache-for-rest-endpoints-with-a-authorization-header/#post-12813691](https://wordpress.org/support/topic/private-cache-for-rest-endpoints-with-a-authorization-header/#post-12813691)

Viewing 1 replies (of 1 total)

The topic ‘Basic Auth on endpoints’ is closed to new replies.

 * ![](https://ps.w.org/wp-rest-cache/assets/icon-256x256.png?rev=3328849)
 * [WP REST Cache](https://wordpress.org/plugins/wp-rest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * Last activity: [6 months, 2 weeks ago](https://wordpress.org/support/topic/basic-auth-on-endpoints/#post-18729031)
 * Status: not resolved