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 Authauth plugin
Adds authentication capabilities to Payload CMS.
oAuth plugin
Integrates OAuth authentication into Payload CMS using passport-oauth2.
RBAC permissions UI
Adds a permissions management UI for roles in Payload CMS.
Masquerade
Masquerade user for Payload CMS.
RBAC
Add role-based access control features to Payload CMS.
Better Auth
Better Auth adapter and plugins for Payload CMS.