Skip to content

stytchauth/stytch-node-magic-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stytch-node-magic-links

This example app uses the Stytch API to send and authenticate magic links.

Running the app

  1. Fill in STYTCH_PROJECT_ID and STYTCH_SECRET in the .env file. Get your credentials from your Stytch dashboard.
  2. Add http://localhost:3000/authenticate (the PORT set in .env) as a valid sign-up and login URL on your Stytch dashboard.
  3. Run npm i
  4. Run npm start
  5. Visit http://localhost:3000 and login with your email. Then check for the Stytch email and click the sign in button. You should be signed in!

Next steps

This example app showcases a small portion of what you can accomplish with Stytch. Here are a few ideas to explore:

  1. Add additional login methods like OAuth or Passwords.
  2. Secure your app further by building MFA authentication using methods like OTP.

Get help and join the community

💬 Stytch community Slack

Join the discussion, ask questions, and suggest new features in our ​Slack community!

❓ Need support?

Check out the Stytch Forum or email us at [email protected].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published