@happy-mandado/auth

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i @happy-mandado/auth

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

4.44 kB

Total Files

4

Last publish

Collaborators

  • grevych