Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

OAuth2 Server

1,052 sites Security covered
View on drupal.org

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.

Activity

Total releases
4
First release
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Release date
3.0.x-dev Dev Feb 26, 2025
2.1.0 Stable Feb 26, 2025
2.1.x-dev Dev Dec 10, 2024
2.0.0 Stable Dec 10, 2024