OAuth2

OAuth2 plugin for Payload CMS, enabling integration with various providers.

Community 196 11.4k/wk MIT v1.0.21

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 Auth