Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

SAML Rules

21 sites Security covered Drupal 9–11
View on drupal.org

The SAML Rules module allows administrators to automate user profile updates and role assignments in Drupal based on attributes received from a SAML authentication service. It enables custom mapping of SAML data to user fields and can execute actions like assigning roles or modifying email addresses upon user login through secure single sign-on.

SAML Rules is a module designed to interact with the SAML Authentication module as part of a robus Drupal handling of SAML accounts and sessions. The goal is to provide a series of rules and conditions that allow administrators to assign values to user profiles (including roles) based on attributes passed by the SAML service.

You can create Authentication rules for actions to be done when a user logs in. This includes tasks such as role assignment based on attribute value or altering the email address of a user when they are logged in to ensure there is a unique email address for each created account. This later example is especially for some SAML services where the same or no email address is passed as part of the authentication attributes.

You an also create User Field Assignment rules. With this you can map SAML attribute data to custom user profile fields.

Both are done by tokenizing the SAML attribute fields so that a very custom system of assigning values to user profiles is possible.

This module works with the SAMLAuth module as part of a robust, SAML based single sign on solution.

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
1
Tracked since
Aug 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.4 Stable 9–11 Aug 15, 2025