HTTP Authentication
The HTTP Authentication plugin allows you to use existing means of authenticating people to WordPress. This includes Apache’s basic HTTP authentication module, Shibboleth , and many others. To follow updates to this plugin, visit: https://danieltwc.com/ For help with this version, visit: https://dan
The HTTP Authentication plugin allows you to use existing means of authenticating people to WordPress. This includes Apache’s basic HTTP authentication module, Shibboleth , and many others.
To follow updates to this plugin, visit:
https://danieltwc.com/
For help with this version, visit:
https://danieltwc.com/2011/http-authentication-4-0/
Screenshots & previews.
- 01Login as an existing user, such as admin.
- 02Upload the http-authentication folder to your plugins folder, usually wp-content/plugins . (Or simply via the built-in installer.)
- 03Activate the plugin on the Plugins screen.
- 04Add one or more users to WordPress, specifying the external username for the “Username” field. Also be sure to set the role for each user.
- 05Logout.
- 06Protect wp-login.php and wp-admin using your external authentication (using, for example, .htaccess files).
- 07Try logging in as one of the users added in step 4.
Frequently asked questions.
What authentication mechanisms can I use?
Any authentication mechanism which sets the REMOTE_USER (or REDIRECT_REMOTE_USER , in the case of ScriptAlias’d PHP-as-CGI) environment variable can be used in conjunction with this plugin. Examples include Apache’s mod_auth and mod_auth_ldap .
How should I set up external authentication?
This depends on your hosting environment and your means of authentication.