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
- 18
- Last publish
- Feb 5, 2024
Similar plugins
More in AuthGoogle One Tap
Adds Google One Tap sign-in to the Payload admin login page using OAuth credentials.
Default Roles
Applies default role-based access control to every Payload collection, granting CRUD access to specified roles such as admin and executive.
Warding
RBAC plugin that generates user and role collections and injects fine-grained access control across Payload collections, globals, fields, and endpoints.
Simple RBAC
Enables role-based access control in Payload CMS.
RBAC
Adds role-based access control to your Payload CMS.
reCAPTCHA v3
This plugin protects Payload collection operations using Google reCAPTCHA v3.