{"_id":"@adrianfrith/oauth2-oidc","_rev":"5-57e55ce5ca02002b6b1ef12f1659d438","name":"@adrianfrith/oauth2-oidc","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.36":{"name":"@adrianfrith/oauth2-oidc","version":"0.1.36","author":{"url":"https://uber5.com/","name":"Chris Oloff","email":"chris@uber5.com"},"license":"ISC","_id":"@adrianfrith/oauth2-oidc@0.1.36","maintainers":[{"name":"adrianfrith","email":"adrian@adrianfrith.com"}],"homepage":"https://github.com/Uber5/oauth2-oidc#readme","bugs":{"url":"https://github.com/Uber5/oauth2-oidc/issues"},"dist":{"shasum":"ef2210425faef5b66f951010c2e1b044a95fbd40","tarball":"https://registry.npmjs.org/@adrianfrith/oauth2-oidc/-/oauth2-oidc-0.1.36.tgz","fileCount":30,"integrity":"sha512-mu6fVnY1L134atBaNDpXkSA4msFeFRDx9uDtYy+rKANhZpGFoiSmehwksRAMEdnO1ov0umfpKUWi4wQ6dPMcDA==","signatures":[{"sig":"MEQCIAgbff1MePbfnXr9fP8ZnroUPMtQS/f2h8wEnzLRmvXJAiBb2YV7GIOILWLQyBPUQvltv1K2C9Uk3oq4a7czZBOgyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220527},"main":"index.js","_from":".","_shasum":"ef2210425faef5b66f951010c2e1b044a95fbd40","gitHead":"ee3af1c442f0f76e33d195bed424aff2cbb4c62e","scripts":{"test":"jasmine","watch":"nodemon ./node_modules/.bin/jasmine","coverage":"istanbul cover --include-all-sources ./node_modules/.bin/jasmine"},"_npmUser":{"name":"adrianfrith","email":"adrian@adrianfrith.com"},"repository":{"url":"git+https://github.com/Uber5/oauth2-oidc.git","type":"git"},"_npmVersion":"3.10.10","description":"Oauth2 and OpenIDConnect implementation, as express middleware","directories":{},"_nodeVersion":"6.17.1","dependencies":{"debug":"^2.2.0","jsonschema":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.3.4","rosie":"^1.2.0","string":"^3.3.1","zombie":"^4.2.1","express":"^4.13.3","jasmine":"^2.3.2","nodemon":"^1.8.1","request":"^2.65.0","bcryptjs":"^2.3.0","istanbul":"^0.4.0","waterline":"^0.10.26","body-parser":"^1.14.1","sails-mongo":"^0.11.5","sails-memory":"^0.10.5","simple-oauth2":"^0.2.1","node-inspector":"^0.12.3","express-session":"^1.12.1","node-mocks-http":"^1.5.0","jasmine-reporters":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/oauth2-oidc_0.1.36_1725881090209_0.4781804784616348","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@adrianfrith/oauth2-oidc","version":"0.3.1","author":{"url":"https://uber5.com/","name":"Chris Oloff","email":"chris@uber5.com"},"license":"ISC","_id":"@adrianfrith/oauth2-oidc@0.3.1","maintainers":[{"name":"adrianfrith","email":"adrian@adrianfrith.com"}],"homepage":"https://github.com/Uber5/oauth2-oidc#readme","bugs":{"url":"https://github.com/Uber5/oauth2-oidc/issues"},"dist":{"shasum":"824ddf8065a125d2e0da829f0eb31f365c257847","tarball":"https://registry.npmjs.org/@adrianfrith/oauth2-oidc/-/oauth2-oidc-0.3.1.tgz","fileCount":30,"integrity":"sha512-1Daak/+Ph5OiIjLB4oK4ob2LJnaPqMyJYeJtBxjv4sR/lhTAToJyfm433EJBKIEryvxV4+Op9XvIo1r94zi0TQ==","signatures":[{"sig":"MEUCIQD+VBsozgf8HeNVeK15snbTA83LbUv2HxF2wiNEr1ZxfwIgXtcrGw+HTHjF7mHX5iXL2b5zohBj6KIp+TkuGZ4Tk+w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221313},"main":"index.js","gitHead":"a059692b8615c7b3b50187d0c993eec8c1a381a9","scripts":{"test":"jasmine","watch":"nodemon ./node_modules/.bin/jasmine","coverage":"istanbul cover --include-all-sources ./node_modules/.bin/jasmine"},"_npmUser":{"name":"adrianfrith","email":"adrian@adrianfrith.com"},"repository":{"url":"git+https://github.com/Uber5/oauth2-oidc.git","type":"git"},"_npmVersion":"6.14.12","description":"Oauth2 and OpenIDConnect implementation, as express middleware","directories":{},"_nodeVersion":"10.24.1","dependencies":{"debug":"^2.2.0","jsonschema":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.3.4","rosie":"^1.2.0","string":"^3.3.1","zombie":"^4.2.1","express":"^4.13.3","jasmine":"^2.3.2","nodemon":"^1.8.1","request":"^2.65.0","bcryptjs":"^2.3.0","istanbul":"^0.4.0","waterline":"^0.10.26","body-parser":"^1.14.1","sails-mongo":"^0.11.5","sails-memory":"^0.10.5","simple-oauth2":"^0.2.1","node-inspector":"^0.12.3","express-session":"^1.12.1","node-mocks-http":"^1.5.0","jasmine-reporters":"^2.0.7"},"_npmOperationalInternal":{"tmp":"tmp/oauth2-oidc_0.3.1_1763408198349_0.5702505282061954","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@adrianfrith/oauth2-oidc","version":"0.3.2","description":"Oauth2 and OpenIDConnect implementation, as express middleware","main":"index.js","scripts":{"test":"jasmine","watch":"nodemon ./node_modules/.bin/jasmine","coverage":"istanbul cover --include-all-sources ./node_modules/.bin/jasmine"},"repository":{"type":"git","url":"git+https://github.com/Uber5/oauth2-oidc.git"},"author":{"name":"Chris Oloff","email":"chris@uber5.com","url":"https://uber5.com/"},"license":"ISC","homepage":"https://github.com/Uber5/oauth2-oidc#readme","bugs":{"url":"https://github.com/Uber5/oauth2-oidc/issues"},"devDependencies":{"bcryptjs":"^2.3.0","body-parser":"^1.14.1","ejs":"^2.3.4","express":"^4.13.3","express-session":"^1.12.1","istanbul":"^0.4.0","jasmine":"^2.3.2","jasmine-reporters":"^2.0.7","node-inspector":"^0.12.3","node-mocks-http":"^1.5.0","nodemon":"^1.8.1","request":"^2.65.0","rosie":"^1.2.0","sails-memory":"^0.10.5","sails-mongo":"^0.11.5","simple-oauth2":"^0.2.1","string":"^3.3.1","waterline":"^0.10.26","zombie":"^4.2.1"},"dependencies":{"debug":"^2.2.0","jsonschema":"^1.0.2"},"gitHead":"d7a3a66e36b6503c94639cce8f9f30d6455888ac","_id":"@adrianfrith/oauth2-oidc@0.3.2","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-VVTgg7M/EVYawpTIlRJLX8GQ5dIKC3P2PS8005stLo2qTBrNddoGPvm8YfMogDgez7hcH9h31qAT9iJgK0i0xA==","shasum":"412892fe8dbea05252db8a1a746ffe717e4f8d13","tarball":"https://registry.npmjs.org/@adrianfrith/oauth2-oidc/-/oauth2-oidc-0.3.2.tgz","fileCount":30,"unpackedSize":221498,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJ01nqm03/ncAVqQc7D7OymZnKiHVFjmFwcOHV0fw+nAIhAJqhlUo291NmAPrP1WkFoBBEBjT+CSTKC5xLr8sTmt80"}]},"_npmUser":{"name":"adrianfrith","email":"adrian@adrianfrith.com"},"directories":{},"maintainers":[{"name":"adrianfrith","email":"adrian@adrianfrith.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/oauth2-oidc_0.3.2_1783633264453_0.8449251148752168"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-09T11:24:50.122Z","modified":"2026-07-09T21:41:04.715Z","0.3.0":"2024-09-09T11:09:09.769Z","0.1.36":"2024-09-09T11:24:50.518Z","0.3.1":"2025-11-17T19:36:38.536Z","0.3.2":"2026-07-09T21:41:04.596Z"},"bugs":{"url":"https://github.com/Uber5/oauth2-oidc/issues"},"author":{"name":"Chris Oloff","email":"chris@uber5.com","url":"https://uber5.com/"},"license":"ISC","homepage":"https://github.com/Uber5/oauth2-oidc#readme","repository":{"type":"git","url":"git+https://github.com/Uber5/oauth2-oidc.git"},"description":"Oauth2 and OpenIDConnect implementation, as express middleware","maintainers":[{"name":"adrianfrith","email":"adrian@adrianfrith.com"}],"readme":"[<img src=\"https://travis-ci.org/Uber5/oauth2-oidc.svg?branch=master\">](https://travis-ci.org/Uber5/oauth2-oidc)\n\n# Development\n\n## Setup\n\nAssuming you've got a NodeJS environment ready:\n\n```\nnpm install\n```\n\n## Run Specs\n\n```\nnpm test\n```\n\n## Run Specs Continuously\n\n```\nnpm run watch\n```\n\n## Debug Specs\n\nRun the specs with `--debug-brk` to make node wait for the debugger to attach:\n\n```\nnode --debug-brk ./node_modules/jasmine/bin/jasmine.js\n```\n\nRun `node-inspector`:\n\n```\n./node_modules/.bin/node-inspector\n```\n\n... (does not work at the moment... why?)\n\n# Testing\n\nThe example provider can be run with a REPL:\n\n```\nWITH_REPL=1 node examples/provider.js\n```\n\nWithin the REPL, the following will be in the context: `provider`, `ontology`, `server`\n\nThis gives access to anything persisted like this:\n\n```\nontology.collections.client.findOne({ id: 1 }).then((c) => { console.log('c', c) })\n```\n\n## Persistence\n\nThe example provider uses in-memory \"persistence\" by default. MongoDB can be\nused instead by providing a url in environment variable `MONGO_URL` like so:\n\n```\nMONGO_URL=mongodb://localhost/oauth2-oidc-provider node examples/provider.js\n```\n\n# License\n\nLicensed under the [MIT License](./LICENSE.txt).\n","readmeFilename":"README.md"}