Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

SSO Connector

Security covered Under active development 8 sites

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:

Drupal 11 · not 10

Ask your assistant about SSO Connector

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

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

Required by

8 tracked projects depend on this one

Activity

Tracked releases
11
Tracked since
Apr 2024
Latest release
3 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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
1.0.0-beta5 Pre-release 9–11 Jun 10, 2024
1.0.0-beta3 Pre-release 9–11 May 31, 2024
1.0.0-beta2 Pre-release 9–11 May 27, 2024
1.0.0-beta1 Pre-release 9–11 May 26, 2024
1.0.0-alpha3 Pre-release 10–11 May 1, 2024
1.0.0-alpha2 Pre-release 10–11 Apr 27, 2024