Live preview of Payload drafts on an Astro site through signed, short-lived links
Two-Factor Authentication
Adds TOTP two-factor sign-in to Payload admin accounts with encrypted secrets
Installation
pnpm add @plutotcool/payload-plugin-two-factor About
Two-Factor Authentication protects Payload admin accounts with time-based one-time codes from apps such as Google Authenticator, Authy or 1Password. Users set it up from their own account page by scanning a QR code, and they turn it off the same way, with a current code.
Secrets are encrypted before they are stored, and each sign-in is marked verified with a signed cookie that the admin routes check. Admin pages stay locked until the code is entered. A user who loses their authenticator needs an administrator to reset 2FA through the database or the Local API. The interface ships in English and French.
Package info
- Package name
@plutotcool/payload-plugin-two-factor- Latest version
1.0.1- Unpacked size
- 141 kB
- License
- MIT
- Weekly downloads
- 193
- Last publish
- Jul 31, 2026
More from plutotcool
View profileSimilar plugins
More in AuthBirth 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