0.0.29 • Published 3 years ago

mock-sso v0.0.29

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

mock-sso

Simple and stupid mock for an OAUTH2 Ip.

Installation

npm install -g mock-sso

Basic Usage

$ mock-sso
mock-sso listening on 0.0.0.0:5000

Understanding the options

$ mock-sso -d

This will dump the config as it will be used. Try this ...

$ mock-sso -d -e different@example.com

Saving your config

$ mock-sso -e email@example.com -c contact@example.com -d > saved-config.json

Reusing saved config

$ mock-sso saved-config.json -d

Help

$ mock-sso --help

mock-sso [options] [saved_config_file]
version: 0.0.10

-p  (Optional) Port number - defaults to 5000

-h  (Optional) Host address - defaults to 0.0.0.0

-e  (Optional) SSO email address. Defaults to value from config

-c  (Optional) SSO contact email address

-b  (Optional) Sets user email and user contact_email to the provided value

-i (Optional) GUID for the SSO user. Will default to a new GUID if missing.

-d (Optional) Dump config based on switches and any config files and exit

saved_config_file (Optional) a json file containing the relevant settings
0.0.29

3 years ago

0.0.25

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago