Install

Works with Drupal: ^11.4

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 180.24 KB
MD5: efa93cd3c18e4ba42956a0551a8ae77f
SHA-1: 4493ee916f3240b8db674dc1c433e9387fcc5e05
SHA-256: 1a513be82df730b6304a3cd262fef0815f3de171dacbfc40b01e9da76e3f2087
Download zip 240.32 KB
MD5: f928780db6cb49857aed7bd0eb93a7ea
SHA-1: e948b98fb7a0b80b1551c0d8ab142696297d5341
SHA-256: d89f4f2431ed6b0a17e8b44f43ffe9d6479fc2188dd47bfdf159c3de43a46f2b

Release notes

SAML 3.0.0 is the first stable release of the new SAML 2.0 service provider implementation for Drupal 11.4 and later, built with LightSAML and the Key module.

Requirements

  • Drupal 11.4 or later within the Drupal 11 series.
  • PHP 8.4 or later.
  • Key 1.22 or later and LightSAML 6.1 or later, installed through Composer.

Features

  • Multiple identity provider connections with metadata import, service provider metadata, endpoint helpers, and dedicated configuration forms.
  • SP-initiated sign-in, optional IdP-initiated sign-in, signed authentication requests, encrypted assertions, and replay protection.
  • Single logout through Drupal's normal logout link, logout confirmation form, and SAML endpoints.
  • Explicit identity linking, optional user provisioning, configurable user-field mapping, and controlled role synchronization.
  • Private signing and decryption keys managed through Key.
  • Linked users can edit their email without local password prompts or password-change fields. Configured attribute mappings still apply at subsequent sign-in.
  • Drupal entities for identity links and session records, public lifecycle events, object-oriented hooks, and attribute-based public routes.
  • Docker and Keycloak development fixtures, including a dedicated SAML administrator account.

Installation

Install with composer require drupal/saml:^3.0, enable the module, and open Configuration → People → SAML Settings. Review connection settings and account-linking policies before enabling a provider.

Upgrading from 2.x

There is no automatic upgrade path from 2.x. Version 3.0.0 is a new implementation. Existing sites must plan and test configuration and identity migration before adopting this release. Keep a working local administrator account and back up site data and configuration.

Validation and scope

The unit and kernel suite contains 187 passing tests with 100% executable-line coverage of the module's PHP code. JavaScript tests enforce 100% line, branch, and function coverage. Drupal coding standards, frontend checks, and static analysis are included in the Drupal.org CI configuration.

Drupal acting as an identity provider and Drupal 12 compatibility are not included in this release.

Created by: nathandentzau
Created on: 21 Oct 2026 at 03:01 UTC
Last updated: 21 Oct 2026 at 03:01 UTC
Bug fixes
New features

Other releases