Skip to content

An example of how to implement your own magic link password-less sign in

Notifications You must be signed in to change notification settings

cjwd/passwordless-signin

Repository files navigation

Getting Started

Requirements

  • node
  • yarn or npm
  • Airtable account (free)
  • Mailtrap account (free)

Usage

Install Dependencies

yarn

Set your environment variables

Change the example.variables.env to variables.env

Set your Airtable API key and Base ID

This demo reqires an Airtable account with a base with a table users with the fields:

  • name
  • email
  • token
  • token_date

Set your SMTP info

This demo requires Mailtrap

Start server and watch files

yarn start

Visit in browser http://localhost:7777. The default port is 7777 but you can change this in your environment variables file (variables.env)

About

An example of how to implement your own magic link password-less sign in

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages