payload-auth
Integrates Better Auth for enhanced authentication in Payload CMS.
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
3.0.0- Unpacked size
- 1.6 MB
- License
- MIT
- Weekly downloads
- 8.1k
- Last publish
- Aug 5, 2026
Similar plugins
More in AuthBetter Auth
Better Auth adapter and plugins for Payload CMS.
Passkey
Adds WebAuthn passkey login and management to Payload CMS accounts via Better Auth.
TOTP
Add an extra layer of security with Time-based One-time Passwords (TOTP).
Subscribers
Manage subscribers and channels with magic link authentication.
Keycloak SSO
Adds Keycloak single sign-on to Payload CMS 3 via an OIDC auth strategy with PKCE, silent token refresh, and permission-based access control.
Simple Social Login
Adds Google and Microsoft (Entra ID) OAuth social login buttons to the Payload admin panel and authenticated collections.