0.1.38 • Published 6 years ago

oauth2-oidc v0.1.38

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

Development

Setup

Assuming you've got a NodeJS environment ready:

npm install

Run Specs

npm test

Run Specs Continuously

npm run watch

Debug Specs

Run the specs with --debug-brk to make node wait for the debugger to attach:

node --debug-brk ./node_modules/jasmine/bin/jasmine.js

Run node-inspector:

./node_modules/.bin/node-inspector

... (does not work at the moment... why?)

Testing

The example provider can be run with a REPL:

WITH_REPL=1 node examples/provider.js

Within the REPL, the following will be in the context: provider, ontology, server

This gives access to anything persisted like this:

ontology.collections.client.findOne({ id: 1 }).then((c) => { console.log('c', c) })

Persistence

The example provider uses in-memory "persistence" by default. MongoDB can be used instead by providing a url in environment variable MONGO_URL like so:

MONGO_URL=mongodb://localhost/oauth2-oidc-provider node examples/provider.js

License

Licensed under the MIT License.

0.1.38

6 years ago

0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.34

7 years ago

0.1.33

7 years ago

0.1.32

7 years ago

0.2.9

7 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.30

8 years ago

0.1.29

8 years ago

0.1.28

8 years ago

0.1.27

8 years ago

0.1.26

8 years ago

0.1.25

8 years ago

0.1.24

8 years ago

0.1.23

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago