Login System

Alex (@alex)

25335

0

0

About This Space

Login System


Last updated on August 28, 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

test

3282

0

0

Tab Layout Test Workspace

4432

0

0

date field test

12222

0

0

message box example

9109

0

0

aaa

11509

0

0

api test

12265

0

0

test react

11816

0

0

ds refParm test

12096

0

0

Example of Indeterminate Checkbox

11521

0

0

test grid persist and hiding of columns

11890

0

0

Profound.js 6 pjs.import() test

12648

0

0

Test Data Structures with pjs.require()

12249

0

0