{"_id":"cognito-passport-oauth2","_rev":"12-30b8fbdb49acce8589553a8ac8b17735","name":"cognito-passport-oauth2","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"cognito-passport-oauth2","version":"1.0.0","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.0.0","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"504a38f445a6f3a100efd57c5e223ec1998a6f34","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.0.0.tgz","fileCount":5,"integrity":"sha512-vF99flduyCjJRmcF1gXf21cNfBeC8AaP9jLFEr/228chR87ilSlWSGa4peeO2eR76WisHZfC8vQHvjlm/T7ENA==","signatures":[{"sig":"MEUCIAH5NF75S5rxTLjbQp7s7kGmtKDdPwv0O9IltMIiM2GsAiEA51CHo6nGLcYltcfVhe34Qc4RKmiw4rBKMOsbFkHSJyY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYn3qCRA9TVsSAnZWagAAUD4P/2/yyDq2oAT7BlcTTc6r\n93a4coo/er2At2jnNFq9v2+9S0na41lv9wQeX2Jl9GgXmt+abmfNj+06hXLj\nmPsYWrr7+Njc34pGwrky9/2Kd7ElvQzlg2DToaN+B6v0guA+X2+BE/S7H9sl\n+jJQSgzS2aBJ2Y0xH6g9NI1M3rRN9EJDEZgtMJli63A/JQ/rKPmfIgnwG1TL\n0xhB9BA6K16O6SKzqH427QJrLeKZqLj+vRkd1jcTy38s8VblBcxbziuLNAJD\nN89YCr4Y1zDyaqFVmnsvj/sB0KlXroYU665/zbrIXTVgeKnATmsAl4xdqeb7\n+sVcUhOTIvO88aSmPlxCt9D0FJfwXEe60XLI+CxAoFh1lNdeI7DdoJ/ZoZFn\nYMyBt2ELfCkPxZNUoSd6QalKkC9JqnGK/Afvj0rH0MhgjnOxLJHZji9npm4Y\nqpdR/s+l9hr9X7ljhTmd3vyN2t3TPHKb4STmidV36606CacfOBjzEM3m/EK/\nDhI/E90b2R1WUhIVi+09hJtcivwagxYuHorODek4/zJZmbgaUs61ZOUGYxFb\nuuoPuyvWsTRAFcL0HsRPfwkM/ZggfyxPIfPwcvxfkIxQqPaw+Alma2vlTHjk\nQ05lIkd4ldi/cIEzfizd8yC3szQSE8FI8IpPiFDqP8tpx7CqmjzWKbU+zOPI\nhj/N\r\n=K316\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3017ce51e3176ca29e43acd16531dcacfb6d4887","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.0.0_1583513066078_0.5309985186263992","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"cognito-passport-oauth2","version":"1.0.1","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.0.1","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"b0eb868b747e25e88da93c465bfd136c4a48520b","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.0.1.tgz","fileCount":5,"integrity":"sha512-/AdzxQTzxXcn/Gb+yb8lc7XoXJO3vCA9CurcZY9tWQigMY5JXMmTZyQED1W9QarZgDIcb6LLZcJXBwYUG7CEjw==","signatures":[{"sig":"MEUCIQDiS35Qq8iiCyhycUtiVDBRviQhhnGYtPv5D9iBWJ1l9QIgIMkAVe6cf2KeFbXErGGKES+nje0cSTaWZOGEjt5Iadg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZg3DCRA9TVsSAnZWagAA68gP+wcB9U90LQL/HFcBFpyJ\nZYqlmOS5059IxPPSDWlqHbI+Vu1Ugth3nPkFGtKWbB2660QKWm4j9mjnymad\nxQejClEgpeSEH3CyV0xSe1YLqQBfum50EVE/GwaCtT9GSLh+qTTCXpzHqBpz\n9gN12Nb2EYeuF6bB+U/Qu9Ev7BsmbyNNm0uI5pH9iyFDUMsX2ulAy0du6ciB\nnd0XoiqGWbq+OGayTVQsRUjzxq84W+Ue1H091OhtUalZMxofXAgHEyNLaeZG\nY1BM3VacVG1RAoN3e9w4t95NoQhcqiiQiJWMnJ9CSTdOgIcqLUaZIwTFilaz\ncNjV1v9+hR4bzXpYEoZuZkguw8rIuMHvsWlgV1D9FdXpzpY4FaPKhY9cfN3N\nHmI3tDf1wBCijh5SaDSzNnCIjy7BQqX3ilykctErdhlSzXeUu4uwbaJf9rD5\nbFALOxFZiBQCKdk6w3Gj5UdRyVEy57srGiCfEMK1DMFdiqisugMgn5EYw0+4\nRTnSsqsi3wwctE7P4OFBdCPVjLwOSLVq7vWwGI43A8Gb25zqwoNrgioivQqB\n7C7NpiKEPKS1BZdq0ftOTZqox/LANS8Llff0ZWLa1zafss5+VRwMdr2RPf5y\nD62/+KvJvUjbKC1T0HyXh0TFc8RJYehl4Ln/uYfGwta4vYbaZpvjZYmQ9DyK\nPkLk\r\n=U0ZM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3017ce51e3176ca29e43acd16531dcacfb6d4887","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.0.1_1583746498713_0.5620241085969757","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"cognito-passport-oauth2","version":"1.0.2","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.0.2","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"609103582d3cb3f96a574829e0efa87257a3b290","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.0.2.tgz","fileCount":5,"integrity":"sha512-FFMSLdC8HnF1VUZTHzBadCPCxB3Cg1F/19b94XHb3PBKDHrwJwS0riERWSReweyitdlgAUUUPvBkS3S0RKzSAQ==","signatures":[{"sig":"MEQCIC5M/GvsxOK1zWp9rmJe2Nt06P28F2Gn95c04LzrCbv5AiAz0hwe1HHKdNpuo6/1EtgTj1IWxnmDL7zj+fkX9QD+8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZiNuCRA9TVsSAnZWagAA4M8P/3yP9NDMWshvDQUFJoEc\n8+6svCb5o/R+gqsanCCKDqkLO3I6XZqjw1Dea0NszybrR+k32AKSs8SJ58eA\neRI10yDicdPO9a5uAi/8XYhbutjsJxnw64y49uVAVTJ8Bq0vcG3ZI0b2zt1h\nNAYGUXHF2IpVyWYCT3ii8pfYAiaY0sAAWCjmN/xXRrc3twwYZQXsxiaDCA3c\nfcGrtmdK3h5OtwsgWiprBrsW/3JstnUg0MGAdvgd5EYPc4c+x56eya04YNwl\n8JB3kv/y37eiJWdCskvB/aQ7+LbfAhXh8yilt6U/ODLoo+GqXRWdHThJ1JmG\nM07NTftK1luGeSjECes0/sO3pc+ZxDsWBiDjy4wJquhcrjj830NEFcKv+Bpq\nkQT1pgqsuWvyRpW6ipFLWE+ZmiTh4ie2DPXh4PrCwpt1ZL7To+Ns99GYcVtV\n8ROtXB7Lla0z8zQvnIE3oVBV+Z+eOkkGXdR3yrc3rUAIFZf4m3tFqwWCXAXa\nSfh/GAP/+HigNeQ+TEUkJmwaHukG0jZra+My8yaqGZRCgqLjNAUOfHNbmOfC\njyfwJu3nye8S7XsDVfs9S+eoOdxRYPaXtvaFh90ZG0RqR5h4bJc4ZtKcHeBZ\nKacNuRfPc0c7wmLaXB/j2Yuo9JhzORWDQYFp4fZHFWILnzdknUkRwe9giz0a\nnseE\r\n=s6rg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b89cbabaead21f488a42768af98b688b52e041a3","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.0.2_1583752046196_0.39757220689655237","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"cognito-passport-oauth2","version":"1.0.3","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.0.3","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"d53d40ad9bbce987b7585b4f72b0a05d68ac40bd","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.0.3.tgz","fileCount":5,"integrity":"sha512-ky7TLcYAQDjFgrlpEgvQ+pXgZ5NKFGRU1p0/ATxrYA2yeMtEHD4IdSLVaunRuAqZTqWIX/pvT9RRZzOJSLD8Rw==","signatures":[{"sig":"MEYCIQC+rEZAKUoeQl9jkldwg197c8PZOVY09XDust2ulCOHMQIhAO6IqRWSuG6fyDzmNrWgnwf0mejNjOs2llA58WsXL6M/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZk7BCRA9TVsSAnZWagAAv58P/AxoxoPCSUlplI7UgYRG\nbXjSvKObCI+xHIDeyF2AWmg5nXkymufkgfnnC6+5BnIvfpNpMaWvgw6tV6Fb\nNUmZ0pswJBR+3qnfSchc20m1fuKxiVf97oS2lktvTiTFdW/z6+OnriWocePs\nBOV5wvCD1YNyleYtevaCPqPXZbjhXASCOMq6W757tdT76dc8Wg5dLew6EDEv\n2jGgZt//a+roW+ZFsSKESF45lQSZaQYu+pOxPphwRZgxQ9L+IcZ7Rw8oif75\n72bdRKBLKDpppLfVv43nX//X3Yuyt0D+Lb1CPD69ZQYR2PUPLX+wXW1V5BQm\nv0zvVJiOxkd8geT1Ar1ZaHrH5yhFJSHi7/LGrK7flsaMJwlF85BIym4+shsX\nrpTHk4RftpGZS6OKgnL7APIuKCA/qjYPSxQClR+LZe+lc/wiS5MkZJHhwAW1\nVIinleW0h+t21VETts8mMVHy14bcNOORt/5/fYsK2hpoxZrFzVyb4Vyqe5bL\nyVP03dxMVh+CcJKjg55bSahnfKjl/QESxSIgvBKImkpJtGe12syc7LMXr8Yg\nGLvA3DO7/cKpjchoGZD+kL6Mt/zvUyt8LTA/x6Hb1rXV7J/rnGH8oHDtGEue\n1uiS3oHc62fVcoXVuSYwHBQ5HjjXlupnGl3a5vRF3QB9vqa/ZVlQgXYkVaQ4\nPv9d\r\n=/HdD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1534d9e45aec77ed4a62d902378a90b8af350655","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.0.3_1583763137050_0.6443282035158773","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"cognito-passport-oauth2","version":"1.1.3","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.1.3","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"5767037c6e2550b587337779735a5a13fca8fe3e","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.1.3.tgz","fileCount":5,"integrity":"sha512-eFh206bGaudKPVM2VSIdzlBxOcT9cBNauLUFIAyRDIUHH7LP9GwO1jEB48DmL845kInLB8gqje2+O4mqIan6+w==","signatures":[{"sig":"MEUCIQDV4duaa9eveyfXHbPW6DGwZliSfWsp6eJXEy0b4VC75wIgPtkrXt1zi1tLPqsBnakzGi485fYx9y/8SxRAhpxSjtI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ4oCCRA9TVsSAnZWagAA3joP/Aiqi9gOiVu85SWKygDs\nXG+GYbwL9LwMtatqVqnALPk76ZXKqcRYC2s6PKN8gzikUFbWLHX8lbUOGIaL\n7SJF0qg6s5Wd0ncJoIxsZ7mTnhoIKv1SpB0UZjrJ/SyoI5nTkjKrJk4/N76S\nSLdvPlhyl4nojZ9YIxTP2O6tvo26UnlRVa2LrLNnyCDFZWpYtFIvlCZKji1H\nbpfoDcice4Hq5dhnIgscZNyZbXIG/AhoJ+rkcKR8jAfSdFsn8B+8rDvuBV/k\njE2Asw8sg+g1RyJdfbuPz1efjS+cGCxn9smVu7M21Y6ZDMxvGNqdUbY0zwcv\nS1+FA46REBHfapYE9hR3txe0FdZOMSv4BvrlNWkuOMEnqV/26JCgy9UZZXtH\nNCVxndv3kOESYfmaDbdSjc4SzWVAIwFMCV+/fJqrPuO0DL4C0Qzhfbg/o1t8\nlr9CvDtTUYM3gmhPTw0e0LH+PpuewXBuURpcrAsP+t/ByNwm4W7AZLsZzaqw\nDAWL2+2V1eDt59Wqx/ITBJEhQxSZA+gp3vdlhDZ3USj6vJ7v2lmaeWl7vwob\nyhjf0Y/VsjKfIWCmsEC43HTiioIchEjiWRbCaNhKDCP7NQdpBnfHOqZ4E9cH\nJhZ6vIMCAgUDb+AmvwS1uW5hpnSzt0ctJ6w86iXVFzDnnGoLmi1uc6sh/t+V\nJy8Z\r\n=Bdto\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c9d877f6cf53a9976e3cb7b9c627f928e98a236c","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.1.3_1583843841715_0.542623870659587","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"cognito-passport-oauth2","version":"1.1.4","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.1.4","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"5ebf5e6c4c3b2c05df4734f3ef9a827d3afbc58b","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.1.4.tgz","fileCount":5,"integrity":"sha512-gb+sR9FMzapHaabXSJ8nvXXEcw+wBhZ7WfLURVn9OSyYoh89QlAtUvin8rFVHmXC1pTxFrJYXuPOTqIVU8MFbw==","signatures":[{"sig":"MEQCIHiLeqrDIcm9ceHR+lirbu8LGd9rOwb4klT2zWrBQQEDAiBkVOZpLtIwrbfwkZgGOm6NsjlDm0kEXXAJipNTSD0/pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ8bYCRA9TVsSAnZWagAAwpoQAKS4KsBwcpBS1VVzeTQg\nSn3Pz94qnwTlV7VvSsc583K0nOS808cn/XLoR2cTSi6W0CNBLivr0am1JVnY\n+SuMIrGI3d4TDuCffNXmIuUBkDWZLPpaKePTpG+9D3xd2pN/PQhXSdSEffRI\nxVXNHR+tLAMhdUeAWZGFZ2KdjGEBxpAbx+SAhrvKNptmZm1Xe7OBpe+oAfgv\nGSEFYMgFJLJS6Lb+eFP7K6YYgcnXMZ0O78lY8M1AWuhhodWjnm3LkDTV4Gea\nJhU+R1evgM3FCo3+bB6TUxirQuektUcD+HObb6Tdr+SrfkNBRRGJHG36UyeB\n7UsSHEIovDCsYc0o196cXI063lPR8yagrRBZhtG91Tt0GVod5apmEnaqZOML\nbohlcOSGFJHdBhg0DcXou+LH+tH4RIerUtF8z6rcyfg2Mc+aFvuBoxfYiDzR\n2VbrkUASs/6rFQg+dWF6DDdh954tNBkdBHkMl00gMRObVU7LRA3h8lZDQKnY\nJoAQF+lAyk8rIVm8GeCinAqX5TlhkWAvwX8qDSylpHfXBMKNEQamrzJnOQi0\nE7EzEdbUuAG8K5P6CHYxkhERWDWvAvJk2L3d5B8jXRFo8sYNXuWikH6rjN41\nyWtJ0Pv7qyV3AiqgtKsuwvRHwh5awnA44GzMegksZ9ZV2h6WKa25XjX5KsVp\nYBY3\r\n=AZOB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"77a942da07c8982d1ebd08af0f6772c9b838e5ad","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.1.4_1583859416350_0.8860544667301353","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"cognito-passport-oauth2","version":"1.1.5","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.1.5","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"a608610ae5a7c63d9dd3d51528f5e73bbada2adb","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.1.5.tgz","fileCount":5,"integrity":"sha512-ZT+k0Ml0o5Z1aHir8SiEit+jgyZfnCb0p3u7RrhandE0MD+oGxAVVVonU0cgOX/fDs+xfCbhBMR7FpTUqGl13w==","signatures":[{"sig":"MEUCIF2WrPVeraL7+2oI8axvqsM0fwZxNnAedWMeU4FGog+LAiEAyFUOsTFAwKYat0f76MYsgfWQh5hbVOl2Ra+U0GyKcqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ80TCRA9TVsSAnZWagAAXxkP+gNx2e1yAJARJNAL1kRQ\nPhqeBc9Jjbdc4F+UAtjWse6gTKL9XVkJR6V8/vItAIwLeumcMqXoV8UjC2Ya\nc9WRPzV3ajSwk+djKwwWM/V2YmQS39lH98Utz7XVI0n9MgGb0SAAXEkHe5ZA\naKlrK3xLEkDgZhOtxZ9OtEC0xyS3YILqPBw8WqYqmnkReDtrQB9ffHkrrjLr\nzaJU7t7gwTLWRVbFPDd/L17uh+ZZOq2lDkW8CBfYCBWya+1MsP2ZOK6fuQ2x\n8uZuyPnL39h7vWEeREbimnOHzLSij9ul7D4Z6g/G7wVTrkKxDgBjUEKMLu6T\nt8GWcPbh2Mqstxa3yPSqWgGLuewvAwjr2PNdZQaOR1GyYgQM3W2lu0p2CIKY\nT7v0QHS+1kQMbJfTWrwTPZ5Zjx7Zu0JgIS/IV87kA1DzzDIHG3Y7vNTAIy1I\nNWMqKMoW14yKDn24Yi3gLDeN6QDRpEfiwuvcCq9dGrptskYyikrRw1D2I6jD\nqBs4L4GL1okzocGwb8+XsnbNqW4/PNfTbPN1Tg/qwa7dPiN5slPbVSfnHiKC\nDPF/zjXhOvqcJA7LL9DJCAwMEch6b51DMVRog+DOfIDXFvh1gcE4BAhszBak\nC5tvjqGgmFUhruEKp37hUKtgAx/dz/RouhxY6BNEDqWb0bP1nUTyNAn7C9Pt\n2P3C\r\n=knUh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8c95747cb3b90f940d915745ebd60517f83cdb11","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile and access token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.1.5_1583861010872_0.8530040961816661","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"cognito-passport-oauth2","version":"1.0.6","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.0.6","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"56e26aab92b2cfbbb0582d0c75a329cdc81bb8c6","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.0.6.tgz","fileCount":5,"integrity":"sha512-vTIZaL1JtkRgl6f3q2Q8lxfwnhQbyNTctkoGx5ShqCTMJUA2yZDt6Mht/j/j26kPPeVCdEeByrbGNwa66UUp7Q==","signatures":[{"sig":"MEQCIFHqtl5jLkw2yYNkdCKVs1H0r2wsDiXk+/C4ksQIwlzqAiB9UtpZ90/uq4UewqTP9fRYJqIj3p+M4/uMrrKsUpIOVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaMpACRA9TVsSAnZWagAAi4gP/RPoYc8O54bnRjpgFquF\nl9upkpGEkHQHjhulBExxb1YFP0+AfvrASmshUJXcFJceiKo7pUZ38zzYEJd2\nH1kbGWYBSaHqHscOlCvO+Z1BLECllNhZYjltIFKsn94hF7LQV5TEnWgpGkVc\n3gCb62Ky+e/a6SLmt2YzXx3ZG2PgLjiBn7KLrnekS/dQVGh3tJMH4fCz85GZ\n9+x4mPOjWq2Q8zGEhHLE1cu95fLD166zEDkWyJXbC1RmqsUp375cyR0OL3Qi\n4znyvysUYwE4ZcP5iFQZVHAjEeNygkhzw6wz0K2VS15iGWX0t/jDWQKF3W7/\nOOfbwzZZlDYlRMT05aZ11eCqQWsXC7zODbeJAT1eUfFP4HCkcjOwWoEa1V7B\niZllMKF88UElblmPUIpKr8MlSNkmidrusGppX2qTvb4O5RTuNX8rXHdweHSE\n+9xx/cC/O8JqLtTexj33EKnEkwtMF+LbAqpDo0LacpI8oyV6RS8tHdBnAVW9\njwwBSE2ls3GTBBM9MkCZlnTHOXaPdp++Eb91d7rtRAG9eShuj4WuZ34pDecT\n2s95Lfb0Gq71vVmPqpg02o5K5aBR2l3eYesC5rM++z0LjAPJrY7A049t5kvz\nGYFwldKQtYCSQ4iRY6EAwMgZbroIT6LFB9gtV4cTPmNNxTMyYNCUQNT8xhiD\nDP9b\r\n=d3jb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"65d2c34f51f9c67f265e9931d68ad3c3d0dd5cc4","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.0.6_1583925823566_0.5243748650334288","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"cognito-passport-oauth2","version":"1.1.6","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.1.6","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"f4cee8bdb185ab03f842979f9b51fb3db23785e4","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.1.6.tgz","fileCount":5,"integrity":"sha512-KGRaAsea2gs0pz8YAPTxZsX0jMc8GYP1+IeczeoPbreOufQqPpEB/6SGHpHLFxBztHkvkTpwhjvktE9CUNr42A==","signatures":[{"sig":"MEUCIQCFv8qtvhWwb5foBq7TcwkXL4gqMUk9BRwse4vtIRzVbQIgaGuq3pgeA1DdO1NPGZUV4UQoMzfy9qBs+Mo7BFwNwXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6729,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeaMxhCRA9TVsSAnZWagAAlEQP/3YJzCoVbZlmUkTodNUk\ne9gxLN0dOYf1kg0vaBHdS6f+4w2vdGXBTQAdqo6exgW8co4pGYL6kwYBDeOF\nrisufrJr7J/+lhTecKEAOZfuLWSweEafL8VdxLXD4H0xwvsPyH4RjAUYIG1W\nY1N42xpPP+fSlaH/bsRXxqJhL0e7kT7PRoMCIxrdwG1TbNW2WmHmQ7obejK1\n+KaZdg14jDWv4tLcF9B1p4vcma92Gp4OnQrNfnH47orxwHhte+X0vmBaHX1/\n6YMdRNdKJ/y3GAnrdR9vssD/w+1ROJ25f+TbWjFoNI+DWPwXP5vjpl+uYmjm\nqykBXcwKhes/pBZj9gAjQ/IcdYjAZa7Q+RnUbIr5NQiVQXbIpOn9xwOIp3Tv\nkfM/EPNNJ7BuYQv4OFYQeQ3fQYFuvEXsnvFh+IIX1XOjjiuBB9JZrKbrcYBV\nEyI+16GeVmXqiieEzcnwnFlasixy9hreJE5v4EsHDDNnhYY/3UBGtjcluelB\nwkNfoEEoX3WC2ysmaxhE3+UYs1ijTa/muwK902aeT8cnmwMzEsqiRbcKTtxS\nqUfswpdwbDIvEwLxZnjdxlufn6tMcxFY/xaWTFJsnZ9MrWqYkkqnDxnkCXUy\nKbn6IoVR2Eh2kjLTrZVGKh/XVE+zKZD38V9YG1uFA8+gYIuuMZHwv9yVKNpI\nc545\r\n=SsCr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ec131672b8c92388e3e10d7027069eec17d545f7","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"6.13.4","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.634.0","passport-oauth2":"^1.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.1.6_1583926368955_0.5603253673629953","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"cognito-passport-oauth2","version":"1.2.0","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.2.0","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"9c3ceeb15349474847d83c270f7ccdc9d632aab4","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.2.0.tgz","fileCount":5,"integrity":"sha512-cRkXnodv2hXZ1e1PcnPQezDoDMOhfJQa4wAQBMeqduOzah3yH2ttZqygDg/BxYPL0gFiQ/twZgZnyGYQmQxxuQ==","signatures":[{"sig":"MEUCIQD6HcmqtZexzbL9vbPQRBus5R/kzdZgwBFiZNGuIOenrgIgbzejxzVoNDCcjSz8UtDqqfN4susMMTh4KOUtPSQLMHM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6852},"main":"index.js","gitHead":"e74f913d432829743dd335d3f159e0cb5482065b","scripts":{},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"11.0.0","description":"A passport strategy to authenticate against an AWS Conginito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"23.6.1","dependencies":{"passport-oauth2":"^1.7.0","@aws-sdk/client-cognito-identity-provider":"^3.481.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.2.0_1737568428738_0.7311536812811374","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"cognito-passport-oauth2","version":"1.3.0","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"author":{"name":"ajayaldo"},"license":"MIT","_id":"cognito-passport-oauth2@1.3.0","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"dist":{"shasum":"d767e773a8037a545cb4b57d1dc702ab122f5a86","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.3.0.tgz","fileCount":8,"integrity":"sha512-DIB8R3AVlg8qGE9zfn1Kkj9qsgrdUATM39mCjED3mK6OgI3ZOE5pD4MTmbQnCEoQF+OEsplI+wcu2OFc7msmsA==","signatures":[{"sig":"MEQCIEMvN27zNH+pGCttbpmFKB9BRSh8nB81/y/ORaxfb3GJAiByD3g6bFX7+LeDagwckj8rDDUBlzzcwOCH9S0rB7sRfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8245},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"04890b11cf4dc6bc65dc582ad7d4787b3b771bd2","scripts":{"build":"tsc"},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"repository":{"url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git","type":"git"},"_npmVersion":"11.0.0","description":"A passport strategy to authenticate against an AWS Cognito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing cognito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","directories":{},"_nodeVersion":"23.6.1","dependencies":{"passport-oauth2":"^1.8.0","@aws-sdk/client-cognito-identity-provider":"^3.481.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.10.9","@types/passport-oauth2":"^1.4.17"},"_npmOperationalInternal":{"tmp":"tmp/cognito-passport-oauth2_1.3.0_1737631056953_0.23716816632287352","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"cognito-passport-oauth2","version":"1.3.1","description":"A passport strategy to authenticate against an AWS Cognito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing cognito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","main":"dist/index.js","scripts":{"build":"tsc"},"keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"repository":{"type":"git","url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git"},"author":{"name":"ajayaldo"},"license":"MIT","dependencies":{"@aws-sdk/client-cognito-identity-provider":"^3.481.0","passport-oauth2":"^1.8.0"},"devDependencies":{"@types/node":"^22.10.9","@types/passport-oauth2":"^1.4.17","typescript":"^5.7.3"},"_id":"cognito-passport-oauth2@1.3.1","gitHead":"04890b11cf4dc6bc65dc582ad7d4787b3b771bd2","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","_nodeVersion":"23.6.1","_npmVersion":"11.0.0","dist":{"integrity":"sha512-poS6ZdfGqjuAvU41bTPXm/xIUKy4ZBGW2KMPVFp6Yb0JbfVnG/rvPoq19ns+87l+5kgCjCBrhNN0LBYj06sxKw==","shasum":"f760ed8ca674fd86d7c12af56873c33438e7e235","tarball":"https://registry.npmjs.org/cognito-passport-oauth2/-/cognito-passport-oauth2-1.3.1.tgz","fileCount":14,"unpackedSize":13731,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQUMXiFsbunTjDlbDdvxZojeNj4ITOAdSL0jHfwH83DgIhAKjOICILCMjjzu30e+bT6z5aUh3tj+S1VZXo0+c5HRY7"}]},"_npmUser":{"name":"ajayaldo","email":"ajayaldo@live.in"},"directories":{},"maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cognito-passport-oauth2_1.3.1_1737631641508_0.5067010438487085"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-06T16:44:26.078Z","modified":"2025-01-23T11:27:21.889Z","1.0.0":"2020-03-06T16:44:26.210Z","1.0.1":"2020-03-09T09:34:58.839Z","1.0.2":"2020-03-09T11:07:26.338Z","1.0.3":"2020-03-09T14:12:17.216Z","1.1.3":"2020-03-10T12:37:21.853Z","1.1.4":"2020-03-10T16:56:56.530Z","1.1.5":"2020-03-10T17:23:31.022Z","1.0.6":"2020-03-11T11:23:43.704Z","1.1.6":"2020-03-11T11:32:49.114Z","1.2.0":"2025-01-22T17:53:48.971Z","1.3.0":"2025-01-23T11:17:37.114Z","1.3.1":"2025-01-23T11:27:21.698Z"},"bugs":{"url":"https://github.com/ajayaldo/passport-cognito-oauth2/issues"},"author":{"name":"ajayaldo"},"license":"MIT","homepage":"https://github.com/ajayaldo/passport-cognito-oauth2#readme","keywords":["passport","cognito","aws","strategy","oauth2","authentication","express","userpool","cognito authentication","authorization"],"repository":{"type":"git","url":"git+https://github.com/ajayaldo/passport-cognito-oauth2.git"},"description":"A passport strategy to authenticate against an AWS Cognito User Pool OAuth 2.0 provider and get user profile, access token and ID token. This supports providing cognito specific additional auth parameters. This is subclass of passport-oauth2 strategy.","maintainers":[{"name":"ajayaldo","email":"ajayaldo@live.in"}],"readme":"# cognito-passport-oauth2\r\n[Passport](https://github.com/jaredhanson/passport) [Cognito OAuth2](https://aws.amazon.com/blogs/mobile/understanding-amazon-cognito-user-pool-oauth-2-0-grants/) [strategy](https://github.com/jaredhanson/passport-strategy) for [AWS Cognito](https://aws.amazon.com/cognito/) [User Pools](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html). This supports providing congnito specific additional auth parameters. This is subclass of passport-oauth2 strategy.\r\n\r\n## Install\r\n\r\n    $ npm i cognito-passport-oauth2\r\n    \r\n#### Create Strategy\r\n\r\nThe strategy takes a `verify` function, auth `options`, and optional `additional auth params`.\r\nFind simple working example [here](https://github.com/ajayaldo/cognito-oauth2-passport-example).\r\n    \r\n    const passport = require('passport'),\r\n    CognitoOAuth2Strategy = require('cognito-passport-oauth2');\r\n\r\n    passport.serializeUser(function (user, done) {\r\n        done(null, user);\r\n    });\r\n\r\n    passport.deserializeUser(async function (user, done) {\r\n        done(null, user);\r\n    });\r\n    \r\n    const options = {\r\n        callbackURL: 'http://localhost:4001/auth/callbacks', //Your callback url\r\n        clientDomain: 'https://yourdomain.auth.eu-west-1.amazoncognito.com', //Your cognito user pool domain\r\n        clientID: 'your cognito app client id',\r\n        clientSecret: 'your cognito app client secret',\r\n        region: 'eu-west-1', //your region\r\n        passReqToCallback: true\r\n    };\r\n\r\n    //Indicates the provider that the end user should authenticate with. \r\n    //You can as well provide other custom auth params \r\n    const customOptions = { identity_provider: 'your idp name' };\r\n     \r\n     async function verify(req, accessToken, refreshToken, { id_token }, profile, done) //if you need id_token, use this signature\r\n     or   \r\n     async function verify(req, accessToken, refreshToken, profile, done) {\r\n        //Your additional user logic\r\n\r\n        let sessionData = {\r\n            username: profile.username\r\n            //additional props\r\n        }\r\n\r\n        return done(null, sessionData);\r\n    };\r\n    \r\n    passport.use('cognito', new CognitoOAuth2Strategy(options, verify, customOptions));\r\n    or \r\n    passport.use('cognito', new CognitoOAuth2Strategy(options, verify)); //go to default cognito login page and let user choose the idp\r\n\r\n\r\n#### Configure Route to Invoke Auth Requests\r\n\r\nUse `passport.authenticate()`, specifying the `'cognito'` strategy\r\n\r\n    app.get('/auth/login', passport.authenticate('cognito'));\r\n    or\r\n    app.get('/auth/login', passport.authenticate('cognito', additionalAuthParameters)); //Overwrite customOptions (see above) or provide additional auth params\r\n\r\n    app.get('/auth/callback', passport.authenticate('cognito', { failureRedirect: '/error', failureFlash: true, successRedirect: '/index' }));\r\n\r\n## Additional Details\r\n\r\nRefer [here](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html) for more information about configuring cognito app client","readmeFilename":"README.md"}