GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vdlp/oc-basicauthentication-plugin: October CMS plugin which adds HTTP Basic Authentication

This repository was archived by the owner on Jul 17, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

68 Commits
68 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
console
console
 
 
controllers
controllers
 
 
http/middleware
http/middleware
 
 
lang
lang
 
 
models
models
 
 
serviceproviders
serviceproviders
 
 
updates
updates
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
Plugin.php
Plugin.php
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
config.php
config.php
 
 

Repository files navigation

Vdlp.BasicAuthentication

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

Requirements

  • October CMS ^2.0
  • PHP 8.0.2 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 [email protected]. We're happy to help you.

About

October CMS plugin which adds HTTP Basic Authentication

Topics

basic-authenticationbasicauthenticationoctober-cmsoctobercmsoctobercms-pluginphppluginsecurity

Resources

Readme
GPL-2.0 license
Activity
Custom properties

Stars

4 stars

Watchers

8 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.