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.4k
- Last publish
- May 12, 2026
Similar plugins
More in AuthGoogle One Tap
Adds Google One Tap sign-in to the Payload admin login page using OAuth credentials.
Default Roles
Applies default role-based access control to every Payload collection, granting CRUD access to specified roles such as admin and executive.
Warding
RBAC plugin that generates user and role collections and injects fine-grained access control across Payload collections, globals, fields, and endpoints.
Simple RBAC
Enables role-based access control in Payload CMS.
Magic Login
A Magic Login plugin for Payload CMS that simplifies user authentication.
RBAC
Adds role-based access control to your Payload CMS.