React.js time-based one-time token demo.
Client side is an ejected create-react-app
Requires Node 7.0+
Before you start make sure you have Google Authenticator or FreeOTP installed.
- Go into
/totp-demo/client
and build the client withnpm run build
- Now back into
/totp-demo
and start the server withnpm start
- Browse http://localhost:3000 and scan the QR code using one of the pre-requisite apps
- Generate a code and login using the email, password and the OTP code