Magic Login

Adds passwordless sign-in to Payload with emailed magic login links

Community 3 6/wk MIT v1.1.0

Installation

pnpm add payload-magic-login

About

Magic Login lets people sign in to Payload without a password. A user enters an email address and receives a login link in their inbox, and clicking it signs them in. The link can open the admin panel in a browser or hand off to a separate mobile app, which suits projects that pair a Payload backend with an app.

The plugin creates its own user collection that stores each account's email address along with a salt and hash. Login emails go out through the email transport already configured in the Payload project. Extending an existing user collection is not supported yet, so the plugin is best suited to projects that are starting their user model or can accept a separate one.

Package info

Package name
payload-magic-login
Latest version
1.1.0
Unpacked size
123 kB
License
MIT
Weekly downloads
6
Last publish
Feb 5, 2024

Similar plugins

More in Auth

Birth month and year check at sign-up that flags minors by country and region

Lets one Payload admin panel manage content for many separate tenants

Linked accounts and role hats, with a second factor before switching to a sensitive role

Sells digital products with signed download links that expire and stop on refund

Adds passkey sign-in and passkey management to the Payload login and account screens

Lets AI assistants read and edit Payload content over MCP with scoped API keys