OAuth2 Server
1,052 sites
Security covered
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.