WP Bedrock Auth WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Environment-specific basic auth for the Bedrock WordPress framework
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/aprivette/bedrock-auth/archive/refs/heads/master.zipOn Packagist as aprivette/bedrock-auth:
composer require aprivette/bedrock-authA WordPress plugin designed to be an addon to the Bedrock WordPress framework.
It adds environment-specific basic authentication to WordPress sites. There are a few use cases for this. For example, if you were to set up a staging site and only wanted to protect only this setup while not affecting version control, then this package could be of use. Alternatively, you can exclusively protect wp-login.php to protect against brute force attacks.
Setup
- Add the package to your bedrock installation with
composer require aprivette/bedrock-auth. - Activate the plugin in WordPress.
- Add the
BASIC_AUTH_USERandBASIC_AUTH_PASSvariables to your .env file. - Choose an authentication level by setting the
BASIC_AUTH_LEVELvariable to either site or login. Choosing site will require auth for the entire site while login will exclusively protect wp-login.php. - Navigate to the site and it should require you to login.
Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.