MFA

Adds TOTP two-factor sign-in and one-time backup codes to the admin panel

Community 0 16/wk MIT v0.1.2

Installation

pnpm add @arthur.eudeline/payload-plugin-mfa

About

MFA adds two-factor sign-in to the Payload admin panel, working with authenticator apps such as Google Authenticator, 1Password and Aegis. Users turn it on from their own account page by scanning a QR code and confirming it with a first valid code, then receive ten single-use backup codes. After that, the login form asks for a code only on accounts that have two-factor enabled.

A stolen password alone no longer opens an account. Secrets are encrypted at rest, a code cannot be replayed within its validity window, and repeated wrong codes lock the second factor for a set time. A server-side reset lets an administrator recover an account when both the phone and the backup codes are lost.

Package info

Package name
@arthur.eudeline/payload-plugin-mfa
Latest version
0.1.2
Unpacked size
126 kB
License
MIT
Weekly downloads
16
Last publish
Sep 8, 2026

More from arthur-eudeline

View profile

Adds a Cloudflare Turnstile captcha to the admin login, switched on from the admin panel

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