Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

SSO Connector OAuth

Security covered Under active development 4 sites

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.

Drupal 11 · not 10

Ask your assistant about SSO Connector OAuth

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
3 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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