Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

SSO Connector

2 sites Security covered Drupal 11 · not 10
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:

Depends on

Dependencies of the latest stable release

  • block Drupal core
  • help Drupal core
  • user Drupal core

Activity

Tracked releases
4
Tracked since
Apr 2026
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

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