Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Linkit 7.0.17 Minor update available for module linkit (7.0.17). Release: Paragraphs Editor Enhancements 10.2.0 Minor update available for module paragraphs_ee (10.2.0). Release: Paragraphs Editor Enhancements 10.1.1 Minor update available for module paragraphs_ee (10.1.1). Release: Trash 3.0.34 Minor update available for module trash (3.0.34). Release: Paragraphs Editor Enhancements 10.0.9 Minor update available for module paragraphs_ee (10.0.9). Release: Trash 3.1.0 Minor update available for module trash (3.1.0). Release: Paragraphs Sets 3.0.4 Minor update available for module paragraphs_sets (3.0.4). Release: Paragraphs Sets 3.1.0 Minor update available for module paragraphs_sets (3.1.0). Usage Milestone: Schemata Module schemata crossed 1,000 active installs. Module Revived: CVA (Class Variance Authority) 1.0.1 Module cva updated after 7 months of inactivity (1.0.1).

OAuth Provider

No security coverage

Part of the Oauth ecosystem · 4 projects

View on drupal.org

OAuth Provider is a reusable Drupal foundation module that enables secure OAuth authentication for external services such as Microsoft 365 and Google. It provides configurable OAuth applications, secure credential storage, and user-specific token management for custom integrations and automation.

Features

OAuth Provider provides a common authentication framework that can be reused by other modules and custom integrations.

Features include:

  • Support for Microsoft 365 and Google OAuth providers.
  • Reusable OAuth application configuration.
  • Delegated user authentication flows.
  • Microsoft client credentials authentication for service-to-service integrations.
  • Secure storage of client secrets through the Key module.
  • User-specific access token management.
  • Extensible architecture for additional OAuth providers.
  • Developer-friendly APIs for consuming modules.

Typical use cases include:

  • Accessing Microsoft Graph APIs.
  • Reading or processing Microsoft 365 mailboxes.
  • Authenticating users against external APIs.
  • Connecting Drupal to Google services.
  • Azure automation and service integrations.
  • Providing shared OAuth functionality for custom Drupal modules.

Post-Installation

After installing and enabling the module:

  1. Install and configure the Key module.
  2. Create a key to securely store your OAuth client secret.
  3. Create an OAuth application configuration within Drupal.
  4. Select the provider (Microsoft 365 or Google).
  5. Configure the client ID, secret key reference, redirect URI, and required scopes.
  6. Authorize users or obtain application credentials as required by your integration.

The module does not create content types or alter editorial workflows. Instead, it provides OAuth configuration entities and services that can be used directly by administrators, developers, or dependent modules.

Additional Requirements

Required:

  • Drupal 11
  • Key module
  • An OAuth application registered with the chosen provider

Depending on your use case, you may also need:

  • A Microsoft Entra ID (Azure AD) application registration
  • A Google Cloud OAuth application
  • Appropriate API permissions and scopes

OAuth Provider is designed to act as a foundation for integration modules.

Recommended companion modules include:

  • Key module for secure credential storage.
  • Custom Microsoft Graph integrations.
  • Mailbox processing modules.
  • Azure Service Bus integrations.
  • Any custom module requiring outbound OAuth authentication.

Similar Projects

Several Drupal projects provide OAuth-related functionality, but typically focus on authentication and Single Sign-On.

  • OpenID Connect focuses on user login and identity federation.
  • Simple OAuth provides OAuth server capabilities for Drupal.

OAuth Provider focuses on a different problem: securely obtaining and managing access tokens so Drupal can authenticate to external APIs and cloud services.

Supporting this Module

Issues, feature requests, bug reports, and pull requests are welcome through the Drupal.org issue queue.

Community feedback and real-world testing help improve the module and ensure compatibility with a growing range of OAuth providers and integration scenarios.

Community Documentation

Documentation currently includes:

  • Installation and configuration guidance in the project README.
  • Provider configuration examples.
  • Developer integration examples for consuming OAuth services.

Additional tutorials, walkthrough videos, and example integrations will be added as the project evolves.

Architecture

OAuth Provider is intended to be used as a shared authentication layer for Drupal integrations. Rather than each module implementing its own OAuth handling, consuming modules can rely on OAuth Provider to manage application registration details, credentials, token acquisition, token storage, and provider-specific authentication logic.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
7 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 11 Sep 18, 2026