Login System 2

Alex (@alex)

29669

0

0

About This Space

Login System


Last updated on December 17, 2020

Public Permissions:   View   Open/Fork   Run   Comment  

Low-code Login System

This is a template for a user account management and login system. The low-code Rich Display named login.json can be placed in front of any application to provide a secure login.

Screenshot

The system provides the ability to:

  • Sign in
  • Create an account
  • Validate that a chosen password is not weak
  • Generate, store, and validate a password hash
  • Verify an email address
  • Reset a password

Configuring Email

The login system uses email to verify accounts. To setup email, update the "mailTransport" property in the .noderun/settings.json file with your NodeMailer SMTP transport details. To see this file, set Show Hidden to Yes on the Files tab.

Next, customize the Email Templates in the following low-code routines:

  • send email verification code
  • send password reset code

Then, remove the Terminate step in each of the routines.

Screenshot

Until email is configured, you can view the generated codes in the server log (in Profound.js Spaces, select Server => View Server Logs). This will allow you to test the system without configuring email.

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

More Spaces By Alex (@alex)

Filters:

Popular Recent

Simple output to a browser from Node.js

43757

0

0

Simple output to a browser from Node.js

33910

0

0

Control your Tesla (any model) with this nifty app!

58351

1

13

Eat other NodeRun players to win prizers

43604

4

3

54036

0

4

Stateless Customer Inquiry App

38771

0

0

This is a NodeRun demo space for a Payments applications

39406

0

0

This is a NodeRun demo space for a Payments applications

47635

0

0

Test On Off Switch

36954

0

1

A chess app where people can play against each other online.

48846

2

5

Profound.js 6 pjs.import() test

18580

0

0

Simple inquiry application

26815

0

0