JSPM

  • Created
  • Published
  • Downloads 331
  • Score
    100M100P100Q83230F
  • License MIT

Add an extra security layer to PayloadCMS using a Time-based One-time Password (TOTP).

Package Exports

  • payload-totp
  • payload-totp/client
  • payload-totp/rsc

Readme

Payload TOTP (Time-based One-Time Password)

🚨 THIS PLUGIN IS IN ALPHA STAGE! USE AT YOUR OWN RISK. 🚨
If you find this plugin useful, consider supporting its development through donations. Your contributions help improve security and stability!

What Does This Plugin Do?

TOTP is a widely used authentication mechanism that generates a unique, time-sensitive code based on a shared secret and the current time. This code is typically used as a second factor in authentication (2FA), adding an extra layer of security to protect against unauthorized access.

This plugin enhances security by wrapping the existing access controls under a TOTP verification process. Users must enter a valid TOTP code generated by an authenticator app (such as Google Authenticator, Authy, or Microsoft Authenticator) to gain access, reducing the risk of unauthorized logins even if credentials are compromised.