OAuth2
OAuth2 plugin for Payload CMS, enabling integration with various providers.
Installation
pnpm add payload-oauth2 About
This plugin integrates OAuth2 authentication into Payload CMS, allowing users to authenticate using various providers. It is highly customizable and works with any generic OAuth2 service, including Google and Zitadel, with examples provided for implementation. Users can initiate the OAuth flow through a straightforward browser navigation, ensuring compatibility with standard user interfaces. The plugin utilizes a flexible architecture that allows it to work with existing user collections and sessions within the Payload framework. Developers can extend functionality by customizing the authentication strategy and handling token extraction as needed. Configuration is simple, requiring only minor adjustments in the Payload setup to enable OAuth2 authentication. Installation of the plugin requires the standard npm commands. Once set up, it streamlines the process of implementing secure authentication methods in Payload applications, supporting both common and specialized OAuth providers.
Package info
- Package name
payload-oauth2- Latest version
1.0.21- Unpacked size
- 73 kB
- License
- MIT
- Weekly downloads
- 11.1k
- Last publish
- May 12, 2026
Similar plugins
More in AuthPasskey
Adds WebAuthn passkey login and management to Payload CMS accounts via Better Auth.
Simple Social Login
Adds Google and Microsoft (Entra ID) OAuth social login buttons to the Payload admin panel and authenticated collections.
Better Auth
Better Auth adapter and plugins for Payload CMS.
Subscribers
Manage subscribers and channels with magic link authentication.
payload-auth
Integrates Better Auth for enhanced authentication in Payload CMS.
RBAC
Add role-based access control features to Payload CMS.