HTTP Basic authentication icon

HTTP Basic authentication

Premium Certified Partner
Maintained by Brendan Heywood, Catalyst IT
Enable services and users to authenticate using basic auth.
Price option: Free
Supports Moodle 2.7-4.5 See all versions

Latest release: 1 year ago
Installations: 364
Downloads (last 90 days): 54

Frankenstyle name: auth_basic
Authentication

Description

Enable users to authenticate using basic auth.

This is more for dev purposes and allows easier testing with tools such as webpage test, page speed, link checkers etc which often can use basic auth out of the box, and you don't want to, or cannot, customise just to handle moodle specific authentication.

Even in production this has value for use cases such as performance regression testing using a real user and a real page which does a full bootstrap.

Unlike the core 'no authentication' plugin, this still requires real users and does proper password checks. It does ignore the auth type against the account, eg manual, ldap, smtp so can be used side by side with other auth plugins, as long as those plugins store or cache the password, ie prevent_local_passwords() returns false for those plugins. So it can only be used with existing accounts and doesn't create accounts.

From a security perspective this auth plugin is exactly as secure as the manual auth plugin, so this should only be used in conjunction with https.

Contributors

Awards

Early bird 3.0
Privacy friendly
Automated testing support