1.0.1 • Published 3 years ago

@happy-mandado/auth v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

Happy Mandado Auth

Handles happy mandado webapp authentication

Setup

Requirements

Install nodejs:

$ brew install nodeenv

# Node Version X.Y
$ nodeenv /path/to/your/envs/node
$ source /path/to/your/envs/node/bin/activate
$ cd /path/to/waitress/repo/path

$ npm install

Auth0 tenant:

Domain
Client ID
Client Secret
Scope

Config files

Each env must require its own:

  • Domain
  • API Origin
  • API Port
  • Auth callback
  • Auth redirect
  • Cookie name
  • Cookie secret
  • Cookie domain

Test

$ npm test-unit
$ npm --silent run test-path path/to/file

Run

Development

$ npm start-dev

Production

$ npm start