CharlesCreativeContent / stytch-node-sms

Node Authentication using Stytch and Vercel

Home Page:https://stytch-node-sms.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stytch-node-sms

This example app uses the Stytch API to send and authenticate one-time passcodes (OTPs).

Running the app

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.

  1. Fill in STYTCH_PROJECT_ID and STYTCH_SECRET in the .env file. Get your credentials from your Stytch dashboard.
  2. Run npm install
  3. Run npm start
  4. Visit http://localhost:4567 and login by SMS passcode!

About

Node Authentication using Stytch and Vercel

https://stytch-node-sms.vercel.app

License:MIT License


Languages

Language:EJS 41.2%Language:JavaScript 34.4%Language:CSS 24.1%Language:Shell 0.3%