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
- 4
- Last publish
- Feb 5, 2024
Similar plugins
More in AuthBetter Auth
Better Auth adapter and plugins for Payload CMS.
Passkey
Adds WebAuthn passkey login and management to Payload CMS accounts via Better Auth.
TOTP
Add an extra layer of security with Time-based One-time Passwords (TOTP).
Subscribers
Manage subscribers and channels with magic link authentication.
Keycloak SSO
Adds Keycloak single sign-on to Payload CMS 3 via an OIDC auth strategy with PKCE, silent token refresh, and permission-based access control.
Simple Social Login
Adds Google and Microsoft (Entra ID) OAuth social login buttons to the Payload admin panel and authenticated collections.