{"_id":"passport-apple","_rev":"7-6b7eac1a6c5e4f093e28c0f1e523c0df","name":"passport-apple","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.1":{"name":"passport-apple","version":"0.0.1","description":"Passport strategy for Sign in with Apple","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"passport-oauth2":"^1.5.0"},"gitHead":"5dd238587e8b9a5f36c78007710aa12768be5a32","_id":"passport-apple@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-qKlXjaKL0T8JvACXx6MJWJQg0hg+Nxf7Ym/G0Xh9Xg4aZByG/xoPJ1lA41QILUbysqZ1dSPqUlG/G2NgpwsVrg==","shasum":"567c266fd57988b6a0643d9e7cf4e10e1ad9e05c","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-0.0.1.tgz","fileCount":3,"unpackedSize":1723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc//ajCRA9TVsSAnZWagAAHKMP/A7rSp21324RaRuJ0nzg\n+P2SbTlEE+SAeTPmptbnyzWm/v0GnrxGmHvh41wKWi8Km0i/9ARW8aFeNhjb\nk66X3aQAtbjIOV25H2qVrRtLjJpXphQ+51cfGBUlfs3t1f5e4+k8oHJySBWI\ndxJqBsDFMsWLAHHVf6HNdJbmhv1ttuJ1xJ4CkS8AP8L+tWGcKI4fifmwiMff\n5npl2y/fTLNiMYYgoAPaQedeOzxhBmCMBtofi9JMTRORpF7Ct5iSiKIcEsbU\nj/bkqC/NhFARVK3ngFPzXn/w1R0AYl9gXosEgKBg6BLce28e14dbZqWy0ovc\n7Ad4MmQuuwJhH9vfJSq9B31VA2XrMDwQ4ysdnBXpV4DceYOgv5EE/LQFkLa6\nmqxlWnwmtlrurk+Gr0l5kBxONmBTfpyxT82AkFw4QIH87+vJUlfWlMMZ7cr1\n+dabP1pU5PsmRigk9PwXbTyf1mH4110UkPtzBmm9lEa70Vtd7An6ku10vcov\ntRgLtL6qOMZSzQ+a2SClha1Zb3FpRqgQ/+6wdRIk81bNbh3SdSNDtx178D3w\nmBcAHHK3XO8tfCjmXKY/FLRuxF1TCnqJuDomzUZrWjnteTbMEUGFYoC+9jmx\nkhCcWLlcsB8Z0n3xTcAuw5sCQ9SHlfrewiT86o4CVQvckZsYp8i+E+TdbPjc\n8fFz\r\n=ut4V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLrgQKuYFxa7Rrugu8Gf7CphftyNq0cs/t+CNM+pqoegIhANskSIKT5SFxQs2aRbGtmHaGR0y0vUd65wSx+6D56GPO"}]},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_0.0.1_1560278691055_0.3607107200074564"},"_hasShrinkwrap":false},"1.0.0":{"name":"passport-apple","version":"1.0.0","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"passport-oauth2":"^1.5.0","jsonwebtoken":"^8.5.1"},"gitHead":"5a3bb2fb7ca1008d81bb1fd3c850070958cd1a8b","_id":"passport-apple@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-xHWS+K78aAbRX9u748zxVB8A9fkbxGaw/6uDhWBdcYS1O9SuqWSnpOqxY04JJx7WImoxbT6xX3U5pzcSn9My8g==","shasum":"81d2a9c9eac092b60dad02ddb8fe1c28bf73e34d","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-1.0.0.tgz","fileCount":4,"unpackedSize":8983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAvZCCRA9TVsSAnZWagAArs8P/0S5e5gvH1HUZxuJdjDI\nMxdQQo5U3PRvce3B6Oz4u3uNdqjEqNESCShf/bFWjvlBU2N1a2oABwZI/TUa\noHXA1z9xWLW3TerIJ7FXp3D7hayd7ZNWYRkSgV0J7e3p6NNcSJqXP42OmcF5\nEWDPwsTI+Bqvcli/op2XVo8f1Z7tyhJqhyCORElABmBl521C0hXZbOzZVJ79\nuN7csKvKCUYXbuJgjK4hn2Y8QcAYYVVDwucozoZBT9sI1Eea29EvauO37SqY\nnZUiBnLPRNCSIK98bG7R9ntbhpJOc3FCzYgMH0FP0nb93bR5SmiX57Skj/o3\nZhzHMi9jzQkGZz7pzMPY0R7eQjPpZnTW8rBFV19Ix/am8p3t44deM6mPxFY8\n/5xS1x0pkhtt4S2Dw1jKwMbEDGaeQ3+zJ8mm95kRbXBcBca2N19Lui8Ox4r6\nVqJ1HleNZN19aYUywVBK6g0KLNXanmXmWDVQwcklyLZY+CODtVT0dghcLMyp\nOkALWpUMkLwJPkw42ARxVZ2FWLu2+fVdPgEI3qAHJIEnZgXiU2QU6r/P3i4J\n2EeSAeDRAULGSphtB2PWogClvQZ2t9lcBVN5Ql2uMyiFZ1YhZRbo8tty5dvw\nWW3IhoUNhsE0CNJ8guf7k0SoDXXWSOxR5QsSaDAZ7LYsxnJgNq9b5B1+ryKC\npNTm\r\n=DUZS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuBvrcZLD7Lfh5iBYzMDuwO0/q6DcOTITSNGfbd32zugIgZKK+cmQi/W72o7X/aXnz6eJOJX6/0yv9Pr8TnRaiRrk="}]},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_1.0.0_1560475202392_0.48494247767720733"},"_hasShrinkwrap":false},"1.1.0":{"name":"passport-apple","version":"1.1.0","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"jsonwebtoken":"^8.5.1","passport-oauth2":"^1.5.0"},"gitHead":"15fe0d7a8e270d03e88f3cb22308c698539f9064","_id":"passport-apple@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-zJG7mPaIq/1YTPasdaz35i4kxFYYWxDcVQQBc/JBnSkJtq4crKpPQs4u+wvms6ppI0bPL2Jr7dZHV1apKMS4sA==","shasum":"0ac86b4f00aff06c8f9d0269c8f7a65fcea05740","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-1.1.0.tgz","fileCount":4,"unpackedSize":12718,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeznc4CRA9TVsSAnZWagAA8zoP/iBpqaVmDUIBlmHUMQnF\nulhA4bK0FKIrLPpuswzhoMLvwUVlyd2B0T+fpMyItBPwl8BsRS1T9yZg70sW\nqDGOrsplHt8XmRbNKwWwuSAGiHeaYhW+3yXFXy4U9OQmpdDBOmxv7+Em8nPG\nFEAgTRUZA2rrh4ZfuUWRu3Fw0m1f+B6lPxzO4WDMqElxq5P6RQ1mr2qMrCyI\n9XCQXTalbIXUEYbufeNdp4MxNMeyX7G8fwdj0wz/ZBlKQIT9hJ37swSfH8t8\nVsGuL1gVug0Yh1E046QHOFj9ZpERwsu378INMIs+RGHnZNxpc+QmlmGhpUfI\noQ/ZZGvubYI0HfwvEAT9ZnI9TyL3oNpYNKUXrXh4lJAZBrsuc4edoz2YTg5H\n4BX7KU3ha9mHmreYpAUfWzWaSK0etEA08QGnLGxaTOhu9ZNmMYi1UwuhR6Gc\nff9BMkV/ViDPHjB+DWNyzMOlJILG2G8I23mhC3tk3FGA+5kTNeO6NgB2X/8f\nvdcvwHDvBWmeuekWI08B7qIGYG/NsQD/kdm3oxpGE/SX4WMGtfsQy9agPfz6\nMXJDkWbSkgLIbvAseLose8wcMGxgN/7DdEIgcZyHyiX1IXHh/syHTDgrQmI0\nxMOZapIaMRbKwCRSjMLMJtFJWpOH+LRkcCKaC4sYJQPVvpkl++jklGJbAZ5F\ngSIt\r\n=nFg8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEuXnz4UkG8W0dy9UlZxTVM2DM4lRhgDHB28BVUYnKVAIgDu0twLLMQbzN6RLA98wsVIoUFAMBzPfjsGu/08BmhlM="}]},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_1.1.0_1590589240023_0.504040076655085"},"_hasShrinkwrap":false},"1.1.1":{"name":"passport-apple","version":"1.1.1","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"jsonwebtoken":"^8.5.1","passport-oauth2":"^1.5.0"},"gitHead":"20bcd53a58340c1d27d510c5a44dec7db88e40b3","_id":"passport-apple@1.1.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-dHsJFO01JD996gH0AoAx07q7FyRZANhgPwmcYDc919IAJrPKLFcUSDaC+nqpnMwehMnEJSPRSxSR+jF7rd+3Hg==","shasum":"c1010741b3177aa0c27372be149cd5474924e112","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-1.1.1.tgz","fileCount":4,"unpackedSize":13349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4QmfCRA9TVsSAnZWagAA+3AP/iijsfAerEUTQnp3bMD8\n67agJIHOPFTFj9kZHgzW4KWtOlAyJPtaYt00ikoC7SyL9eDL0wLioIrI55Ta\nY4TzySVVjtxQ1NSBeh5gVyd7ncn+J8XZCQX59EUVK1V1uViQmhojvrJv0YMQ\nplVXmdvP9Q2pNACtXtSvMy/ZAtZuITB0WDqaoh1FJsEKhWk3NWSdsBmsDUvm\n8QaPyTC+idiyN2Q29aWkmeGdtBDSvhYpWc16wZONUY4WCM+yIj4t0mKRtqAk\nG+znxdDD+Dkaf6SsHkD/GTFEqCrtlia6hqMAtlIqrg713A378KRNF4ybhuaL\nwsfgb7rAP6CFdXcDz5I4P7tlRVW2pZPcHP3MTzyYbCpMXOwacC7+F8QNI3Jd\nBXCgSIau3dPuGVuB6A3Ke5iBcSAJjLisJ0hdtIOB9+Rk7Uup5K6eCshMQUI8\ntNpLQ2ybtyFu8QxmIW3vd5tH2iZ8r2HrTtuMifNfCeCUtfsUsFByRva0Tf3d\nNCrwESISgj4WvJdjRD0ntllEloSKanD28ulaMsZpwv6l63Xb3DSE7Z/Vgstb\njNPj6iPWuJ3p5SI4ONBqv2KwpWnyq3V3uRnz6ok3aOxaZnxmlCRdStjPm3Wm\nu5DBvARPZbLb7vJzS7JoOAllWY2r/taop1rcJqygkEXNskt0IRSip4mxihk1\nA5Ql\r\n=UpKa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIFL7v9lZX8d6lE0sFxevkLnjM71lp2OyR5WTqWmWz2AiEApmZavblKLT2w6Wz91B8DuL4V7lgxaBEPzHvIqlcPy44="}]},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_1.1.1_1591806366877_0.7526237864363845"},"_hasShrinkwrap":false},"2.0.0":{"name":"passport-apple","version":"2.0.0","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"jsonwebtoken":"^8.5.1","passport-oauth2":"^1.5.0"},"gitHead":"c3107b55382965c9ee5c0eeecf4769d87a4d890e","_id":"passport-apple@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-JR0Nx6OOPxbk3Lr1zs3QNRDzc7ZgPhj+euDJm85tn/BNKgcxcyHEcbHZlwzn75hAbwUAo3V0Kj7BfhFRFKrXRQ==","shasum":"3ae02e8fd9aab7ddd224a55791b888646cfe952f","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-2.0.0.tgz","fileCount":4,"unpackedSize":14182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZ3r2CRA9TVsSAnZWagAAoWsP/jjGIe3YoIkzaZCVZN1X\nyQ8FKUuMar/U+bsc5z9F8MDIb/VNUik3jolIw+iV/x1cFUzuvV+qHIuOVoIu\nad/r5NRV+pyaIEIIELGqfujgN74Xy5Yi7vgf+x/QckIQMxr/QkLrV8eEkMf+\nGB9ItmHGME9EY5IozFMSaamuhnXKFKKHoSgB6QLj3fneoadsUlRV18ud2IiV\n4e6b4bvRKbiQb7fbE9/A7pDZTuaSBxgsMPMurtBspnugTKcuEGo9BtFf4SxO\nbs1l8bC5um4160pOKWMEf3Rm9WuNosU4Xoz5mlhvxbrwVjm9e/TWQJevMjhJ\n+rNXk54peZ255PnmCsJJjxmABC4QgH5i3MOW6VQHcXjj+htvN9HkWIhEIHuu\nLCqS8AZeU+6P/kSxGUH3QZpFygFZ1D7OfVSMQHxP/s8+T+eNtOkgCmq/0iPO\nFSY2fEd/6antTphKt/B8aiTuBdc4UoE0vw7/ydyFyA2FsvXqA/IEgVQpK6gp\n2I4IOuGJbSDELXlDRDWbTx9qUHdvhymGtxjRAI7nO87NnjPNCE87K2z/1L5w\nSCVDlGd+Z/eoB8IJ47vg5pFdIKb3DCm0VmGl+KrmFveLmeOerNzzNuydLkn9\nIjgFBp5FjETtG/tL8il/rTv4Ra44m81mLVo89X7vvEA9P//Xfyo7/Xwpfi6C\noz1/\r\n=8EeT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPVSP8k9uQ3j2PZasRoYIgHOgfaAme3bx8ORQRN+nhnwIhAOqrxF8264GecRVogabUH6pw6OmfZkA89uiSOODRuhiF"}]},"directories":{},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_2.0.0_1617394422258_0.5669057424948674"},"_hasShrinkwrap":false},"2.0.1":{"name":"passport-apple","version":"2.0.1","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"jsonwebtoken":"^8.5.1","passport-oauth2":"^1.5.0"},"gitHead":"810655c34ebaefd197fc4ca75820d60be2d5fa3e","_id":"passport-apple@2.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"dist":{"integrity":"sha512-+ssWcwgg/PWyHNSgNn4d1dbsgQeEb13Xgu7TRb+FlHggbCTDvCb2jzm+M+hQ0vmU9y2QOmiRPqD27b3TCRc6PQ==","shasum":"599f20634baf9cd6715bcbdd55522c2c3ec762aa","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-2.0.1.tgz","fileCount":4,"unpackedSize":14254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiLaoCRA9TVsSAnZWagAAKmgP+wR9oSCe2zTbzI7Wb02v\nWfekhAI6MTiwXL5WLOp79nhbpxk1frbj5+pif+/g/wRhJBfYbd7wimxU5edA\nsgkgsUtLOWPpk1ifGfxMbAdnw6aX1Hipz4w627prLuV4CxCCtnMXYcBAFgFv\nqwaoz07W6sNMSO+q1wIT9HtSEcBQTFFxi+qMF13SEJeUi4qjQClBJI0ePutD\nmEe40WuZqb7+EP3nfS+nSMrPyXhsxY/us79uxIp7tFpBgdXHKO8Vgw6ZRKcb\ns4cZH1mdXWwh0GK51A020HWRGwgf3bWaLAePL/iDJPD2kBuR6W4jT8KdvRbZ\nTJmk1vN7sfTTSlS+gUd0/0IxJ446/t+eMIMwnPay9kHirGNfwj7/UwPjJZ8Y\n1P5OYbCKIbi9MS8skLvO4tjglUc8P+03D6WBqWyRsW0g/FH0G1QC9ETzPcXV\n0ar/LqlT455SZNRQIzg6aalI5PzNy3xAHzoNtybK+n1Nw3Ft8DDXuxh9Cnw2\nAw/+qOxSeZ1GM5v8WiZzdP6E+b0V0GiA24j57MnjuZpAFGyO5k3fYEi1KqcT\n0CFNeonsCOk6gu9U9Pg3FoiULoL4f4Y0/54X0bUX14/AGefi/GmuqYRbzFUh\nqC+AWHf7BOiHmLgUB+IpZaFjhFZrXtvyouJ1u25FuYwx7fqTRYgFrTp/DC1k\n6c37\r\n=p/c8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/WSzjPBawX2QRzyw7h2HAwdILMCsUgnfqCK7lHhwGXgIgAikP/Ag3DpCOPcSpm+M2e/Ik5Fu1U3lgE3EUxu/jOQg="}]},"directories":{},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_2.0.1_1619572392366_0.962613847265535"},"_hasShrinkwrap":false},"2.0.2":{"name":"passport-apple","version":"2.0.2","description":"Passport strategy for Sign in with Apple","main":"src/strategy.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"license":"MIT","bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"homepage":"https://github.com/ananay/passport-apple#readme","dependencies":{"jsonwebtoken":"^9.0.0","passport-oauth2":"^1.6.1"},"gitHead":"c542303c6c5a0ed72e620bb8611d05df7f28e083","_id":"passport-apple@2.0.2","_nodeVersion":"16.14.2","_npmVersion":"9.2.0","dist":{"integrity":"sha512-JRXomYvirWeIq11pa/SwhXXxekFWoukMcQu45BDl3Kw5WobtWF0iw99vpkBwPEpdaou0DDSq4udxR34T6eZkdw==","shasum":"a9238d09da120a0ee43c2745232d43a81e6b6469","tarball":"https://registry.npmjs.org/passport-apple/-/passport-apple-2.0.2.tgz","fileCount":4,"unpackedSize":14368,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8ZwHGKtId19tcpJTL8H3Ur5meVM3Td76kZ5tNomn4kgIgehW+VnTTtHDoYs5RMYUg8cUKCJIzyVYLO8xkzJ8ux6w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0fbfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqysg/8C3viPYxq1EzpV0aIQuEtg0SCi8SYBFhng4FzG1+XCZVHLYPA\r\nT3/eHYzZ2nG7+/69LP3Si4J4Y7pf0tbiVoaxZ4hq0m8l5RKY3rNdVYogY7Qk\r\nnpKN+2iDB936dBt76UVsNR5V86x29tDqd5XH5GHCYe0HVrg8V4ryZZQ8aQuG\r\nNYy1YgHign1hjV31W9Hm6shCrhyrgXNvlyesrh6mNkPLrAgmVrJYRokbDsfE\r\n0FIm8GSEbV11NYUrU6bomPUvBg+i9JMeQ9K5ArwzWj9v1PUdU3DnBEc2WeCh\r\nFySswqYPapU82XjMQCEamESODqIjEXqZMZaKLUrLyhar7PTOrlnVpRX4DSKX\r\noDNZzfjjAmdNSYiAmyPZsKR8cGuITNWUG5965JzVo2o6niEDoufJWf28pYQB\r\n/WKXD1BOejcwZtoGcjuXFtawEgrLLAF7R7MNKnr6XFQljXJ+yGiEj//DwE6g\r\nXgt6kLLGeXXDjqsd+j4vuooHBwsO5QgWcY9dnGnYDsQ0+FYhRQ04ToNamyYC\r\nEduqhzWOPGqibMNIf6bcb7G6Qd/65HYPLv4VFK+RfZS4IumYfJ2wdAm89Sq4\r\nNcpwBk+jTtB8SeYNu+d7h44XVCj8EaEpWEIgIqSAV85qSxP9D/6GqV7p/ktd\r\nmY/POueoiZOpWDHRPlLHkh00K1nCKnsN0K0=\r\n=56cY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ananay","email":"i@ananayarora.com"},"directories":{},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/passport-apple_2.0.2_1674704607782_0.06802839260290039"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-11T18:44:51.054Z","0.0.1":"2019-06-11T18:44:51.151Z","modified":"2023-01-26T03:43:28.014Z","1.0.0":"2019-06-14T01:20:02.563Z","1.1.0":"2020-05-27T14:20:40.135Z","1.1.1":"2020-06-10T16:26:07.010Z","2.0.0":"2021-04-02T20:13:42.388Z","2.0.1":"2021-04-28T01:13:12.564Z","2.0.2":"2023-01-26T03:43:27.939Z"},"maintainers":[{"name":"ananay","email":"i@ananayarora.com"}],"description":"Passport strategy for Sign in with Apple","homepage":"https://github.com/ananay/passport-apple#readme","keywords":["apple","auth","sign","in","with","passportjs","passport","node","nodejs","strategy","authentication","identity"],"repository":{"type":"git","url":"git+https://github.com/ananay/passport-apple.git"},"author":{"name":"Ananay Arora","email":"i@ananayarora.com","url":"https://ananayarora.com"},"bugs":{"url":"https://github.com/ananay/passport-apple/issues"},"license":"MIT","readme":"#  Sign in with Apple for Passport.js\n\n<a href=\"https://twitter.com/intent/follow?screen_name=ananayarora\"><img src=\"https://img.shields.io/twitter/follow/ananayarora.svg?label=Follow%20@ananayarora\" alt=\"Follow @ananayarora\"></img></a>\n<a href=\"https://npmjs.com/package/passport-apple\">\n  <img src=\"https://img.shields.io/npm/dt/passport-apple.svg\"></img>\n  <img src=\"https://img.shields.io/npm/v/passport-apple.svg\"></img>\n</a>\n</p>\n\nPassport strategy for the new Sign in with Apple feature, now with fetching profile information ✅!\n\n⚠️ Important note: Apple will only provide you with the name ONCE which is when the user taps \"Sign in with Apple\" on your app the first time. Keep in mind that you have to store this in your database at this time! For every login after that, Apple will provide you with a unique ID and the email that you can use to lookup the username in your database.\n\n## Example\n\n**Live on https://passport-apple.ananay.dev**\n\n**Example repo: https://github.com/ananay/passport-apple-example**\n\n## Installation\nInstall the package via npm / yarn:\n``` npm install --save passport-apple ```\n\nYou will also need to install & configure `body-parser` if using Express:\n``` npm install --save body-parser ```\n\n```js\nconst bodyParser = require(\"body-parser\");\napp.use(bodyParser.urlencoded({ extended: true }));\n```\n\nNext, you need to configure your Apple Developer Account with Sign in with Apple.\n\nSteps for that are given here:\nhttps://github.com/ananay/apple-auth/blob/master/SETUP.md\n\n## Usage\n\nInitialize the strategy as follows:\n\n```js\nconst AppleStrategy = require('passport-apple');\npassport.use(new AppleStrategy({\n    clientID: \"\",\n    teamID: \"\",\n    callbackURL: \"\",\n    keyID: \"\",\n    privateKeyLocation: \"\",\n    passReqToCallback: true\n}, function(req, accessToken, refreshToken, idToken, profile, cb) {\n    // The idToken returned is encoded. You can use the jsonwebtoken library via jwt.decode(idToken)\n    // to access the properties of the decoded idToken properties which contains the user's\n    // identity information.\n    // Here, check if the idToken.sub exists in your database!\n    // idToken should contains email too if user authorized it but will not contain the name\n    // `profile` parameter is REQUIRED for the sake of passport implementation\n    // it should be profile in the future but apple hasn't implemented passing data\n    // in access token yet https://developer.apple.com/documentation/sign_in_with_apple/tokenresponse\n    cb(null, idToken);\n}));\n```\nAdd the login route:\n```js\napp.get(\"/login\", passport.authenticate('apple'));\n```\n\nFinally, add the callback route and handle the response:\n```js\napp.post(\"/auth\", function(req, res, next) {\n\tpassport.authenticate('apple', function(err, user, info) {\n\t\tif (err) {\n\t\t\tif (err == \"AuthorizationError\") {\n\t\t\t\tres.send(\"Oops! Looks like you didn't allow the app to proceed. Please sign in again! <br /> \\\n\t\t\t\t<a href=\\\"/login\\\">Sign in with Apple</a>\");\n\t\t\t} else if (err == \"TokenError\") {\n\t\t\t\tres.send(\"Oops! Couldn't get a valid token from Apple's servers! <br /> \\\n\t\t\t\t<a href=\\\"/login\\\">Sign in with Apple</a>\");\n\t\t\t} else {\n\t\t\t\tres.send(err);\n\t\t\t}\n\t\t} else {\n\t\t\tif (req.body.user) {\n\t\t\t\t// Get the profile info (name and email) if the person is registering\n\t\t\t\tres.json({\n\t\t\t\t\tuser: req.body.user,\n\t\t\t\t\tidToken: user\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tres.json(user);\n\t\t\t}\t\t\t\n\t\t}\n\t})(req, res, next);\n});\n```\n\n## Other Sign in with Apple repos\n\nCheck out my other sign in with Apple Repos here.\n\n```apple-auth```:\n\n<a href=\"https://github.com/ananay/apple-auth\">https://github.com/ananay/apple-auth</a><br />\n<a href=\"https://npmjs.com/package/apple-auth\">https://npmjs.com/package/apple-auth</a>\n\n\n## FAQ\n\n#### What's the difference between `apple-auth` and `passport-apple`?\n`apple-auth` is a standalone library for Sign in with Apple. It does not require you to use Passport.js where as passport-apple is used with Passport.js.\n\n#### ⚠️ Legal Disclaimer\nThis repository is NOT developed, endorsed by Apple Inc. or even related at all to Apple Inc. This library was implemented solely by the community's hardwork, and based on information that is public on Apple Developer's website. The library merely acts as a helper tool for anyone trying to implement Apple's Sign in with Apple.\n\n#### How is this module different from [nicokaiser/passport-apple](https://github.com/nicokaiser/passport-apple)?\n`@nicokaiser/passport-apple` is a fork of `passport-apple` that was made when `passport-apple` couldn't support fetching profile information. `passport-apple` now **supports** fetching profile information as well by using a simpler workaround (shoutout to [@MotazAbuElnasr](https://github.com/MotazAbuElnasr) for this!) instead of rewriting all of `passport-oauth2`.\n\n## Questions / Contributing\n\nFeel free to open issues and pull requests. If you would like to be one of the core creators of this library, please reach out to me at i@ananayarora.com or message me on twitter @ananayarora!\n\n<h4> Created with ❤️ by <a href=\"https://ananayarora.com\">Ananay Arora</a></h4>\n","readmeFilename":"README.md"}