255

Product support

Visit this product's website for support.

Categories

Allows users to manage Basic Authentication credentials for multiple hostnames and environments.

Requirements

  • PHP 8.0.2 or higher
  • October CMS 2.0 or higher

Installation

composer require vdlp/oc-basicauthentication-plugin

Configuration

To configure this plugin execute the following command:

php artisan vendor:publish --provider="Vdlp\BasicAuthentication\ServiceProviders\BasicAuthenticationServiceProvider" --tag="config"

This will create a config/basicauthentication.php file in your app where you can modify the configuration if you don't want to use .env variables.

Enable / disable plugin

By default basic authentication is disabled.

To enable basic authentication, you have to set the env variable to BASIC_AUTHENTICATION_ENABLED to true in your .env file or edit the published config file.

A Note On FastCGI

If you are using PHP FastCGI, HTTP Basic authentication may not work correctly out of the box. The following lines should be added to your .htaccess file:

RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Questions? Need help?

If you have any question about how to use this plugin, please don't hesitate to contact us at octobercms@vdlp.nl. We're happy to help you.

3.2.2

Fix Basic Authentication Middleware registration.

Mar 03, 2023

3.2.1

Minor changes to plugin documentation.

Nov 28, 2022

3.2.0

Basic Authentication added to October CMS backend routes.

Sep 23, 2022

3.1.0

Add October CMS 3.x to supported versions.

Apr 12, 2022

3.0.2

Rename migration class (duplicate class name).

Mar 22, 2022

3.0.1

Update october/system version constraint.

Mar 15, 2022

3.0.0

Improve white-listing of URLs.

Mar 14, 2022

2.1.0

Maintenance update. Check CHANGELOG.md for details.

Feb 15, 2022

2.0.0

Add support for PHP 7.4 and higher

Jul 13, 2021

1.2.0

Add console command for adding credentials

Jun 09, 2021

1.1.0

Add notification to settings view when basic authentication is disabled

May 28, 2021

1.0.1

Update plugin dependencies

May 28, 2021

1.0.0

First version of Vdlp.BasicAuthenticationentication

Jan 24, 2019