WP-API / Basic-Auth

Basic Authentication handler for the JSON API, used for development and debugging purposes
761 stars 281 forks source link

Basic Auth seems to be broken in Wordpress 4.7.2 #42

Closed roryashfordbentley closed 7 years ago

roryashfordbentley commented 7 years ago

Since upgrading to 4.7.2 any post requests to the site trigger a 401 response. I have noticed others having the same issue. Has this plugin been abandoned?

{
  "code": "rest_cannot_create",
  "message": "Sorry, you are not allowed to create posts as this user.",
  "data": {
    "status": 401
  }
}
roryashfordbentley commented 7 years ago

Actually scrap that, It seems that it was user error as its working now.