WP Manifestindependent plugin directory
manifest / security / bedrock-auth

WP Bedrock Auth

Environment-specific basic auth for the Bedrock WordPress framework

by Adam Privette · github.com/aprivette/bedrock-auth · website

3stars
821composer installs
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/aprivette/bedrock-auth/archive/refs/heads/master.zip

Also on Packagist as aprivette/bedrock-auth:

composer require aprivette/bedrock-auth

From the readme

Bedrock Auth A 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 1. Add the package to your bedrock installation with composer require aprivette/bedrock-auth. 2. Activate the plugin in WordPress. 3. Add the BASICAUTHUSER and BASICAUTHPASS variables to your .env file. 4. Choose an authentication level by setting the BASICAUTHLEVEL variable to either site or login. Choosing site will require auth for the entire site while login will exclusively protect wp-login.php. 5. Navigate to the site and it should require you to login.

Read the full README on GitHub →

Releases

TagPublished
1.1.0 Feb 18, 2024
1.0.2 Jul 13, 2018
1.0.1 Jul 8, 2018
1.0.0 Jul 7, 2018

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.