This is a sample application that shows how to implement multi-factor authentication in your React applications. I use it for educational purposes to find security logic flaws in MFA primarily in Auth0. I have the same template for Duo and other MFA services.
-
- Clone this github repo
-
- Run
npm install
to install all the required node modules
- Run
-
- Open up
src/views/Main/routes.js
and replace the placeholders_AUTH0_CLIENT_ID_
and_AUTH0_DOMAIN_
with real values from your Auth0 dashboard.
- Open up
-
- Run
npm start
and proceed!
- Run