Magic Login
A Magic Login plugin for Payload CMS that simplifies user authentication.
Installation
pnpm add payload-magic-login About
The Magic Login plugin allows users to authenticate via a magic link system in Payload CMS. Users receive a unique login link that they can use to log in without a password, improving the user experience by reducing friction during authentication. The plugin can be easily integrated into the Payload configuration by importing it and specifying the necessary options such as secret keys and email configurations. This plugin works by creating a user collection that includes email and salt/hash. It supports configurable targets for different environments, allowing for links to be generated for both admin panels and apps. Users must set up transport options for sending the magic links and configure server URLs as needed. The plugin is designed for flexibility and can be extended in future iterations to enhance its capabilities. With the requirement of Payload version 2.0.0 and above, this plugin is suitable for developers looking to implement password-less authentication in their applications quickly and securely.
Package info
- Package name
payload-magic-login- Latest version
1.1.0- Unpacked size
- 123 kB
- License
- MIT
- Weekly downloads
- 1
- Last publish
- Feb 5, 2024
Similar plugins
More in AuthreCAPTCHA v3
This plugin protects Payload collection operations using Google reCAPTCHA v3.
OIDC plugin
Integrate OpenID Connect authentication into Payload CMS.
Gatekeeper
Adds role-based access control to Payload CMS v3 with wildcard permissions, auto-generated permissions per collection, and a managed Roles collection.
Auth0 integration
Integrates Auth0 authentication with Payload CMS.
Zitadel integration
Integrates Zitadel authentication into Payload CMS applications.
TOTP
Add an extra layer of security with Time-based One-time Passwords (TOTP).