payload-auth

Integrates Better Auth for enhanced authentication in Payload CMS.

Community 319 4k/wk MIT v1.9.4

Installation

pnpm add payload-auth

About

The payload-auth plugin provides an integration with Better Auth, enhancing authentication capabilities for applications using Payload CMS. This plugin allows for the use of various authentication providers while maintaining compatibility with relational databases such as PostgreSQL and SQLite. It supports type-safe authentication flows and includes functionalities for both server and client components of Next.js applications. This plugin adds features such as setting login methods, applying admin configurations, and initializing Better Auth for seamless integration. The configuration is extensible, allowing for customized options according to the requirements of the application. The plugin comes with the ability to synchronize schemas across collections and manage authentication workflows effectively. Currently, the plugin is in beta. Users are encouraged to report any issues they encounter. The plugin is designed to work with Payload CMS version 3 and up, ensuring a smooth experience for developers leveraging the capabilities of modern authentication protocols.

Package info

Package name
payload-auth
Latest version
1.9.4
Unpacked size
1.5 MB
License
MIT
Weekly downloads
4k
Last publish
Apr 4, 2026

More from payload-auth

View profile

Similar plugins

More in Auth