{"_id":"@ainasoft/oidc-provider","_rev":"4-55c18a6539ba6426354016fc9145b138","name":"@ainasoft/oidc-provider","dist-tags":{"latest":"5.5.4"},"versions":{"5.5.1":{"name":"@ainasoft/oidc-provider","version":"5.5.1","description":"OpenID Provider (OP) implementation for Node.js OpenID Connect servers.","keywords":["auth","authentication","basic","certified","config","connect","dynamic","express","hybrid","identity","implicit","koa","oauth","oauth2","oidc","openid","provider","server"],"homepage":"https://github.com/panva/node-oidc-provider","repository":{"type":"git","url":"git+https://github.com/panva/node-oidc-provider.git"},"license":"MIT","author":{"name":"Filip Skokan","email":"panva.ip@gmail.com"},"main":"lib/index.js","scripts":{"coverage":"nyc node ./test/run","heroku-postbuild":"npm install mongodb@^3.0.0","lint":"eslint lib example test","lint-fix":"eslint lib example test --fix","test":"node ./test/run"},"dependencies":{"@koa/cors":"^2.2.2","base64url":"^3.0.1","debug":"^4.1.0","delegates":"^1.0.0","ejs":"^2.6.1","got":"^9.3.2","jsesc":"^2.5.2","koa":"^2.6.2","koa-router":"^7.4.0","lodash":"^4.17.11","lru-cache":"^5.1.1","nanoid":"^2.0.0","node-jose":"^1.1.0","object-hash":"^1.3.1","oidc-token-hash":"^3.0.1","raw-body":"^2.3.3","semver":"^5.6.0","uuid":"^3.3.2"},"devDependencies":{"@commitlint/cli":"^7.2.1","@commitlint/config-conventional":"^7.1.2","chai":"^4.2.0","clear-module":"^3.0.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0","husky":"^1.2.0","koa-body":"^4.0.4","koa-ejs":"^4.1.2","koa-helmet":"^4.0.0","koa-mount":"^4.0.0","mocha":"^5.2.0","moment":"^2.22.2","nock":"^10.0.2","nyc":"^13.1.0","sinon":"^7.1.1","supertest":"^3.3.0","timekeeper":"^2.1.2"},"engines":{"node":">=8.9.0"},"commitlint":{"extends":["@commitlint/config-conventional"]},"nyc":{"reporter":["lcov","text-summary"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"d0e275f6f9b4ca1a24a90fff70ba80f92194418c","bugs":{"url":"https://github.com/panva/node-oidc-provider/issues"},"_id":"@ainasoft/oidc-provider@5.5.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"azanium","email":"syuaibi@gmail.com"},"dist":{"integrity":"sha512-6zSQZxv2lV04qqMcO48XPORaQWesIwVAEluVhpQ0C8QvWyA2E+/o5m+BHxGKcv7oafTQuRW/Z84+UFZmoA0S5A==","shasum":"ce3528e27e827e8b234044e534e3b10f36be34dc","tarball":"https://registry.npmjs.org/@ainasoft/oidc-provider/-/oidc-provider-5.5.1.tgz","fileCount":151,"unpackedSize":431907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGkvGCRA9TVsSAnZWagAA1y0QAJLi1um6s6nnjs912PUm\n377w2Xzifx39LpMbqLl/PyPYqoqzakYogw8aHSCMqKXa0Hgl6YmxhdOrHSu9\nmPPtK9Jgozn9GkqNMC07F2w8k7sqRf/2Cru7QoMwQNpelSrT1MsYDUC1JvTo\nSAf3D8cTNlmfKi4OSmQAP9lC5awY5KRbLCwjqLmFRyGLQ0Eu+bYv4L+2kLIS\nPhIhNwO9gP/7VQcmalBN67FUNWKmy9TGyJvevuC0KEKJXoToeycRJTwDZXFx\nN1rFmR66gdc4I52H/QJC9QKBqW/hRGQsKe0MHBr+Bj8ZW1MlOaCGHtWv/SaT\nyg4SpAG/DeApvFeD6gZZGJr8A8wdp2Fo/MUx6q91gPX9PdYHCrWWY7iVb2Fo\nHBdm7Uq8O8XeWDvnRl5znwKAlNCNgLZhtE1GO4dLlFMzH+CYC+oKZYoQMxKl\nFchK0UzNq3jLFFx252CR7glIbDxJMdfY6IAA2jusbLmVMeVR2M8iNbjNto82\ny2E/M9zmFKOEv4QMSoTMqM5jO++JtHdiqWcfFABaaSBo24yN38UMV49IZj+7\nKunU43fghDUKappCbZGftYl6TgljBxYAP+WfKEDs9z3d5UkihWs34RunodEi\nTLnuXLVeaNQiUMZEsvTIuROSG4M//Ckw7TFMoncMbeBeEcUVF3tvqCJ7M9g5\nlnlS\r\n=Sqc3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpMnLaILIUSCa8jprTMu0a4czoNnfRGM//glyExjH/0QIhAIz6lXgQ7BytyYHVmsbalcX+LAbXuLr3/IFYn3lMe95c"}]},"maintainers":[{"name":"azanium","email":"syuaibi@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oidc-provider_5.5.1_1545227205736_0.6803160760042344"},"_hasShrinkwrap":false},"5.5.2":{"name":"@ainasoft/oidc-provider","version":"5.5.2","description":"OpenID Provider (OP) implementation for Node.js OpenID Connect servers.","keywords":["auth","authentication","basic","certified","config","connect","dynamic","express","hybrid","identity","implicit","koa","oauth","oauth2","oidc","openid","provider","server"],"homepage":"https://github.com/azanium/node-oidc-provider","repository":{"type":"git","url":"git+https://github.com/azanium/node-oidc-provider.git"},"license":"MIT","author":{"name":"Filip Skokan","email":"panva.ip@gmail.com"},"main":"lib/index.js","scripts":{"coverage":"nyc node ./test/run","heroku-postbuild":"npm install mongodb@^3.0.0","lint":"eslint lib example test","lint-fix":"eslint lib example test --fix","test":"node ./test/run"},"dependencies":{"@koa/cors":"^2.2.2","base64url":"^3.0.1","debug":"^4.1.0","delegates":"^1.0.0","ejs":"^2.6.1","got":"^9.3.2","jsesc":"^2.5.2","koa":"^2.6.2","koa-router":"^7.4.0","lodash":"^4.17.11","lru-cache":"^5.1.1","nanoid":"^2.0.0","node-jose":"^1.1.0","object-hash":"^1.3.1","oidc-token-hash":"^3.0.1","raw-body":"^2.3.3","semver":"^5.6.0","uuid":"^3.3.2"},"devDependencies":{"@commitlint/cli":"^7.2.1","@commitlint/config-conventional":"^7.1.2","chai":"^4.2.0","clear-module":"^3.0.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0","husky":"^1.2.0","koa-body":"^4.0.4","koa-ejs":"^4.1.2","koa-helmet":"^4.0.0","koa-mount":"^4.0.0","mocha":"^5.2.0","moment":"^2.22.2","nock":"^10.0.2","nyc":"^13.1.0","sinon":"^7.1.1","supertest":"^3.3.0","timekeeper":"^2.1.2"},"engines":{"node":">=8.9.0"},"commitlint":{"extends":["@commitlint/config-conventional"]},"nyc":{"reporter":["lcov","text-summary"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"8696cf80150849f1194d4f2d3167c497f318b7cc","bugs":{"url":"https://github.com/azanium/node-oidc-provider/issues"},"_id":"@ainasoft/oidc-provider@5.5.2","_npmVersion":"6.5.0","_nodeVersion":"10.14.1","_npmUser":{"name":"azanium","email":"syuaibi@gmail.com"},"dist":{"integrity":"sha512-QwW5taJFwEKkjaA7bUuy9PFU2a5mlIvD1NojDs8g6ARPIonqW6xj/QIcVyoVJl8kCcTuOO5sP2Q0EaSSB8vZAA==","shasum":"0c3463259691b11c3fe8d94dc725283bedacb44d","tarball":"https://registry.npmjs.org/@ainasoft/oidc-provider/-/oidc-provider-5.5.2.tgz","fileCount":151,"unpackedSize":432820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI3IWCRA9TVsSAnZWagAAMU8P/ihnRqHdFlRF8hbGfkvo\n4NnYmGI9H/vTMOtIA7K7jL+GDqVGCKOZhCBylnzrvnt4sE0k6VwNE48PQjVA\nG9UPNC4gukA89AoLDkQ0r6vBLKnqY+6y8mrnzqsQjusr56z4K76VEGHrq4zu\nKV4X6abhg9wCyXVugQ9ZJaJl7P5vLkXn9ULnj76rFbF8rxoM0uiCEi4nMKO2\n/xupES2u85+9Bo6fOEKmpp0jshYbk6B5cG6rzs2QFP0YSZXpoRbrHnA8VBQp\nnW3jfKqHrtiVu1kbHFlzStBl+moAOlljw/Et7NuhtfpFB/gizDM6Muh6v/f+\nzwbGGGvvug1i69a2rPnlRVnu49SAwcgMHxte1hMp1LLjwWhtHGcbNPM8/7XA\nZRIYuQQt3GJJZsOfY7hAqr+bPwwC8mQ9Ww9aCTazs+0LR+XA4yLWvr3zN6Gq\ntgqFpNzAURw1QWqxTk3IhiRJdof+juBCHfY/v7AcOE7o/1vX4aqfl0fk8bju\n/1H9q7PUQ2djzjph2qXtCJV2iURX7Qxj3ammb1rDbzOq3MxqjpApRFvtLQ4K\nQ9XM5swuxOOyifpQrE6p0NhaQ3lDt/krCyZQ8wCHsgthc4RabX8mrKmQhRk6\njdb65mtmC4YoKfzF0vPma39LeTS9uusA+Q/MwIQYrm1l3jstEevpYY5uTJK8\nZHef\r\n=FIAy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVe7fhd+rE+lZm5UWwzbfr5lkm8lJj+U2iNvFIK8DDuwIgDSiMfMycYT9ZWbtSubdO6XFcuzj6KJvPRJFFoQCjrX8="}]},"maintainers":[{"name":"azanium","email":"syuaibi@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oidc-provider_5.5.2_1545826837407_0.6579058602542316"},"_hasShrinkwrap":false},"5.5.3":{"name":"@ainasoft/oidc-provider","version":"5.5.3","description":"OpenID Provider (OP) implementation for Node.js OpenID Connect servers.","keywords":["auth","authentication","basic","certified","config","connect","dynamic","express","hybrid","identity","implicit","koa","oauth","oauth2","oidc","openid","provider","server"],"homepage":"https://github.com/azanium/node-oidc-provider","repository":{"type":"git","url":"git+https://github.com/azanium/node-oidc-provider.git"},"license":"MIT","author":{"name":"Filip Skokan","email":"panva.ip@gmail.com"},"main":"lib/index.js","scripts":{"coverage":"nyc node ./test/run","heroku-postbuild":"npm install mongodb@^3.0.0","lint":"eslint lib example test","lint-fix":"eslint lib example test --fix","test":"node ./test/run"},"dependencies":{"@koa/cors":"^2.2.2","base64url":"^3.0.1","debug":"^4.1.0","delegates":"^1.0.0","ejs":"^2.6.1","got":"^9.3.2","jsesc":"^2.5.2","koa":"^2.6.2","koa-router":"^7.4.0","lodash":"^4.17.11","lru-cache":"^5.1.1","nanoid":"^2.0.0","node-jose":"^1.1.0","object-hash":"^1.3.1","oidc-token-hash":"^3.0.1","raw-body":"^2.3.3","semver":"^5.6.0","uuid":"^3.3.2"},"devDependencies":{"@commitlint/cli":"^7.2.1","@commitlint/config-conventional":"^7.1.2","chai":"^4.2.0","clear-module":"^3.0.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0","husky":"^1.2.0","koa-body":"^4.0.4","koa-ejs":"^4.1.2","koa-helmet":"^4.0.0","koa-mount":"^4.0.0","mocha":"^5.2.0","moment":"^2.22.2","nock":"^10.0.2","nyc":"^13.1.0","sinon":"^7.1.1","supertest":"^3.3.0","timekeeper":"^2.1.2"},"engines":{"node":">=8.9.0"},"commitlint":{"extends":["@commitlint/config-conventional"]},"nyc":{"reporter":["lcov","text-summary"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"3d8ba6d0388bba38b678d52642e58e50a0b93805","bugs":{"url":"https://github.com/azanium/node-oidc-provider/issues"},"_id":"@ainasoft/oidc-provider@5.5.3","_npmVersion":"6.5.0","_nodeVersion":"10.14.1","_npmUser":{"name":"azanium","email":"syuaibi@gmail.com"},"dist":{"integrity":"sha512-BpkQIpWku5nk/ll0F/2JeifvPTI99feL8R4wakhLY9NxU2ccZ4VsG5JGPheFZh4S1apYzkkJDNvTqWdhRyPADQ==","shasum":"3e5aba2b9bb5986b5ff39a4544ad525d29447ac1","tarball":"https://registry.npmjs.org/@ainasoft/oidc-provider/-/oidc-provider-5.5.3.tgz","fileCount":151,"unpackedSize":433451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN22XCRA9TVsSAnZWagAAT7kQAJH67rS6VziNUkP8GHCW\nFlIEGT/ZmvlNgYYVE5U4U5pFdOVyrTtjZwX2SyjzsXFaZIKqDIa3QZM+k8EV\nb+Xzsa/X2XgN/wCHzZTJqj3tc9HgtcM0mGFn9mfr43RHxgxdrUuZmv5ymGiK\nqByHb8WLh04Czn9BMT7dSZc37HZKI6GV/KErTM1YcowoVvhlkpKm0p9JOCVt\nWJOxZcVcY5eNvZrjD8pHFhsYficHBn+jCxscRe/XGqHMDUlu3hECycwontHV\nSYReFXIIRXQhY/0DhViiZQSqUjRmvQzFgyKu09gTV518CEsesFeU1uJIzaEW\neBfsS1E+4O8+XomRwaUE9jCj7BMsUlPZrChEByVlzqb6SFcgU6NSiptryHOn\nZ3ILhhq6zTDENhq8/J+vjUYa5iM2ATKuX3kQXrjPEiP61XOB4gjbglPg9GAG\noMn1iq68WBZuBRk9n6z6ZTmm4O9Zla8JVOHHmb1lIyUdMK0cfNO9K5b3CWkv\nq+WcFjO6UzheM9QW7vKl4UtvCtiruhy6kD/pqWoY1Z+aoIRRdRUo9zJpzyv4\n0XdihsbIcBA746o6sRMJ1rY3IiP8zmaQM0N6H4xLJIWPeWm63y4/9kCIDXQo\nd0BR8QJhiVl7xRpsmZIC6bDKujvTnXGI0IOsulk4qEOxr6qHllgZfut8C9bA\n0l4H\r\n=0Fio\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBESNIUPh6gHAamTYVHZ4LCrjmYJcuTp+dY0IIrJcpGgAiEAydpSAcr/5859skpT0lTgc7OyHm3TcOk7KNmgPD6mf8Y="}]},"maintainers":[{"name":"azanium","email":"syuaibi@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oidc-provider_5.5.3_1547136407057_0.13641174172500636"},"_hasShrinkwrap":false},"5.5.4":{"name":"@ainasoft/oidc-provider","version":"5.5.4","description":"OpenID Provider (OP) implementation for Node.js OpenID Connect servers.","keywords":["auth","authentication","basic","certified","config","connect","dynamic","express","hybrid","identity","implicit","koa","oauth","oauth2","oidc","openid","provider","server"],"homepage":"https://github.com/azanium/node-oidc-provider","repository":{"type":"git","url":"git+https://github.com/azanium/node-oidc-provider.git"},"license":"MIT","author":{"name":"Filip Skokan","email":"panva.ip@gmail.com"},"main":"lib/index.js","scripts":{"coverage":"nyc node ./test/run","heroku-postbuild":"npm install mongodb@^3.0.0","lint":"eslint lib example test","lint-fix":"eslint lib example test --fix","test":"node ./test/run"},"dependencies":{"@koa/cors":"^2.2.2","base64url":"^3.0.1","debug":"^4.1.0","delegates":"^1.0.0","ejs":"^2.6.1","got":"^9.3.2","jsesc":"^2.5.2","koa":"^2.6.2","koa-router":"^7.4.0","lodash":"^4.17.11","lru-cache":"^5.1.1","nanoid":"^2.0.0","node-jose":"^1.1.0","object-hash":"^1.3.1","oidc-token-hash":"^3.0.1","raw-body":"^2.3.3","semver":"^5.6.0","uuid":"^3.3.2"},"devDependencies":{"@commitlint/cli":"^7.2.1","@commitlint/config-conventional":"^7.1.2","chai":"^4.2.0","clear-module":"^3.0.0","eslint":"^5.9.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0","husky":"^1.2.0","koa-body":"^4.0.4","koa-ejs":"^4.1.2","koa-helmet":"^4.0.0","koa-mount":"^4.0.0","mocha":"^5.2.0","moment":"^2.22.2","nock":"^10.0.2","nyc":"^13.1.0","sinon":"^7.1.1","supertest":"^3.3.0","timekeeper":"^2.1.2"},"engines":{"node":">=8.9.0"},"commitlint":{"extends":["@commitlint/config-conventional"]},"nyc":{"reporter":["lcov","text-summary"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"gitHead":"1a96443c1eff501939596fd190351e3592096f3d","bugs":{"url":"https://github.com/azanium/node-oidc-provider/issues"},"_id":"@ainasoft/oidc-provider@5.5.4","_npmVersion":"6.5.0","_nodeVersion":"10.14.1","_npmUser":{"name":"azanium","email":"syuaibi@gmail.com"},"dist":{"integrity":"sha512-nr/28yUd712ik9AO+sDV4vFH1VEnaNV+U9g+64NSLpKBwtkEOGEHDceLqEMBydb8KqK4J6fQZ1oCYCY3Y9v6Ug==","shasum":"103a1e329fcf2702b44bccdb09f61bf79d657600","tarball":"https://registry.npmjs.org/@ainasoft/oidc-provider/-/oidc-provider-5.5.4.tgz","fileCount":151,"unpackedSize":433768,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN35nCRA9TVsSAnZWagAA2gsP/j7BuakoUIc27GM9MR5H\npHjepgeJjQ5zCtrUtJAtslGkTvo7IGCmQKlLIe7Q70IwbFMinqbiKTrGnQ6w\nDfP0cu6ClyYj1hrW0XG1PjXBoWLdE9uQT6mmRi9zYPu749MLT6DzxWfHXWlD\nsktrXtEhoMZPpgdZMhcdml6q3QMEGb59k0oVUGEdPLOMV5HDTz69RV4Rq/RF\n1r8RRGzRVxIhAg9wPMXeldXoWhY3xgV81Ah67StYoYaICUW735RjlaSq4NUH\nujvzx9IPyi0sDCcQkbQ/dq9kF9TrFHY16FNYO0t1V7gc4JzWaTlfzPv+MFmx\nQu+T0jUFZ1WXjH/J1zXEjCtNz1toPezYn1vhQQHVrvOMz/S8EZYVSsTupN0o\n5vpDDpV9hk2ipRgidAxqy9uNa7NgiJ5L6BCgV/JcS2pBeZNGfbIkga0lNnOq\nc/qaemXPDj2QwwHG+FeUMQubRZSAhXltoRSOoJLJ5WaGPsk7TVc3vlcTD4qq\n4Mu+rB0jFT8/9s1DMbbm+6g5+6H5SurBbrRVXSbBtHDGb4YhoNe5Fepx0eIb\noMAa6DiFs07bbfjquEyrWy1+DDE556wgDPCFPGokNQO086tJuPDc/q5Ohj1r\nD2jrSgNVH4+ALVWx9fRg4liqUF9C/ncZ2dFa8qZeujvCd015mz5em6yfkgn5\n78Kw\r\n=FpJu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm03gTM3BG1iefLVpDL3MM1JEWSJ1xXACF/44YwveD5QIhAMREZXnWVRgJFC0/hC4Lx3EcL+NCt4+bIUa0SClqNX+C"}]},"maintainers":[{"name":"azanium","email":"syuaibi@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oidc-provider_5.5.4_1547140710695_0.1476922219670942"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-19T13:46:45.562Z","5.5.1":"2018-12-19T13:46:45.865Z","modified":"2022-04-04T12:19:42.050Z","5.5.2":"2018-12-26T12:20:37.628Z","5.5.3":"2019-01-10T16:06:47.259Z","5.5.4":"2019-01-10T17:18:30.854Z"},"maintainers":[{"name":"azanium","email":"syuaibi@gmail.com"}],"description":"OpenID Provider (OP) implementation for Node.js OpenID Connect servers.","homepage":"https://github.com/azanium/node-oidc-provider","keywords":["auth","authentication","basic","certified","config","connect","dynamic","express","hybrid","identity","implicit","koa","oauth","oauth2","oidc","openid","provider","server"],"repository":{"type":"git","url":"git+https://github.com/azanium/node-oidc-provider.git"},"author":{"name":"Filip Skokan","email":"panva.ip@gmail.com"},"bugs":{"url":"https://github.com/azanium/node-oidc-provider/issues"},"license":"MIT","readme":"# oidc-provider\n\n[![build][travis-image]][travis-url] [![codecov][codecov-image]][codecov-url]\n\noidc-provider is an OpenID Provider implementation of [OpenID Connect][openid-connect]. It allows to\nexport a complete mountable or standalone OpenID Provider implementation. This implementation does\nnot dictate a fixed data model or persistence store, instead, you must provide adapters for these.\nA generic in-memory adapter is available to get you started as well as feature-less dev-only views\nto be able to get off the ground.\n\n**Table of Contents**\n\n<!-- TOC depthFrom:2 depthTo:3 withLinks:1 updateOnSave:1 orderedList:0 -->\n\n- [Implemented specs & features](#implemented-specs--features)\n- [Certification](#certification)\n- [Get started](#get-started)\n- [Configuration and Initialization](#configuration-and-initialization)\n- [Debugging](#debugging)\n- [Events](#events)\n\n<!-- /TOC -->\n\n## Implemented specs & features\n\nThe following specifications are implemented by oidc-provider. Note that not all features are\nenabled by default, check the configuration section on how to enable them.\n\n- [OpenID Connect Core 1.0][core]\n  - Authorization (Authorization Code Flow, Implicit Flow, Hybrid Flow)\n  - UserInfo Endpoint and ID Tokens including Signing and Encryption\n  - Passing a Request Object by Value or Reference including Signing and Encryption\n  - Public and Pairwise Subject Identifier Types\n  - Offline Access / Refresh Token Grant\n  - Client Credentials Grant\n  - Client Authentication incl. client_secret_jwt and private_key_jwt methods\n- [OpenID Connect Discovery 1.0][discovery]\n- [OpenID Connect Dynamic Client Registration 1.0][registration]\n- [OAuth 2.0 Form Post Response Mode][form-post]\n- [RFC7636 - Proof Key for Code Exchange by OAuth Public Clients][pkce]\n- [RFC7009 - OAuth 2.0 Token Revocation][revocation]\n- [RFC7662 - OAuth 2.0 Token Introspection][introspection]\n- [RFC8252 - OAuth 2.0 for Native Apps BCP][oauth-native-apps]\n\nThe following drafts/experimental specifications are implemented by oidc-provider.\n- [JWT Response for OAuth Token Introspection - draft 01][jwt-introspection]\n- [JWT Secured Authorization Response Mode for OAuth 2.0 (JARM) - draft 01][jarm]\n- [OAuth 2.0 Device Flow for Browserless and Input Constrained Devices - draft 12][device-flow]\n- [OAuth 2.0 Mutual TLS Client Authentication and Certificate Bound Access Tokens - draft 12][mtls]\n- [OAuth 2.0 Resource Indicators - draft 01][resource-indicators]\n- [OAuth 2.0 Web Message Response Mode - draft 00][wmrm]\n- [OpenID Connect Back-Channel Logout 1.0 - draft 04][backchannel-logout]\n- [OpenID Connect Front-Channel Logout 1.0 - draft 02][frontchannel-logout]\n- [OpenID Connect Session Management 1.0 - draft 28][session-management]\n- [RFC7592 - OAuth 2.0 Dynamic Client Registration Management Protocol (Update and Delete)][registration-management]\n\nUpdates to draft and experimental specification versions are released as MINOR library versions,\nif you utilize these specification implementations consider using the tilde `~` operator in your\npackage.json since breaking changes may be introduced as part of these version updates.\n\nMissing a feature? - If it wasn't already discussed before, [ask for it][suggest-feature].  \nFound a bug? - [report it][bug].\n\n## Certification\n[<img width=\"184\" height=\"96\" align=\"right\" src=\"https://cdn.jsdelivr.net/gh/panva/node-oidc-provider@acd3ebf2f5ebbb5605463cb681a1fb2ab9742ace/OpenID_Certified.png\" alt=\"OpenID Certification\">][openid-certified-link]  \nFilip Skokan has [certified][openid-certified-link] that [oidc-provider][npm-url]\nconforms to the OP Basic, OP Implicit, OP Hybrid, OP Config, OP Dynamic and OP Form Post profiles\nof the OpenID Connect™ protocol.\n\n[![build][conformance-image]][conformance-url]\n\n\n<h2>Sponsor</h2>\n\n[<img width=\"65\" height=\"65\" align=\"left\" src=\"https://avatars.githubusercontent.com/u/2824157?s=75&v=4\" alt=\"auth0-logo\">][sponsor-auth0] If you want to quickly add OpenID Connect authentication to Node.js apps, feel free to check out Auth0's Node.js SDK and free plan at [auth0.com/overview][sponsor-auth0].<br><br>\n\n<h2>Support</h2>\n\n[<img src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\" align=\"right\">][support-patreon]\nIf you or your business use oidc-provider, please consider becoming a [Patron][support-patreon] so I can continue maintaining it and adding new features carefree. You may also donate one-time via [PayPal][support-paypal].\n[<img src=\"https://cdn.jsdelivr.net/gh/gregoiresgt/payment-icons@183140a5ff8f39b5a19d59ebeb2c77f03c3a24d3/Assets/Payment/PayPal/Paypal@2x.png\" width=\"100\" align=\"right\">][support-paypal]\n\n## Get started\nYou may check the [example folder](/example) or follow a [step by step example][example-repo] to see\nwhich of those fits your desired application setup.\n\nThe examples bundled in this repo's codebase are available for you to experiment with\n[here][heroku-example]. Dynamic Registration is open, you can literally register any client you want\nthere.   An example client using this provider is available [here][heroku-example-client] (uses\n[openid-client][openid-client]).\n\nAlso be sure to check the available configuration docs section.\n\n\n## Configuration and Initialization\noidc-provider allows to be extended and configured in various ways to fit a variety of uses. See\nthe [available configuration](/docs/configuration.md).\n\n```js\nconst Provider = require('oidc-provider');\nconst configuration = {\n  // ... see available options /docs/configuration.md\n};\nconst clients = [{\n  client_id: 'foo',\n  client_secret: 'bar',\n  redirect_uris: ['http://lvh.me:8080/cb'],\n  // + other client properties\n}];\n\nconst oidc = new Provider('http://localhost:3000', configuration);\n\nlet server;\n(async () => {\n  await oidc.initialize({ clients });\n  // express/nodejs style application callback (req, res, next) for use with express apps, see /examples/express.js\n  oidc.callback\n\n  // koa application for use with koa apps, see /examples/koa.js\n  oidc.app\n\n  // or just expose a server standalone, see /examples/standalone.js\n  server = oidc.listen(3000, () => {\n    console.log('oidc-provider listening on port 3000, check http://localhost:3000/.well-known/openid-configuration');\n  });\n})().catch((err) => {\n  if (server && server.listening) server.close();\n  console.error(err);\n  process.exitCode = 1;\n});\n```\n\n\n## Debugging\noidc-provider uses the [debug][debug-link] module internally to log information about various states\nof authentication requests, errors and grants. To see all these set the `DEBUG` environment variable\nto `oidc-provider:*` when launching your app.\n\nThere is no filter on what is included in the debug output, since it may end-user Personally\nidentifiable information or client credentials it's use is only advised for debugging, not regular\nlogging. Use emitted events to cherry pick the one's of interest to your flows and form your own\nlogs aware of what should and should not be a part of a logged message.\n\n\n## Events\nYour oidc-provider instance is an event emitter, using event handlers you can hook into the various\nactions and i.e. emit metrics or that react to specific triggers. In some scenarios you can even\nchange the defined behavior.  \nSee the list of available emitted [event names](/docs/events.md) and their description.\n\n\n[travis-image]: https://api.travis-ci.com/panva/node-oidc-provider.svg?branch=master\n[travis-url]: https://travis-ci.com/panva/node-oidc-provider\n[conformance-image]: https://api.travis-ci.com/panva/oidc-provider-conformance-tests.svg?branch=master\n[conformance-url]: https://github.com/panva/oidc-provider-conformance-tests\n[codecov-image]: https://img.shields.io/codecov/c/github/panva/node-oidc-provider/master.svg\n[codecov-url]: https://codecov.io/gh/panva/node-oidc-provider\n[npm-url]: https://www.npmjs.com/package/oidc-provider\n[openid-certified-link]: https://openid.net/certification/\n[openid-connect]: https://openid.net/connect/\n[core]: https://openid.net/specs/openid-connect-core-1_0.html\n[discovery]: https://openid.net/specs/openid-connect-discovery-1_0.html\n[registration]: https://openid.net/specs/openid-connect-registration-1_0.html\n[session-management]: https://openid.net/specs/openid-connect-session-1_0-28.html\n[form-post]: https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html\n[revocation]: https://tools.ietf.org/html/rfc7009\n[introspection]: https://tools.ietf.org/html/rfc7662\n[pkce]: https://tools.ietf.org/html/rfc7636\n[node-jose]: https://github.com/cisco/node-jose\n[example-repo]: https://github.com/panva/node-oidc-provider-example\n[heroku-example]: https://guarded-cliffs-8635.herokuapp.com/.well-known/openid-configuration\n[heroku-example-client]: https://tranquil-reef-95185.herokuapp.com/client\n[openid-client]: https://github.com/panva/node-openid-client\n[backchannel-logout]: https://openid.net/specs/openid-connect-backchannel-1_0-04.html\n[frontchannel-logout]: https://openid.net/specs/openid-connect-frontchannel-1_0-02.html\n[registration-management]: https://tools.ietf.org/html/rfc7592\n[oauth-native-apps]: https://tools.ietf.org/html/rfc8252\n[debug-link]: https://github.com/visionmedia/debug\n[wmrm]: https://tools.ietf.org/html/draft-sakimura-oauth-wmrm-00\n[device-flow]: https://tools.ietf.org/html/draft-ietf-oauth-device-flow-12\n[jwt-introspection]: https://tools.ietf.org/html/draft-ietf-oauth-jwt-introspection-response-01\n[sponsor-auth0]: https://auth0.com/overview?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=oidc-provider&utm_content=auth\n[suggest-feature]: https://github.com/panva/node-oidc-provider/issues/new?template=feature-request.md\n[bug]: https://github.com/panva/node-oidc-provider/issues/new?template=bug-report.md\n[mtls]: https://tools.ietf.org/html/draft-ietf-oauth-mtls-12\n[resource-indicators]: https://tools.ietf.org/html/draft-ietf-oauth-resource-indicators-01\n[jarm]: https://openid.net/specs/openid-financial-api-jarm-wd-01.html\n[support-patreon]: https://www.patreon.com/panva\n[support-paypal]: https://www.paypal.me/panva\n","readmeFilename":"README.md"}