This example app uses the Stytch API to send and authenticate one-time passcodes (OTPs).
For name continuity, create a new project called "Tropica" and use it for these setup steps. That way, the SMS message will say "Tropica verification code: xxxxxx", matching the app branding.
- Fill in
STYTCH_PROJECT_IDandSTYTCH_SECRETin the.envfile. Get your credentials from your Stytch dashboard. - Run
npm install - Run
npm start - Visit
http://localhost:4567and login by SMS passcode!