Magic Login

A Magic Login plugin for Payload CMS that simplifies user authentication.

Community 3 18/wk MIT v1.1.0

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

More from ByeSeeChairTen

View profile

Similar plugins

More in Auth