{"_id":"express-oauth2-bearer","_rev":"145-4688568d5435dd6682f118deda09f88d","name":"express-oauth2-bearer","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.1":{"name":"express-oauth2-bearer","version":"0.0.1","author":{"url":"https://joseoncode.com","name":"José F. Romaniello","email":"jfromaniello@gmail.com"},"license":"MIT","_id":"express-oauth2-bearer@0.0.1","maintainers":[{"name":"jfromaniello","email":"jfromaniello@gmail.com"}],"dist":{"shasum":"2b68fccf0b298bd8996e46f68c4b9d3f92fa5e4c","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.0.1.tgz","fileCount":13,"integrity":"sha512-NUlTRpC03YOdn433GZ1u37V5IhyjwbMmDYmL4ISfyjBgCUe68XYLAHEVNuddAKoB6U5hRYsUiZciZh21+6VK+Q==","signatures":[{"sig":"MEUCIQCiAGlWkIyZoZCEaz5sd6LeDpfIQlo+R5PcAZF/Zwc6hQIgRY8gVRidcoYksvhWpCd0DdWksDEU0S/K+gk9s9x3mGg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb//QJCRA9TVsSAnZWagAA254P/jlIoG2xmBMcGXI3IQFm\n69rczvZ3Lqs/H8kOS3wLmkSQCKNTIWJ8ifwbZY1wCQzH/urxK7CIOvLtWaul\nY4eqb0Jz7dj8zuiwgQDS6FYvvy/gtarfvCWpsxJCV7LQhjapUb2kRrGCvWv8\n66dCz5pUdkQkVzrD+zVcxFT00SKMqGSVZiW1gsIR5Bvmh0yQ97ud4gLKgplk\na0Vbcwk7PMhhMsTX0ujDQoUkf1hXVC7q5APxOm+7ip9WvezrqkguNSvC2748\nvsZs6/s3jm9vE3o2Ctftv+NSfhj/M2Js6XNOZVvS1HpOOcFM8Uvoik2UdwNy\nopOlPQjvXZ+tuoyi8iYWxUUgL/kuHSjpE/E6r140O6ETZTkfZhVbFCH6gVFF\nYzNXsqgOkrftRY2kBZg4He6ei4fLkJjLdIQGiD3ZOas4mzCouBfQDCQwHVKL\nK6mX534O6kIYp06PwIrCq3NSSPdx+AvSkYaBGmeZ/MKwfEAdZyf/ug1JrK7V\nH8PHa4KBkndsWfe6LeFBFcKvwGI0WIyNk/lQrUOR2PN+tNpgUgbi0SAF4vXl\n+p+Fad3yOHO1M5HET1x07ZE036lNjHLlmt2QsUU2I3z4tA6siJdLpvcX/S+B\nbqETWlcc/E+aGgsP19WNmrQuEsiLQJLQuH1XqKJtsClqsI0JYBaxH2GLCav1\nepnf\r\n=Mw5j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0fe749628c65298107c0248bb2db51a955d1b78e","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"jfromaniello","email":"jfromaniello@gmail.com"},"_npmVersion":"6.2.0","description":"[![Build Status](https://travis-ci.org/auth0/express-openid-jwt.svg?branch=master)](https://travis-ci.org/auth0/express-openid-jwt)","directories":{},"_nodeVersion":"10.8.0","dependencies":{"request":"^2.88.0","p-memoize":"^2.1.0","jsonwebtoken":"^8.4.0","openid-client":"^2.4.5"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.6.1","chai":"^4.2.0","nock":"^10.0.2","mocha":"^5.2.0","eslint":"^5.9.0","express":"^4.16.4","pem-jwk":"^1.5.1","selfsigned":"^1.10.4","request-promise-native":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.0.1_1543500808966_0.23854037891864577","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"express-oauth2-bearer","version":"0.1.0","author":{"url":"https://joseoncode.com","name":"José F. Romaniello","email":"jfromaniello@gmail.com"},"license":"MIT","_id":"express-oauth2-bearer@0.1.0","maintainers":[{"name":"jfromaniello","email":"jfromaniello@gmail.com"}],"dist":{"shasum":"8a85b4401c663c0f73ec6dce53a23a882933253a","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.1.0.tgz","fileCount":15,"integrity":"sha512-sHvtNjL+Hg/uHMsKsn/BmoiIZrs2Cn09AoXK58NtIGfawtbyAbm7XRoTj8N3ZHyx9UEgPyW5/r03cc4xzK5fpA==","signatures":[{"sig":"MEUCICg7JEC3EQGZUxAAcvi4dJQNV3pcj/Wb6s9tTDqOCvsTAiEA7LiQAc3G2XYYkNFYoIcAlZoxLHZAo1tsO5K6dMg+9zk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAWLJCRA9TVsSAnZWagAAFFkP/2HPnFuD7xTu1V+p4JgY\nQJSO+c58X77d7x98udShisgvnqB+Uqpj8RKAPiCMpWTx7xV/a8F/fDHn75Hd\nBOgUR/UO5QjC8TgBLr99fwWa7r7yWgP/mjnGi4M9AIit4o+jJnLdJXQLfB95\nk9aKyYPolDb6igFtgEmtzsNnnzY60+8qgPd1WKpk4Oh7HbgCjcDbWphmh2so\nrvyEeKtko0djZnRyb0jk9d7Ht3hcJ0yTsDpq/8KwxjIjTXfsBrS8DvPVmAyl\nQCWbMn8BtF9DYAKN0EPKYsdxBKAGb1MfCWO6PZ5tkio8DNYTPgVK18QmDLwu\nZLkPcQ00PNbvSYWBiShLxIPILR2l0KDBVd50hc8ignpp63KVT4SGvOnOXhiv\neUCwjZzRG/W5SI1wGyUjv5BMhhnOKV/MEz0r0VUz/JlWeArYMe8mDuF9g+xu\nJQXLs51qMelbTQ0RhZFslFP7YYTuwi108l1Ae2ZboNzDaEth23hPCCSs2zCz\n6hLKf46uU1Lwnvt0AGv3nHXsofi66SxNrl4lq/C8V0kZv87WAF9ngX3BkJwF\nUICPVNbihH93Um3G4mGiMxlSaEclW76/KHKOwAIX3HVANk3qYpEB2hlZSs25\nPdtdK0ikLnHthF1hqQGEeizYpnPjGH4QTpR03NyzK+mILsh5i6aoGr0ndcG1\n3wFs\r\n=SA0J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4c8ef32e5ee9bd81598c5a04f2dd612d5ed82076","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"jfromaniello","email":"jfromaniello@gmail.com"},"_npmVersion":"6.2.0","description":"[![Build Status](https://travis-ci.org/auth0/express-openid-jwt.svg?branch=master)](https://travis-ci.org/auth0/express-openid-jwt)","directories":{},"_nodeVersion":"10.8.0","dependencies":{"request":"^2.88.0","p-memoize":"^2.1.0","http-errors":"^1.7.1","jsonwebtoken":"^8.4.0","openid-client":"^2.4.5"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.6.1","chai":"^4.2.0","nock":"^10.0.2","mocha":"^5.2.0","eslint":"^5.9.0","express":"^4.16.4","pem-jwk":"^1.5.1","selfsigned":"^1.10.4","request-promise-native":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.1.0_1543594696695_0.1504287951541785","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"express-oauth2-bearer","version":"0.2.0","author":{"url":"https://joseoncode.com","name":"José F. Romaniello","email":"jfromaniello@gmail.com"},"license":"MIT","_id":"express-oauth2-bearer@0.2.0","maintainers":[{"name":"jfromaniello","email":"jfromaniello@gmail.com"}],"dist":{"shasum":"2a5c8ffe3293a6edb642dc2f76b02968feb94944","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.2.0.tgz","fileCount":14,"integrity":"sha512-uxc3Sfv7sqxCi7uunI6t6BFz7lU6f1GVJhvav4eqrcWPuQ90FTNoYZIVrKROPN0yfOQ3QcJcFXAWg7gqptl8KA==","signatures":[{"sig":"MEUCIQCTxrgGp3xUxfaTuhhJMufT6nLPcy5WRCs74jR+9utXOwIgGUZz4pqRjW0DNUCvVgJCQ142J/+wrxgUOPz/jhi/XNI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAWNyCRA9TVsSAnZWagAAcVkQAJgkP/yTI7xvCgMCkDu+\nFGXTBmP7lAHMkQNHMgh4i9lNj7JSbzmS94CuSDt4sD7L/0cLF+OwL5wuIvAY\nPC3/Uj5glXGYtxmP3oH4KDyfOoePVTYmgu6Ssh1h9XzbsY7+6Rxl1OzxgTmp\nAEnQnOEVtsA59dxE/2Qe/zY2xsJKfW5OwWwgv9c9jVAPPgR5ednbmsiGwBlQ\nSIx6Z2+xw+8xSQsGUIdLihAQevSiV0pEk7aaFvAhTW7izb0VOBdfzNmCztTO\nJrEOVdblwbIW5hMrqTZbtfeMsoTlqWQ5RJdNPaEhzCBoYkAT9MTV0TTMF6f3\nPXuTSPPNbZPpBtiFrmSv7y7KvM/MoWSIqMVmc1uAmxhm4F3hSPenX3OqSVjG\n5a/LzvW3m50uwQVLUVjNRpp89hd1D66AwY9IprJ8SSBSzYrsUZtHi/juVnd9\nCTVskU2ivEXcg+ioqYgq/nEc0iGpFfNeHU0dk/enJbOhnXMTFJndK4A7YOME\n5jWzCf16pIlq0EhIkItRTf5/NukXH2BTpJkyGgkx2ZvJ8zPQlByyongxTSTf\n2SEOV64HG8xHuMce96DqIw6ouiii8/fsB/M9yUePBrMYzLvFz+/1f0qJKaBo\nOitOcF1OiwWCY9aakP7VC+eMcdbEppliFpQVGd/0rQl0kmsM5gOuDxMtRNbD\n7Xva\r\n=feqB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"caade25ca6fe8ba3702bfe2848b80a526f35a25d","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"jfromaniello","email":"jfromaniello@gmail.com"},"_npmVersion":"6.2.0","description":"Authentication middleware for express.js that validate access tokens following RFC 6750.","directories":{},"_nodeVersion":"10.8.0","dependencies":{"request":"^2.88.0","p-memoize":"^2.1.0","http-errors":"^1.7.1","jsonwebtoken":"^8.4.0","openid-client":"^2.4.5"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.6.1","chai":"^4.2.0","nock":"^10.0.2","mocha":"^5.2.0","eslint":"^5.9.0","express":"^4.16.4","pem-jwk":"^1.5.1","selfsigned":"^1.10.4","request-promise-native":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.2.0_1543594866171_0.12142981141005893","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"express-oauth2-bearer","version":"0.3.0","author":{"url":"https://joseoncode.com","name":"José F. Romaniello","email":"jfromaniello@gmail.com"},"license":"MIT","_id":"express-oauth2-bearer@0.3.0","maintainers":[{"name":"jfromaniello","email":"jfromaniello@gmail.com"}],"dist":{"shasum":"2e3e00884a8dadc4dde81b9729af2f8c4f3e8fbe","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.3.0.tgz","fileCount":15,"integrity":"sha512-WHJvEE31c8bF5rCMVvoHHAoRJGf9T6PgjcvnlLs3V0Z5KOUniy4uw1hSo9vIF59wm0txp8uO1RmBSmml+RtvRw==","signatures":[{"sig":"MEUCIFEXK2SvNr9dCL9kXy/mAxtOTi9aTWg/rWXyffTG7ZdgAiEA+QMNgGnox7HgcSk+GVhM560LLqmjHoCauijqns80x78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAW6FCRA9TVsSAnZWagAAPnIP/jf5oLhe3rE5s3UDXNPV\nmbeYGF0WNTOV4Naf3XcT0GgL+eLgvuBESfyuYcX0OQPISJBq/0IGoLP6pxDu\nbz06q9FHdsTTNGV57yTWGD06q0ho9AxlCXARCJm39SQPde3nDqv26edIvsQs\nQgouPRdC/3YlODrkAc9sCl4g0k8JrWlx7r7H4LXO1HBPy8Y7uM60aU5ssRZH\nfEcDsgxpG96zsaDl5Vc88plD24FBaD2D/YCcu+j5WKRTzzBtpKrabRj/sCkk\nqg2dmzcwoE54fr3/IZHbAsTPT+iqMNkRqzq3tiHvbogET16jlHNX7Ce6BWyq\nmO4oWTCDjMIH5AQmk25FzcXhekyFdzSanUgZAMQMuJYhR0Eg2nucEKqzbQno\nHELLK3MQO07gAVzgNU3zG1q392aq13FES0c8HZr/+6DzFpAemEwWUokl0+DV\n4Gd+hgo0TGyubLoOsRTcE4Z+ncIR2u6E1VKwAMgJbj3D2QeU3JAlgxXeFx9Y\nfSitMLq/wSu2FIZZPvvKv7ZnV2e4agvTXjt9vIixzLIdG7sYGEaLKDEsRpcT\n4Z3KcOGPPlen9I8+aUkZSI4IvGNvi+I8qkxqum6ogTAHCV69qAcomN3Glo86\npu67HMp5MoBcOgsPmpc9kbrsN/MIcsj0h6JUA17wNoc1g7RyKfWEvtPetI9j\n8BY/\r\n=W/rT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a87ac5042d7b212f6db422182d993beef990dac6","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"jfromaniello","email":"jfromaniello@gmail.com"},"_npmVersion":"6.4.1","description":"Authentication middleware for express.js that validate access tokens following RFC 6750.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"request":"^2.88.0","p-memoize":"^2.1.0","http-errors":"^1.7.1","jsonwebtoken":"^8.4.0","openid-client":"^2.4.5"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.6.1","chai":"^4.2.0","nock":"^10.0.2","mocha":"^5.2.0","eslint":"^5.9.0","express":"^4.16.4","pem-jwk":"^1.5.1","selfsigned":"^1.10.4","request-promise-native":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.3.0_1543597700530_0.6506969912999472","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"express-oauth2-bearer","version":"0.4.0","author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","_id":"express-oauth2-bearer@0.4.0","maintainers":[{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"damieng","email":"damieng@gmail.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"donflopez","email":"donflopez@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"galdun","email":"alduncin.guillermo@me.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"},{"name":"luuuis","email":"luis@eml.cc"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"mgonto","email":"martin@gonto.com.ar"},{"name":"nw","email":"nw@nwhite.net"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"}],"dist":{"shasum":"43b145afc9c7ff7c27a15f61fe3bd8aa51955111","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.4.0.tgz","fileCount":18,"integrity":"sha512-tnWOal4Dq0ojDNmqYFLt3za4y053Nm8Ui//VWD184jsnCCl9GOhlUuX0knnd0Q16G2q1glFGu7rnxMfaVvcONg==","signatures":[{"sig":"MEYCIQD+8ZnumLrdlnrqvAR/jAAnLR1CySrnx8QpgUDmS/4T3QIhAK1JZ70CJJafhiD1L+KO4Wo3cWzSbEvMIr8eX6b7Df64","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwaYxCRA9TVsSAnZWagAA1BAP/iRFlWHGAVpjYaEdPrwj\nf+ilcMojYybnQuRcRoyk399oBqAS/trzHRP7NOu/0c7GfMRkdxqus6JddXad\nlyXSFqP/IIS+9V0LJziM3gcjdXPjMYZThJYGp0KcMaiJ10p3lXWwkxKkBV5H\nr5MPyKz/gnclmB2iC1mtEKjD82Ojk2UE6KeGz7unWWifI2vvPzCnN+/SKTg7\noScXLWUtkDg4gDgrxYeKavHo5K6CIXvwyVpqKaBmP0JexIO0BA8pVpr7oOkx\nVvtdE+BV3614FQBsB0PMbjNdhSl5ADQGBk4tDGkPX6rVGz7tiqPmjhJvKl6S\nWatdd3PMlAGxktG92sOuR/iJi4d8gfYNC6Tl+a4RKHpKP9dR6RzyEv2JqO8U\nwIZAe0JEbyZUF0uPtEXASXVOCRICOFH7wimreDX+LWIEwB6IWUtFwksOjtWu\nH4V3DNSIex/1IHtlWdl7FELdsB71zlwzMcJ5aPC5LLbOinsRhmGzG+/EkwOw\nieHwToNu11igkiI4lLu+PguSMLcrfA3UppKjdh5ULs0LG4VunyXRuy1Lbpu2\nO2vmv39I4jEyAwMQ96xga2MuSW/F2oGbu03j57KsJtGP3SH46XG2AeXLAh+1\niOoGxgyzFJvvFKfxpJ3IDIPeuiNuAtwsByGt/KNYGXcc06DyL2zDh73dwPod\nmICu\r\n=hFdl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"^10.13.0 || >=12.0.0"},"gitHead":"fd23a513ec4945153c1b659142b8de6de9a60830","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},"_npmVersion":"6.12.0","description":"Authentication middleware for Express.js that validates access tokens according to RFC 6750.","directories":{},"_nodeVersion":"10.15.0","dependencies":{"p-memoize":"^2.1.0","http-errors":"^1.7.3","jsonwebtoken":"^8.5.1","openid-client":"^3.7.2"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.7.1","chai":"^4.2.0","nock":"^11.3.5","mocha":"^5.2.0","eslint":"^5.16.0","express":"^4.17.1","pem-jwk":"^1.5.1","request":"^2.88.0","selfsigned":"^1.10.6","request-promise-native":"^1.0.7"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.4.0_1572972080566_0.6104114885834957","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"express-oauth2-bearer","version":"0.4.1","author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","_id":"express-oauth2-bearer@0.4.1","maintainers":[{"name":"ziluvatar","email":"eduardo.diaz@auth0.com"},{"name":"iaco","email":"sebastian.iacomuzzi@gmail.com"},{"name":"cocojoe","email":"martin.walsh@gmail.com"},{"name":"fyockm","email":"fyockm@gmail.com"},{"name":"auth0npm","email":"devops+npm@auth0.com"},{"name":"auth0alec","email":"alec.pesola@auth0.com"},{"name":"auth0brokkr","email":"support@auth0.com"},{"name":"hzalaz","email":"hernan@auth0.com"},{"name":"glena","email":"german.lena@gmail.com"},{"name":"aaguiarz","email":"andres.aguiar@gmail.com"},{"name":"machuga","email":"machuga+npm@gmail.com"},{"name":"lbalmaceda","email":"balmacedaluciano@gmail.com"},{"name":"jstrutz","email":"j@jasonstrutz.com"},{"name":"shawnmclean","email":"shawnrmclean@gmail.com"},{"name":"matchai","email":"hello@matchai.me"},{"name":"cristiandouce","email":"cristiandouce@gmail.com"},{"name":"heyitsry","email":"ryan.wilke@auth0.com"},{"name":"sambego","email":"sambellen@gmail.com"},{"name":"stevehobbsdev","email":"steve.hobbs@auth0.com"},{"name":"bmaxwella0","email":"brandon.maxwell@auth0.com"},{"name":"davidmoses","email":"david.moses@auth0.com"},{"name":"yacine-b","email":"yacine.brahimi@auth0.com"},{"name":"sandrinodimattia","email":"sandrino@dimattia.be"},{"name":"luuuis","email":"luis.miranda@auth0.com"},{"name":"lzychowski","email":"les.zychowski@auth0.com"},{"name":"joshcanhelp","email":"josh@joshcanhelp.com"},{"name":"rob.coles","email":"rob.coles@auth0.com"},{"name":"faroceann","email":"maxhammad@gmail.com"},{"name":"rosnovsky","email":"artem@rosnovsky.us"},{"name":"davidpatrick0","email":"david.patrick@auth0.com"},{"name":"widcket","email":"zeta@widcket.com"},{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},{"name":"ldoorz","email":"luis.britos-manriquez@auth0.com"},{"name":"th3maio","email":"andre.demaio@auth0.com"},{"name":"jim.andersoon","email":"jim.anderson@auth0.com"},{"name":"fadymak","email":"fmakram1@gmail.com"},{"name":"navrupt","email":"navrup.tom@auth0.com"},{"name":"frederikprijck","email":"frederik.prijck@gmail.com"},{"name":"sergii.biienko","email":"sergii.biienko@auth0.com"},{"name":"jfromaniello","email":"jfromaniello@gmail.com"}],"dist":{"shasum":"9be94af96be5c2a1449dd485254fab65356cda43","tarball":"https://registry.npmjs.org/express-oauth2-bearer/-/express-oauth2-bearer-0.4.1.tgz","fileCount":26,"integrity":"sha512-KdJlfK1dc7FiVsTCIGvcQvpLO0bSrR1WX6d51vdtibliGl5mOO2OHiVSZmFxoV/iYpvgN4ZziGcEyHQcMRejTg==","signatures":[{"sig":"MEUCIQCgDT+Qs0z370sfArHGyGkYLc1/AmA0UMF6NIlSV+LkIAIge2NdNL8sJgfDrti9RmoAER13lnKbav83doQ//KAuSMQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2qjbCRA9TVsSAnZWagAAu7QQAIe+/IMRFi9iTzvzL6lw\noWaSb2EZgZDb75Wnpsvnt+3Sjt+j6GtBXqrWWw9yLQTVrFhHFAEzX6hY7SCS\nYdfLJFXWtmCHAbeaM2/+ldjLmNEPrGEVHmnljSXzyhA3QQxF5GzbMzLcfUmS\n6xBlhcJDQ68ZVN3d0OHwgSOrB9sq5Oy6YcPKN+c2pt7N5ueUHF8/5lyUZkli\nUpBZxEPrLobpQXoygiiZNxnmi3K7QWuLEcjzfbUgKThzsI4PUXx6y7K+Zvb8\n6trW4VMYU0mi96nKak7uuENeNsOGtvuaYDJakNMbUt81z9udm/5YghzrzYrE\nVz5hiCp0xR1baAD9G+ZAGnLtcYU2yl86ED2P6PyFUaU9h+YeQ1LDIAWiEznj\nMw1WmLV/UnkloFBn0fl1WHLWeTY9zDrRXVY9yqMTjx7zM/lXNoHXt/R8ggYs\nEmUA32R3L84jq3zYOveJZWbnrUOhFWpcchU93RrV7vr3pDIbDO4sMpNQRQ10\n+ssJhYzdhz0/GH7ArL+cyBrN69IVU3GxTD24adH7vnMV6nKadMrmlquvOprp\nx7//q24wuGKI/LJgNpuWtamg0qyLx8cN8HpoB5hFF06o14rYBULbA+UJzJJY\n+Yc4Mia6z2s0AGPzdnwc7mz2vKTp9O8Nkf7wm4F47IAeqedvfPVGvC0uTzk4\n6Be2\r\n=6arv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":"^10.13.0 || >=12.0.0"},"gitHead":"b62e3001a9e5a2844bd4a18f0c15da1112e4bc0b","scripts":{"lint":"eslint ./","test":"mocha"},"_npmUser":{"name":"adamjmcgrath","email":"adamjmcgrath@gmail.com"},"_npmVersion":"6.14.4","description":"Authentication middleware for Express.js that validates access tokens according to RFC 6750.","directories":{},"_nodeVersion":"13.14.0","dependencies":{"jose":"^1.18.1","p-memoize":"^3.1.0","http-errors":"^1.7.3","openid-client":"^3.10.0"},"_hasShrinkwrap":false,"devDependencies":{"ejs":"^2.7.4","chai":"^4.2.0","nock":"^11.7.1","mocha":"^7.0.0","eslint":"^5.16.0","express":"^4.17.1","pem-jwk":"^1.5.1","request":"^2.88.0","selfsigned":"^1.10.7","request-promise-native":"^1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/express-oauth2-bearer_0.4.1_1608114748332_0.42522303476471124","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-11-29T14:13:28.966Z","modified":"2026-07-14T10:26:00.146Z","0.0.1":"2018-11-29T14:13:29.118Z","0.1.0":"2018-11-30T16:18:16.838Z","0.2.0":"2018-11-30T16:21:06.307Z","0.3.0":"2018-11-30T17:08:20.622Z","0.4.0":"2019-11-05T16:41:20.724Z","0.4.1":"2020-12-16T10:32:28.505Z"},"author":{"name":"Auth0","email":"support@auth0.com"},"license":"MIT","description":"Authentication middleware for Express.js that validates access tokens according to RFC 6750.","maintainers":[{"email":"oss.sdks@auth0.com","name":"auth0-oss"},{"email":"devops+npm@auth0.com","name":"auth0npm"},{"email":"support@auth0.com","name":"auth0brokkr"},{"email":"jesse.le@auth0.com","name":"jessele"},{"email":"jeff.shuman@okta.com","name":"oktajeffoktajeff"},{"email":"brian.s.smith@okta.com","name":"bsmith-auth0"},{"email":"sanjay.manikandhan@okta.com","name":"sanjay.manikandhan"},{"email":"nirmal.joishi@okta.com","name":"nirjo"},{"email":"nil.torres@okta.com","name":"niltorresatko"},{"email":"jaskirat.singh@okta.com","name":"jaskirat_atko"},{"email":"henry.mcardle@okta.com","name":"henry.mcardle"},{"email":"nicolas.villalobos@okta.com","name":"nicolas.villalobos"},{"email":"choah.jung@auth0.com","name":"choah"},{"email":"josecarlos.chavez@okta.com","name":"josecarlos-chavez_atko"},{"email":"saurabh.kumar@okta.com","name":"skatko"},{"email":"tirone.pama@auth0.com","name":"tj.okta"},{"email":"sergio.garciaramos@okta.com","name":"sgarcia-atko"},{"email":"roger.chan@auth0.com","name":"roger.chan"},{"email":"michael.antone@auth0.com","name":"maaantone"},{"email":"lewis.byrne@okta.com","name":"lewisbyrne-okta"},{"email":"tarunpreet.kaur@okta.com","name":"tarunpreet.kaur"}],"readme":"Authentication middleware for Express.js that validates access tokens following [RFC 6750](https://tools.ietf.org/html/rfc6750). The purpose of this library is to protect OAuth 2.0 resources.\n\n**Please Note:** This library is currently in pre-release status and has not had a complete security review. We **do not** recommend using this library in production yet. As we move towards early access, please be aware that releases may contain breaking changes. We will be monitoring the Issues queue here for feedback and questions. PRs and comments on existing PRs are welcome!\n\n## Table of Contents\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fexpress-oauth2-bearer.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fexpress-oauth2-bearer?ref=badge_shield)\n\n\n- [Installation](#installation)\n- [Getting Started](#getting-started)\n- [Contributing](#contributing)\n- [Support + Feedback](#support--feedback)\n- [Vulnerability Reporting](#vulnerability-reporting)\n- [What is Auth0](#what-is-auth0)\n- [License](#license)\n\n## Installation\n\nThis library is installed with [npm](https://npmjs.org/package/express-oauth2-bearer):\n\n```\nnpm i express-oauth2-bearer --save\n```\n\n## Getting Started\n\nThe library needs the following values to authroize requests:\n\n- **Issuer Base URL**: The base URL of the authorization server. If you're using Auth0, this is your tenant **Domain** pre-pended with `https://` (like `https://tenant.auth0.com`) found on the **Settings** tab for your Application in the [Auth0 dashboard](https://manage.auth0.com).\n- **Allowed Audiences**: Audience identifier (or multiple separated by a comma) allowed for the access token. If you're using Auth0, this is the **Identifier** found on the **Settings** tab for your API in the [Auth0 dashboard](https://manage.auth0.com/#/apis).\n\nThese can be configured in a `.env` file in the root of your application:\n\n```text\n# .env\n\nISSUER_BASE_URL=https://YOUR_DOMAIN\nALLOWED_AUDIENCES=https://api.yourapplication.com\n```\n\n... or in your application code:\n\n```js\napp.use(auth({\n  issuerBaseURL: 'https://tenant.auth0.com',\n  allowedAudiences: 'https://api.yourapplication.com'\n}));\n```\n\nThe OpenID strategy is the default strategy for token validation. With the configuration values set in the `.env` file, the following code will restrict requests to all proceeding routes to ones that have a valid access token with the `https://api.yourapplication.com` audience and the `read:products` scope:\n\n```javascript\nconst { auth, requiredScopes } = require('express-oauth2-bearer');\n\napp.use(auth());\n\napp.get('/products',\n  requiredScopes('read:products'),\n  (req, res) => {\n    console.dir(req.auth.claims);\n    res.sendStatus(200);\n  });\n```\n\nIf access tokens are not expected to be signed like OpenID Connect ID tokens, add the `auth` middleware with a callback to validate as follows:\n\n```javascript\nconst { auth, requiredScopes } = require('express-oauth2-bearer');\n\nconst validateAccesToken = async (token) => {\n  const token = await db.tokens.find(token);\n  if (token.expired) { return; }\n  return token;\n};\n\napp.use(auth(validateAcessToken)));\n\napp.get('/products',\n  requiredScopes('read:products'),\n  (req, res) => {\n    console.dir(req.auth.claims);\n    res.sendStatus(200);\n  });\n```\n\n### API Documentation:\n\n`auth()` accepts an asynchronous function receiving an access token and returning a set of claims.\n\n`requiredScopes()` accepts either a string or an array of strings.\n\n`strategies.openid` accepts the following parameters:\n\n\n| Name                | Default                            | Description                                                          |\n|---------------------|------------------------------------|----------------------------------------------------------------------|\n| issuerBaseURL       | `env.ISSUER_BASE_URL`              | URL for the token issuer.                                            |\n| allowedAudiences    | `env.ALLOWED_AUDIENCES.split(',')` | Allowed audiences for the token.                                     |\n| clockTolerance      | `5`                                | Clock tolerance in seconds for token verification, aka leeway.       |\n| clientSecret        | `env.CLIENT_SECRET`                | Client secret, required for tokens signed with symmetric algorithms. |\n\n## Contributing\n\nWe appreciate feedback and contribution to this repo! Before you get started, please see the following:\n\n- [Auth0's general contribution guidelines](https://github.com/auth0/.github/blob/master/CONTRIBUTING.md)\n- [Auth0's code of conduct guidelines](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)\n\nContributions can be made to this library through PRs to fix issues, improve documentation or add features. Please fork this repo, create a well-named branch, and submit a PR with a complete template filled out.\n\nCode changes in PRs should be accompanied by tests covering the changed or added functionality. Tests can be run for this library with:\n\n```bash\nnpm install\nnpm test\n```\n\nWhen you're ready to push your changes, please run the lint command first:\n\n```bash\nnpm run lint\n```\n\n## Support + Feedback\n\nPlease use the [Issues queue](https://github.com/auth0/express-oauth2-bearer/issues) in this repo for questions and feedback.\n\n## Vulnerability Reporting\n\nPlease do not report security vulnerabilities on the public GitHub issue tracker. The [Responsible Disclosure Program](https://auth0.com/whitehat) details the procedure for disclosing security issues.\n\n## What is Auth0?\n\nAuth0 helps you to easily:\n\n- implement authentication with multiple identity providers, including social (e.g., Google, Facebook, Microsoft, LinkedIn, GitHub, Twitter, etc), or enterprise (e.g., Windows Azure AD, Google Apps, Active Directory, ADFS, SAML, etc.)\n- log in users with username/password databases, passwordless, or multi-factor authentication\n- link multiple user accounts together\n- generate signed JSON Web Tokens to authorize your API calls and flow the user identity securely\n- access demographics and analytics detailing how, when, and where users are logging in\n- enrich user profiles from other data sources using customizable JavaScript rules\n\n[Why Auth0?](https://auth0.com/why-auth0)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.\n\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fexpress-oauth2-bearer.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fexpress-oauth2-bearer?ref=badge_large)","readmeFilename":"README.md"}