Multi-factor authentication with Lit Protocol
This example web app demonstrates the implementation of a robust Multi-Factor Authentication (MFA) system using Lit Protocol's JS SDK. It supports various authentication methods.
- SMS
- Passkey
- Web3 Wallets
- WebAuthn
- Google Authenticator
To get started with this project, follow these steps:
git clone https://github.com/tesla809/demo-mfa-react.git
cd demo-mfa-react
npm install
Add your project-specific environment variables to .env.local. This includes credentials for SMS, email services, and any other third-party services you're using:
NEXT_PUBLIC_SMS_API_KEY="<Your SMS API Key>"
NEXT_PUBLIC_EMAIL_SERVICE_ID="<Your Email Service ID>"
# Add other relevant variables here
npm run dev
Visit http://localhost:3000 to interact with the app.