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 OAuth

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

This module adds OAuth 2.0 capabilities to the SSO Connector, specifically supporting the secure Authorization Code flow with PKCE. It allows Drupal to act as an OAuth client for modern single sign-on architectures, integrating with existing SSO Connector features and optionally with the simple_oauth module.

Turns an SSO Connector Identity Provider into a standards-based OAuth 2.0 Authorization Server / OpenID Provider. External applications obtain an authorization code from a CSRF-protected consent form, exchange it at the token endpoint for an RS256 access token (and an id_token when the openid scope is granted), and read scope-gated claims from the userinfo endpoint. Tokens are signed with the RS256 keypair managed by SSO Connector core, and the public key is published as a JWKS document.

Features

  • Authorization Code grant with mandatory PKCE (S256) for public clients.
  • CSRF-protected consent form — no silent auto-approval.
  • Token endpoint (authorization_code grant); other grant types are rejected.
  • Client authentication: constant-time secret verification for confidential clients, PKCE for public clients.
  • Single-use, atomically-consumed authorization codes.
  • Audience-bound RS256 access tokens carrying only minimal claims (sub, token_use, scope).
  • OpenID Connect id_token (RS256, nonce-bound) when openid is requested.
  • Scope-gated UserInfo endpoint.
  • JWKS endpoint and OpenID Connect discovery document.
  • Client definitions via the optional Consumers entity, or via module configuration.

Requirements

  • Drupal core ^11.2 || ^12
  • SSO Connector ^1.0 (provides the RS256 keypair)
  • Optional: Consumers for entity-managed OAuth clients

Installation

composer require drupal/sso_connector_oauth
drush en sso_connector_oauth

Part of the SSO Connector bundle

Requires SSO Connector (core). See the core project for the full suite and the bundle architecture document.

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