oauth_client
7 sites
No security coverage
OAuth2 Client provides a user-facing UI and workflow for requesting and managing OAuth2 client applications in Drupal. It integrates with the Simple OAuth module to make OAuth2 client management accessible directly through the Drupal interface.
Features
- Request new OAuth2 clients with predefined scopes.
- Automatically generate and manage permissions per client type.
- Approve or reject client requests through a moderation workflow.
- Allow users to manage their approved clients (rename, rotate secret, or delete).
Requirements
- Drupal core: See releases for support
- Simple OAuth module (
drupal/simple_oauth:^6)
Configuration
- Define OAuth2 scopes in Simple OAuth.
- Create a Client Request Type and select allowed scopes and grants.
- Assign the generated permissions to roles allowed to request clients.
User Interface
- Requesting Clients: Users can request clients from the "OAuth2 client requests" tab in their account settings.
- Managing Requests: Privileged users can view, approve, or reject client requests at
/admin/config/services/consumer/oauth-client-request.
When a request is approved, a new OAuth2 client is created automatically and managed through the Simple OAuth module.
Developer Environment
This module supports DDEV for streamlined development. The DDEV Drupal Contrib addon simplifies local testing and CI integration with built-in commands for PHPUnit, PHPCS, PHPStan, and ESLint.
View more details in the Readme.