WP-API / Basic-Auth

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

Can't find in plugins directory #52

Open mnemanov opened 6 years ago

mnemanov commented 6 years ago

Please put the name of the plugin as it's called in the plugin directory (or a link) so it can be found and installed.

TY

P.S. I manually copied the code and uploaded and it's working (running 4.9.2.) TY P.P.S. I added code to return if !is_ssl()

giorgioriccardi commented 6 years ago

@mnemanov this plugin can't be found in the WP repository for obvious security reasons: it is a wide open door on your database and files. This code is meant only for dev and testing and shall never be used on a production site. Yes, to use it you need to download this zip git repo and manually install it into your local or dev environment. It is a starting point but you should implement much solid Auth ways to keep your site secure, read more on the REST API docs https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/ Hope this helps.