TOTP

Add an extra layer of security with Time-based One-time Passwords (TOTP).

Community 153 4.3k/wk MIT v3.0.1

Installation

pnpm add payload-totp

About

TOTP is an authentication mechanism that generates unique, time-sensitive codes based on a shared secret. This plugin integrates TOTP verification into PayloadCMS, enhancing security by requiring a valid code from an authenticator app for access. Users can set up TOTP through their account settings, and it is supported for one collection at a time, ensuring multi-factor authentication (MFA) is applied effectively. The plugin allows configuration options such as collection selection, disabling TOTP under certain conditions, and forcing users to set up TOTP. It is compatible with various authentication strategies and syncs seamlessly with existing access controls. Detailed documentation is provided for installation and integration, ensuring users can implement it with minimal hassle. This integration is vital for protecting against unauthorized access, especially in scenarios where user credentials might be compromised. It enhances the overall security of any application using PayloadCMS.

Package info

Package name
payload-totp
Latest version
3.0.1
Unpacked size
318 kB
License
MIT
Weekly downloads
4.3k
Last publish
Mar 30, 2026

More from GeorgeHulpoi

View profile

Similar plugins

More in Auth