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). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). 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. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

SSO Bouncer

85 sites No security coverage Drupal 11 · not 10
View on drupal.org

This module enhances OpenID Connect by ensuring that users logging in via Keycloak SSO have at least one group assigned, as defined in the role mapping. If a user's group is not authorized for the Drupal instance, access will be denied.

This module extends OpenID Connect functionality to check if a Keycloak SSO account login has at least one group as defined in OpenID Connects role mapping.

Requirements

  • Drupal >11
  • Existend Keycloak SSO Client
  • Drupal OpenID Connect with defined role mappings at /admin/config/people/openid-connect/settings

Installation

  1. Install with composer.
    composer require drupal/sso_bouncer
    
  2. Enable the module through the Drupal admin interface or using Drush:
    drush en sso_bouncer

Configuration

After installation, you can configure the module by navigating to:
Administration > Configuration > People > SSO Bouncer Settings or /admin/config/people/sso-bouncer

Settings

  • Enabled: If SSO Bouncer is enabled or not.
  • Client ID: Set the client id of which the role mappings for login check come from.

Usage

The module automatically validates user authentication by checking if the user has valid Keycloak groups for the Drupal instance. If the user's group is not authorized for the current instance, access is denied.

Drush Commands

The module provides several Drush commands for managing SSO Bouncer configuration:

drush sso_bouncer:enable [CLIENT_ID]
drush sso_bouncer:disable
drush sso_bouncer:status

License

This module is licensed under the GNU General Public License version 3.

Depends on

Dependencies of the latest stable release

  • openid_connect Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jun 2025
Latest release
9 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable 11 Nov 26, 2025
1.0.0-alpha1 Pre-release 11 Jun 18, 2025
1.x-dev Dev 11 Jun 18, 2025