Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Generic SSO

3 sites No security coverage
View on drupal.org

This module provides a generic way for Drupal to authenticate users based on a server variable provided by the webserver, such as REMOTE_USER. It's designed to be a minimal solution for integrating with authentication systems like mod_auth_kerb or mod_auth_openidc.

This is a generic authentication provider for SSO (or similar) backend modules which trusts a named SERVER variable (such as REMOTE_USER). It is based on the ldap_sso module to which it owes its name and much of its code.

This module is designed to be a minimal implementation of an authentication layer which automatically trusts the underlying web server. For example on apache this would permit the use of mod_auth_kerb or mode_auth_openidc which expose a SERVER variable such as REMOTE_USER when the remote user had been authenticated.

Post-Installation

Using this module should involve configuring it to read the appropriate SERVER variable, and then protecting some or all of your website such that the variable is passed up to Drupal. So for example on Apache with mode_auth_openidc you should configure:

Additional Requirements

The module is designed to have no special dependencies. It was based heavily on ldap_sso from the LDAP project, but by design has stripped out all of its dependencies. If you need any other sort of features from your auth module, you should look elsewhere.

Similar projects

The sole reason for this project is that I have not been able to find anything which simply trusts REMOTE_USER without adding complexity. For example it is possible to set up a similar workflow using the ldap_sso project but you must have a working LDAP server defined (even if you do not use it for authorisation or authentication). If you were to find a similar module I'd encourage you to let me know such that I can deprecate this one!

Supporting this Module

Contributions and bug fixes are welcome but I'm very unlikely accept feature requests even as merge requests, and I extra-specially will not be able to handle LLM-generated bug reports, as I simply haven't the bandwidth. You are more than welcome to fork the project - in fact I'd jump at the chance to let this project wither and be replaced by your fork.

Activity

Total releases
1
First release
Feb 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
8.x-1.0 Stable Feb 18, 2026