Skip to content
Projects

dev-xo/remix-auth-totp

View on GitHub

About

A Time-Based One-Time Password (TOTP) authentication strategy for Remix-Auth.

Security & Privacy

How these counts are measured

What you can do

  • ⭐ Remix & React Router v7 - Out of the box support.
  • 📧 Built-In Magic Links - One-click authentication.
  • ⛅ Cloudflare Support - Cloudflare compatibility.
  • 🔐 Time-based codes - Uses encrypted sign-in challenges.

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

📧 Remix Auth TOTP

A Time-Based One-Time Password (TOTP) Authentication Strategy for Remix Auth that implements Email-Code & Magic-Link Authentication in your application.

npm install remix-auth-totp

CI Release License

Features

  • ⭐ Remix & React Router v7 - Out of the box support.
  • 📧 Built-In Magic Links - One-click authentication.
  • ⛅ Cloudflare Support - Cloudflare compatibility.
  • 🔐 Time-based codes - Uses encrypted sign-in challenges.
  • 🚀 Remix Auth Foundation - Built on a solid foundation.

Getting Started

Please, read the Getting Started Documentation in order to set up Remix Auth TOTP in your application.

Upgrading from 4.0.0

Upgrade to 4.0.1 for the email verification fix. The strategy verifies the recipient from the encrypted challenge for both typed codes and magic links. Each magic link is tied to the challenge that issued it, and each challenge uses a fresh TOTP secret.

Users with a pending code or magic link issued before the upgrade must request a new one. This release also updates the TOTP, cookie, and encryption dependencies. On Node.js, the package requires Node 20 or later and supports Remix Auth ^4.1.0 and ^5.0.0. The setup guide shows registration for both versions.

Support

If you found Remix Auth TOTP helpful, consider supporting it with a ⭐ Star.

Acknowledgments

Special thanks to some amazing contributors:

  • @w00fz for implementing the Magic Link feature
  • @mw10013 for adding Cloudflare Support, shipping v2 and v3 releases, and their continued dedication
  • @CyrusVorwald for the v4 release and React Router v7 compatibility

Sponsors

Huge thanks to our sponsors who makes it possible to maintain and improve Remix Auth TOTP! 🙌

Arcjet Convex Support us!
💝

Explore related projects

Loading…