This module provides an OAuth 2.0 authorization server for Drupal, allowing secure delegation of access to web services. It is built upon a well-regarded PHP library and implements the OAuth 2.0 framework.
Simple OAuth is an implementation of the OAuth 2.0 Authorization Framework RFC.
Based on League\OAuth2
This module uses the fantastic PHP library OAuth 2.0 Server from The League of Extraordinary Packages. This library has become the de-facto standard for modern PHP applications and is thoroughly tested.
Recommendation
Check the official documentation on the Bearer Token Usage. And turn on SSL!.
End-of-Life Announcement: Simple OAuth 5.2
We want to inform the community that Simple OAuth 5.2 will reach End-of-Life (EOL) on December 9, 2026 (aligned with Drupal 10’s EOL). After this date, 5.2 will no longer receive updates or security fixes.
The upgrade path from 5.2 to 6.0/6.1 is currently unstable. Efforts are underway to stabilize this transition, and the community is encouraged to follow progress or contribute here: #3512143: 5.2.x -> 6.0.0 upgrade error
6.0.x breaking changes
With the 6.0.x we try to be more conform OAuth2 spec and compliant to the OAuth2 best current practices, this involves a few BC’s summarized here below:
- Implicit grant has been removed, see:
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics#s... - Password Credentials grant has been removed, see:
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics#s...
Ask your assistant about Simple OAuth (OAuth2) & OpenID Connect
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
- Consumers
- options Drupal core
- path_alias Drupal core
- serialization Drupal core
Required by
16 tracked projects depend on this one
- Next.js 4,353 sites
- Simple OAuth Password Grant 1,955 sites
- Simple OAuth Revoke 223 sites
- Acquia Drupal Starter Kit Headless 88 sites
- Simple OAuth: Fallback Header 48 sites
- Simple OAuth Refresh Token Buffer 37 sites
- Simple OAuth Redirect URI Wildcard 23 sites
- JWT / Simple_Oauth Fallback 17 sites
- User API 11 sites
- Views RSS Feed Authentication 10 sites
- EzContent API - Enhanced De-coupled CMS Experience 2 sites
- MCP Sentinel 2 sites
- Field Login & Simple Oauth Password Grant
- Quivers
- TROVR Connect
- Simple OAuth Consumer Plugin
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 6.1.5 | Stable | 10–11 | PHP >=8.1 | Nov 25, 2026 | |
| 6.1.4 | Stable | 10–11 | PHP >=8.1 | Nov 3, 2026 | |
| 6.0.10 | Stable | 10–11 | PHP >=8.1 | Nov 3, 2026 | |
| 5.2.6 | Stable | 9–10 | PHP >=7.4 | Nov 3, 2026 | |
| 6.1.3 | Stable | 10–11 | PHP >=8.1 | Oct 21, 2026 | |
| 6.1.2 | Stable | 10–11 | PHP >=8.1 | Oct 20, 2026 | |
| 6.1.1 | Stable | 10–11 | May 22, 2026 | ||
| 6.1.x-dev | Dev | 10–11 | Dec 8, 2025 | ||
| 6.1.0 | Stable | 10–11 | Dec 8, 2025 | ||
| 6.0.9 | Stable | 10–11 | Nov 3, 2025 |