Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

OAuth2 Server

Security covered Under active development 1,014 sites

This module provides OAuth2 server functionality, allowing your Drupal site to act as an authorization server. It supports various grant types and features like automatic client authorization and OpenID Connect integration.

Provides OAuth2 server functionality based on the
oauth2-server-php library.

Dependencies: Entity API, Entity reference, X Autoload.

Important: 7.x-1.0-rc2 is the last version that supports PHP 5.2.
All later versions require PHP 5.3 and X Autoload (due to oauth2-server-php itself requiring PHP 5.3 from version v1.0).

Features

  • Entity-based architecture.
  • Supports creating multiple exportable servers with own scopes and clients.
  • Designed for an unbounded number of scopes.
  • Supported grant types:
    • Authorization code
    • Client credentials
    • Refresh token
    • Password
    • JSON Web Token (JWT)
  • Support for the implicit flow.
  • Support for per-client automatic authorization (skipping the authorization form).
  • Services integration (authentication).
  • Support for OpenID Connect.

Warning: The Services integration requires Services 3.6 (or newer).

The tests can be used as an example client-side implementation.

See the documentation page for information on getting started.

Drupal 8–11

Ask your assistant about OAuth2 Server

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

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
7
Tracked since
Mar 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 8–11 Feb 28, 2025
3.0.x-dev Dev 8–11 Feb 26, 2025
2.1.0 Stable 8–11 Feb 26, 2025
2.1.x-dev Dev 8–11 Dec 10, 2024
2.0.0 Stable 8–11 Dec 10, 2024
2.0.0-beta6 Pre-release 8–11 Jun 12, 2024
2.0.0-beta5 Pre-release 8–10 Mar 13, 2024