Auth Cookie
Authenticate users with SSO and cookies in Payload CMS.
Installation
pnpm add payload-auth-cookie About
This plugin implements cookie-based authentication for Payload CMS using an external Single Sign-On (SSO) system. It allows the application to validate user sessions through configurable endpoints and automatically create user accounts in the system. The plugin supports admin and frontend authentication, allowing for secure access to application resources. To integrate, developers include the plugin in the Payload configuration, specifying SSO details such as cookie names and login/logout URLs. Additionally, it offers TypeScript support with comprehensive type definitions, facilitating ease of use and reliability in code. With this plugin, applications can efficiently leverage existing SSO systems while maintaining user authentication seamlessly within the Payload environment.
Package info
- Package name
payload-auth-cookie- Latest version
0.0.14- Unpacked size
- 116 kB
- License
- MIT
- Weekly downloads
- 387
- Last publish
- Mar 6, 2026