Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

SSO Connector

2 sites Security covered
View on drupal.org

SSO Connector provides a robust foundation for Single Sign-On (SSO) in Drupal, allowing users to authenticate once and securely access multiple connected sites. It supports configuring sites as either Identity Providers or Service Providers, with secure browser-based SSO flows and JWT token handling. Optional submodules extend functionality with OAuth, social login, advanced user synchronization, and permission management.

The core of the SSO Connector suite. It gives Drupal a Single Sign-On foundation built on an Identity Provider (IdP) / Service Provider (SP) model: one site authenticates users, many sites trust it. A single admin form sets each site's role. The IdP mints short-lived asymmetric RS256 JSON Web Tokens signed with an RSA private key; every SP verifies them with the IdP's public key and enforces issuer, audience, expiry and single-use replay protection. Everything else in the suite builds on this module.

Features

  • IdP/SP role-based architecture configured from one admin form.
  • Browser SSO flow: /sso/login, /sso/return-path, /sso/from-idp, /sso/logout.
  • Asymmetric RS256 JWT signing and verification with iss/aud enforcement and single-use jti replay protection.
  • Machine token endpoint /sso/token protected by a dedicated X-SSO-Key API key, an IP allow-list (CIDR-aware) and core flood control.
  • Public-key / JWKS accessor consumed by the OAuth submodule to publish a real /.well-known/jwks.json.
  • Optional user synchronisation with a field-level allow-list and a sensitive-field skip list.
  • Connected-sites block for surfacing the federation to editors.
  • Cache-Control: no-store and page-cache kill switch on all SSO responses.

Security model

Every secret — the RS256 signing key and the token API key — is read from settings.php or State, never from exportable configuration, so secrets never leak into a drush config:export. Tokens are short-lived, audience-bound and single-use.

Requirements

  • Drupal core ^11.2 || ^12
  • PHP with the OpenSSL extension (RS256)
  • firebase/php-jwt ^6.10 (pulled in automatically by Composer)

Installation

composer require drupal/sso_connector
drush en sso_connector

Then generate the IdP keypair and provision the SP public key as described in the module's README.md and docs/BUNDLE.md.

Part of the SSO Connector bundle

This is the mandatory core module. Optional capabilities are separate projects you enable per site and per role:

Activity

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

Release Timeline

Releases

Version Type Release date
1.0.3 Stable Jul 21, 2026
1.0.2 Stable Jul 18, 2026
1.0.1 Stable Apr 26, 2026
1.0.0-beta6 Pre-release Apr 25, 2026