WP-API / Basic-Auth

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

Stopped working? #72

Closed damien-mabl closed 2 years ago

damien-mabl commented 2 years ago

Not sure if something changed in 5.9 but this has recently died for me, anyone share the experience? Totally silent failure, no error returned.

AutomaticSound commented 2 years ago

For me also...Anyone else?

damien-mabl commented 2 years ago

I realized that the reason mine had stopped working was a bit more nuanced. I had a security (2fa) plugin called DoLogin Security installed on my WP instance, which had some incompatibility issues with WP 5.9. As a result it was throwing a 500 error with absolutely no response body. This was a fucking NIGHTMARE to debug as there was nothing in wp_debug, nothing in nginx or php logs about WHY.

I have since stopped using the plugin (which isn't great) and can confirm the code in this repo is still working, though probably in need of a pass in general.