Title: [BASIC AUTHENTICATION] issues
Last modified: November 14, 2021

---

# [BASIC AUTHENTICATION] issues

 *  [misaelsab](https://wordpress.org/support/users/misaelsab/)
 * (@misaelsab)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/basic-authentication-issues/)
 * Dear all,
 * currently we are facing an issue with BASIC AUTHENTICATION.
 * Does the plugin support basic authentication? Can you please provide a sample?
 * The HEADER for basic authentication, seems to be ignored by the plugin.
 * This is the error we got:
 *     ```
       {
           "status": "error",
           "error": "Restricted",
           "error_description": "Sorry, you are not allowed to access REST API."
       }
       ```
   
 * Thank you in advance,
    Best

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rest Routes](https://wordpress.org/support/users/wp-making/)
 * (@wp-making)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/basic-authentication-issues/#post-15148986)
 * Hello,
 * The authentication is handled by WordPress itself and cookie authentication is
   the only native solution within WordPress without custom solutions. I recommend
   you to install an authentication plugin for handling that.
 * This is a good option [https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
 * Adriano

Viewing 1 replies (of 1 total)

The topic ‘[BASIC AUTHENTICATION] issues’ is closed to new replies.

 * ![](https://ps.w.org/rest-routes/assets/icon-128x128.png?rev=1337282)
 * [Rest Routes – Custom Endpoints for WordPress REST API](https://wordpress.org/plugins/rest-routes/)
 * [Support Threads](https://wordpress.org/support/plugin/rest-routes/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-routes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-routes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-routes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rest Routes](https://wordpress.org/support/users/wp-making/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/basic-authentication-issues/#post-15148986)
 * Status: not resolved