Code Monkey home page Code Monkey logo

magic-link-demo's Introduction

Magic Link Login Demo

Magic Links are a simple way to allow authorized access to a website without building a full-fledged user management system.

Instead of actually sending an email this demo displays the magic link in the frontend application where it can be clicked.

Development

First, start the services as tmux sessions with:

./devStart

Then you can edit the source.

There is "local CI" available. Stop the services started by devStart and then run

./ci

This uses tmux and runs Cypress in headless mode. The usual videos and screenshots will be created in case of any failures.

How logging in with Magic Link works

Instead of a username and password a magic link that is supposed to be known only by the right person is used. To ensure that only the right person knows the magic link email is used to deliver the magic link. For each login the magic link will be different so that for every login an email has to be sent and received.

Instead of email another delivery method can also be used.

Signup

  1. Register email address
  2. Receive email to confirm (console output for demo purposes)

Login

  1. Enter email address
  2. If email address is known, receive magic link in email (console output for demo purposes)
  3. Use magic link to log in

magic-link-demo's People

Contributors

snscaimito avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.