Skip to content

securitybunker/databunker-nodejs-passwordless-login

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Roll your own passwordless login (aka Magic Link) for Node.js with this code example

Run for the first time

  1. ./generate-databunker-env.sh - run this command will generate databunker.env file
  2. docker-compose build - build web application container.
  3. Edit web.env to make sure it contains correct values.
  4. docker-compose up -d - to start all containers (databunker and web app).

Open in your browser http://localhost:4000/.

You can use any email address to login. No real check for user records exist in this code.

It is using only the Databunker session code support.

Run for the second time:

It is enough to execute docker-compose up command.

About

databunker-nodejs-passwordless-login

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published