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 Cookie

Security covered Drupal 11 · not 10
View on drupal.org

This module enables cookie-based Single Sign-On for Drupal sites on common parent domains, allowing users to authenticate once and remain logged in across related subdomains. It works by sharing authentication sessions through signed cookies, providing a centralized SSO experience for portal ecosystems.

Provides cross-subdomain single sign-on for Drupal sites that live under a common parent domain (for example a.example.com and b.example.com). On an authenticated response it writes one AES-256-CBC-encrypted, HMAC-SHA256-signed cookie to the shared parent domain; every participating site validates that cookie locally and logs the user in — with no redirect to, or back-channel call to, the Identity Provider.

Features

  • Single signed, encrypted session cookie on the shared parent domain, with a longer-lived refresh cookie.
  • Local validation on each site: signature, expiry, issued-at, issuer/audience and per-user revocation — no IdP round-trip.
  • Encrypt-then-MAC with HKDF-derived encryption and MAC subkeys and a random IV.
  • Key rotation via an embedded key id, with a grace window across old keys.
  • Logout genuinely clears the shared cookie across the domain.
  • Sliding-expiry refresh (optional) plus login-time issuance.
  • Fails closed when no key is present; a random key is seeded on install.
  • Host-validated cookie domain to prevent writing a cookie for a domain the site is not part of.

Security model

Cookie encryption and MAC key material lives in settings.php or State, never in exportable configuration.

Requirements

  • Drupal core ^11.2 || ^12
  • PHP with the OpenSSL extension
  • SSO Connector ^1.0
  • Sites sharing a common parent domain

Installation

composer require drupal/sso_connector_cookie
drush en sso_connector_cookie

Part of the SSO Connector bundle

Requires SSO Connector (core). See the core project for the full suite.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

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