{"_id":"remix-auth-google","_rev":"6-ad502abb4cf414ac75b88640c8877a56","name":"remix-auth-google","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"remix-auth-google","version":"1.0.0","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy"],"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"1.1.1"},"devDependencies":{"@remix-run/node":"1.1.1","@remix-run/react":"1.1.1","@remix-run/server-runtime":"1.1.1","@types/jest":"27.0.3","@typescript-eslint/eslint-plugin":"5.8.0","@typescript-eslint/parser":"5.8.0","babel-jest":"27.4.5","eslint":"8.5.0","eslint-config-galex":"3.4.1","husky":">=6","lint-staged":">=10","prettier":"2.5.1","react":"17.0.2","ts-node":"10.4.0","typescript":"4.5.4"},"dependencies":{"remix-auth":"3.0.0","remix-auth-oauth2":"1.0.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"gitHead":"4e0bac1453283c0ade81a03bafd27a98c4ca633d","description":"<!-- Description -->","_id":"remix-auth-google@1.0.0","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-d4SMIWRXHUNlsPBo1WCVWA9aMX1+8TTCnKkss0kh820nSaVaTeYfk5MxFq1Z2OV32PWmyX6VN3Y4W4wdVZRwNg==","shasum":"135e3ec14d60dc5769f7c2ff8733de0b5829e4a2","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-1.0.0.tgz","fileCount":5,"unpackedSize":8330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwrRlCRA9TVsSAnZWagAAZpAP/iGnbR2QwEEH4a8cMdJk\nnQEUYR4BosuWKnjaRmFfI8VK7czLSHOcpcs747ddxbhSS6zOIyHTxGmhQLKo\ntI+PPkgsyM6iS6w/ys0K8cC5BmrpXDBTGwHufqPSJSmQjjNnhaCIVoom0oB0\nJrctHYaPDYcKstuyJbe9TcLRBXTKTMF7SmIRiYz9pVvFvPz8dTUTGcIX1PTM\ntdXnJlukfEPZjztj7Gssnx+iOKDXeKlL9ug/sEHOKQj+qqeEjdS76ZTsG6SE\nrmnSMTgIWl+i1+wECdkM6r/RrRPxpOXaqUl2spX5dlRGGpwBoLeqLrLmiAYP\nPiRn8wef76w/0MKk1GIvfvzLprPJN9KTKhM52if5PchuFfzzbMfyU/v+VDct\nwYpcl8QqK4inY8xlvSvDdWhnUZppt2gw5PdcP8Mfk9flVDqyLurfWJLL5sWY\nk1T8g0WHKXRLK1uoCvq9QEVb4dBz0o+u6PE3w2NnsL/+VKtK10I9wjg+8REN\n9/8XLCAAPDbyfRobWXe/AaC59N5CqTODjM/j8aA5zV9xIrcDHXViW0NoTF9P\nM3UCBC153l2PeBpQcg8demSBRJP+e7nDPuQVn5Z7I+AkN2EiNUxMU1MRHTLI\n2sIS/FAMwqcJiv3Iw/sV3ZKtpJKE0KGz34UVZraWkka8gZzX6480Z5RXzC3L\nKpH9\r\n=rrE+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCElXYuIi7u0cntpgYrcw6W+yLQZGTQr680lh6yqNFyEAIgIjYy7q59Y4WelCfaRNrj/1YpmQaMPla2F4eL+ZhIkgI="}]},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_1.0.0_1640150117659_0.5379238095896817"},"_hasShrinkwrap":false},"1.0.1":{"name":"remix-auth-google","version":"1.0.1","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --config .prettierrc --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"^1.1.1"},"devDependencies":{"@remix-run/node":"^1.1.1","@remix-run/react":"^1.1.1","@remix-run/server-runtime":"^1.1.1","@types/jest":"^27.0.3","@typescript-eslint/eslint-plugin":"^5.8.1","@typescript-eslint/parser":"^5.8.1","babel-jest":"^27.4.5","eslint":"^8.5.0","eslint-config-galex":"^3.5.3","husky":">=6","lint-staged":">=12.1.4","prettier":"^2.5.1","react":"^17.0.2","ts-node":"^10.4.0","typescript":"^4.5.4"},"dependencies":{"remix-auth":"^3.1.0","remix-auth-oauth2":"^1.1.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"gitHead":"c92fb93b09df1493f9d97924882dfee149ffaa0c","description":"<!-- Description -->","bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"},"homepage":"https://github.com/pbteja1998/remix-auth-google#readme","_id":"remix-auth-google@1.0.1","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1PMJKgoNcFrO0uvQrTd7P5LziDcc3xu4ls2L8Ss6xN/H16hwTzu8OMVUQspLPqFMJXSvuUfGy9m5VGqmqNCkbg==","shasum":"8f4b9c8bb739ec21237d123c1e4a6953b2e7e984","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-1.0.1.tgz","fileCount":5,"unpackedSize":8630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhy/EfCRA9TVsSAnZWagAA6hQQAI4coPPUrQjmZC6H2GCw\nRMLU70RhpuX4b6WdMlYGCMcZdJzfmqU0fjVPQ3RN7XtTKrPFSMZi69lCJUD3\ne3Kgx32tkfbatBqdrVwH93u9/EbwP0pwKw2H3MXNNo2UAkf/z9UmAWp/bZsc\nY3nAGgnNR8PoswXcl0DtGmeX8Cr6tt20UbIt+PeyLlMTSxePdyVa4zjcs83Y\n1ldQud7oi5tKQBRsKMR/CwFuD/mTKCOXzOyN0xOUkmp1JX3iBGb9RNN3ncZv\nFSxzo1DB3JkQjgYc9PnL6s2wlBE2Kzc9ZUp0JkiBjaGpit2B60RTDI8bA94z\nvfhRpkdE3ocOimPmRFrFBZxj6sRkEJsmg/rdvpL6Nij80KLSyAPqt/FexwYc\n1TZRm7TPIN5il4O5A1ZJk2RsK7ogv2Lgo3X87h+w9o9sj/9mq0+b9jaiQeGF\ncM0CmcwpRWYcE9bqM4ts51DdrczEWe/IgcUgCBBqfcQc2qC9+aTKAhWxDUgc\nn9OJHIqnrVbKbdL25SEyqathwEUvJoDECmwwGgSNgnHCBsVqXgLvvyC2Cmsh\nsrss1LHA1W2PxVIy6PtAjpYZNTc/qNgVCgR/8pPUotgDuAL5lZyhzGWDGGzN\nuo8vBiFZ1uOL1dn2/qieGJJugdZQiyEWSxNzzbt6M67dYwUtnGXX+YEICZjk\n1TC2\r\n=R3+M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ32EYVApoRZz2OeXLFpIaPmNoH+NwzEaLKWe3Rc7TEQIhALfKhgaRCwO92cx5nM53tJIEHrM9OmIXq/wRFMnfEZT0"}]},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_1.0.1_1640755486928_0.7479943706267842"},"_hasShrinkwrap":false},"1.1.0":{"name":"remix-auth-google","version":"1.1.0","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --config .prettierrc --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"^1.1.1","remix-auth":"^3.2.1"},"devDependencies":{"@remix-run/node":"^1.1.1","@remix-run/react":"^1.1.1","@remix-run/server-runtime":"^1.1.1","@types/jest":"^27.0.3","@typescript-eslint/eslint-plugin":"^5.8.1","@typescript-eslint/parser":"^5.8.1","babel-jest":"^27.4.5","eslint":"^8.5.0","eslint-config-galex":"^3.5.3","husky":">=6","lint-staged":">=12.1.4","prettier":"^2.5.1","react":"^17.0.2","remix-auth":"^3.2.1","ts-node":"^10.4.0","typescript":"^4.5.4"},"dependencies":{"remix-auth-oauth2":"^1.1.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"gitHead":"bc8b2fd4eb0cff0ce6187ade5a03ec27d83ef04a","description":"<!-- Description -->","bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"},"homepage":"https://github.com/pbteja1998/remix-auth-google#readme","_id":"remix-auth-google@1.1.0","_nodeVersion":"14.18.3","_npmVersion":"6.14.15","dist":{"integrity":"sha512-yzZ8JEiSoY/cvo5eJQBIzqpnaWOjQkYCgBklCP1QwT01sdR2F066uhV+jR9Wcx0bPCntdMG4PrytVBJzWTg+BA==","shasum":"4ffdc41b180a7a622d9008e7a25b6e409dbf5f20","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-1.1.0.tgz","fileCount":5,"unpackedSize":8658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4nH/CRA9TVsSAnZWagAAEKQP/R/sbD5n4hh3vhBtxPfI\ns0dPpiWp/LsTghWOVnZmu1pbqoCz/n8tWVeQijevDhLqX+jemNRCHxqBIpYm\nbjLHpzZOOD5ijoBjdc/3OpXQhGXR/kLJFQz91j7U+Gh9gsPiDyCjRI9ErQ0N\nBgpPk21JeJJuzr603HNEizEQ9KFZTBgRJqeaB4II8pkHrOegmk2JwxhHQbN5\nlEpNYArKbcqenXSpGDDHDvNiokw64Vzilg4UZgEvIMEs0NZwwKDz7U+Bb8yA\nm+I8sWa3ADnnEvfO+AIqC3Mn/TL30o0fv4d+PMcIfvol3cL6Hs+OHgbb7DDO\ngS9/3/XHRGHiA2iP2VoiL0xG5ut+53G+0ocMCf+de79+AF8QLeZsd3zZdibm\nyBKyvO1ZUBR9EQHepy+sHThhL0uXsx37gwK5uYJuAMPwx4VrxuHVJJd6xV7m\nzuUaLx0U2od22MED16T1MufIOoIozUu/a+JJ5ym3hE7oL4jPyYqUexpMe1d1\neeun17KlWqFebf0v0o6JSXfVoRp+eRpembUnHekmq70H70CJCe0x7EX2oCqr\nZ66YeWWPQY1g5YzUq6yXLtJn1g4o970PZ4owDbObX0Tv0gEPaUHeRCjr2Pib\nlMqCwrqa/oeVa+/QIM+RILfMIlZTVz/aVJXfX3Gk4bRHY8qoAYOCAFx2CwyJ\n9b8Q\r\n=xzYU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4KCPNPePhVvyiyqS4YClWy2sDzZBhFOhpZCWg9M62GAiEA9cJpGyN9uI8TUYKYl2mmlqLHQO206oQ0t67dGRbFEVI="}]},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_1.1.0_1642230271313_0.6003234284728198"},"_hasShrinkwrap":false},"1.2.0":{"name":"remix-auth-google","version":"1.2.0","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --config .prettierrc --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"^1.1.1","remix-auth":"^3.2.1"},"devDependencies":{"@remix-run/node":"^1.1.1","@remix-run/react":"^1.1.1","@remix-run/server-runtime":"^1.1.1","@types/jest":"^27.0.3","@typescript-eslint/eslint-plugin":"^5.8.1","@typescript-eslint/parser":"^5.8.1","babel-jest":"^27.4.5","eslint":"^8.5.0","eslint-config-galex":"^3.5.3","husky":">=6","lint-staged":">=12.1.4","prettier":"^2.5.1","react":"^17.0.2","remix-auth":"^3.2.1","ts-node":"^10.4.0","typescript":"^4.5.4"},"dependencies":{"remix-auth-oauth2":"^1.1.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"gitHead":"bbb32acdbc8390c6fd5b4745827210504c8baa54","description":"<!-- Description -->","bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"},"homepage":"https://github.com/pbteja1998/remix-auth-google#readme","_id":"remix-auth-google@1.2.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-llyrtOt8vk503XlAoEdGuEmrHRACFOP13yPVn92VkrcogTUyALzuy8ky2O1/FSJ7Q2+B0di5yMiCF4IYD/Yn4g==","shasum":"1cb78a74fe781537f083c5066a6ae05fc15a3efd","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-1.2.0.tgz","fileCount":5,"unpackedSize":9929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpzYCmWq8jO4VAAmYYXld5OJpFTAurTiZWZhqVEdbSoQIhAL7o6p7qw8o2XFr5jFiK33yZqqRFTJcKzXqOW4LiL8Z/"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoDMIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCnQ/9EuM5DKyq2uFMxqXanfIEEfn62A/9gDhtBTjdTtyffSJqT/f9\r\nj9f9qzbuGcO/8WCU0BV6ECvsC63E8gj4HY6rAVExyf1pyFHA2H1/B9iuaA2K\r\nTnpxCgwensVl83JpYMHF6fbrEDYlRrHfbG5TtehFK//q0KauXkvwQrvKg4xd\r\nt6xboOr1bZuv/o0a0p7V0YwJl504Y8RijuQxLDZQ0AHLn5NGphNSl9gNpTzs\r\ns35n/PvqLi3RSan1TNI9YindqMgSVPhq7xtM3ERNsA3BQGKqQsCwXsuOTTzd\r\nxk3OpLF/lUEGIzCRNs9tPFOixibDSje9A+mwPkt0jDxKeyM+q/NwZLeX7rJC\r\nX9mvL15gR1A6yMVcLLn88rL0H2ne/uBcgVGDl530Hjz26/3z9BCsUglTHlEF\r\nY0p8Pw5vFT/Ivif/Yjcs99R0wdKVhfTmtfUslLruyXpyZp6pCmlrKRfFbK+h\r\nX2pp0xVoLplkSL7ym/Dg4rupqzHBPSfotvkAKpNwN9fi+XcfqaLGwIcnNcTj\r\niIm14TrNW3QcOeUiv+Xk1KY1GgCROMFBnw/7miIl+QJQBaR/BO4Nvzz3VbLA\r\nFB0LMo+VsnahAxfvEGcnup2fJJpemQzcB8NCVy7/AaV6dZwLX2+cZiVPkl/N\r\nxBenFR3ZSOJaoxf30vaBD3rVKuleDkf9clI=\r\n=L7QW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_1.2.0_1671443208616_0.16123133636413245"},"_hasShrinkwrap":false},"1.3.0":{"name":"remix-auth-google","version":"1.3.0","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --config .prettierrc --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"^2.0.1","remix-auth":"^3.2.1"},"devDependencies":{"@remix-run/node":"^2.0.1","@remix-run/react":"^2.0.1","@remix-run/server-runtime":"^2.0.1","@types/jest":"^27.0.3","@typescript-eslint/eslint-plugin":"^5.8.1","@typescript-eslint/parser":"^5.8.1","babel-jest":"^27.4.5","eslint":"^8.5.0","eslint-config-galex":"^3.5.3","husky":">=6","lint-staged":">=12.1.4","prettier":"^2.5.1","react":"^18.2.0","remix-auth":"^3.2.1","ts-node":"^10.4.0","typescript":"^4.5.4"},"dependencies":{"remix-auth-oauth2":"^1.11.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"_id":"remix-auth-google@1.3.0","gitHead":"b2bf8df7ab10c358910e06a1443a0f547ba1983c","description":"<!-- Description -->","bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"},"homepage":"https://github.com/pbteja1998/remix-auth-google#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-HQ9UH7cKR6pDQAuxmdPjDsZe5/PGIQDsheM5q702wJRoXTbKVXPzni/Y1ZdPNaw3sOQkqQ8q5tSbiSwUHeqcCA==","shasum":"d7fdab01a3a88d1a04a3e40d08188cb1c43f342e","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-1.3.0.tgz","fileCount":5,"unpackedSize":9982,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9GgB5BtZGISVPpFBt3/Nseejlgl99QAc2MH2nTPcVVgIgPXOVPMe8bZditJ5iEBDiUPMXcfpCcYyPw2jjDPuq4Yo="}]},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_1.3.0_1696975997143_0.5341110117200398"},"_hasShrinkwrap":false},"2.0.0":{"name":"remix-auth-google","version":"2.0.0","main":"./build/index.js","types":"./build/index.d.ts","scripts":{"build":"tsc --project tsconfig.json","typecheck":"tsc --project tsconfig.json --noEmit","lint":"eslint . --fix --ignore-path .gitignore","format":"prettier --config .prettierrc --write --list-different --ignore-path .gitignore .","prepare":"husky install"},"keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"license":"MIT","peerDependencies":{"@remix-run/server-runtime":"^2.0.1","remix-auth":"^3.2.1"},"devDependencies":{"@remix-run/node":"^2.0.1","@remix-run/react":"^2.0.1","@remix-run/server-runtime":"^2.0.1","@types/jest":"^27.0.3","@typescript-eslint/eslint-plugin":"^5.8.1","@typescript-eslint/parser":"^5.8.1","babel-jest":"^27.4.5","eslint":"^8.5.0","eslint-config-galex":"^3.5.3","husky":">=6","lint-staged":">=12.1.4","prettier":"^2.5.1","react":"^18.2.0","remix-auth":"^3.2.1","ts-node":"^10.4.0","typescript":"^4.5.4"},"dependencies":{"remix-auth-oauth2":"^1.11.0"},"lint-staged":{"*.{js,jsx,ts,tsx}":"yarn lint","*.{js,jsx,ts,tsx,css,json,md}":"yarn format"},"_id":"remix-auth-google@2.0.0","gitHead":"96384b8a7219536d729680832be88cc3d207cc22","description":"<!-- Description -->","bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"},"homepage":"https://github.com/pbteja1998/remix-auth-google#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-qP38N1ZJADz+HlH2lrEn/rSL6m5Dwcnz8xUFDhbHecDMl9FU/UpkUx3w8jj5XhNSnkSue/GWT+p7OEkatgbXNA==","shasum":"28fb07ffead2aef9305494d00520287c733a1f71","tarball":"https://registry.npmjs.org/remix-auth-google/-/remix-auth-google-2.0.0.tgz","fileCount":5,"unpackedSize":9982,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9uhh/3qJz6fg1x4YzpHpodbCy19Zosb628r53Z2W5vAiEAuqNWaT1VxKAH2AQvSOIOHpgtYKjhqiEPEHcIac1M9+Q="}]},"_npmUser":{"name":"pbteja","email":"pbteja1998@gmail.com"},"directories":{},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remix-auth-google_2.0.0_1699580129203_0.8551912391450469"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-22T05:15:17.606Z","1.0.0":"2021-12-22T05:15:17.782Z","modified":"2023-11-10T01:35:29.591Z","1.0.1":"2021-12-29T05:24:47.099Z","1.1.0":"2022-01-15T07:04:31.491Z","1.2.0":"2022-12-19T09:46:48.801Z","1.3.0":"2023-10-10T22:13:17.425Z","2.0.0":"2023-11-10T01:35:29.415Z"},"maintainers":[{"name":"pbteja","email":"pbteja1998@gmail.com"}],"description":"<!-- Description -->","keywords":["remix","remix-auth","auth","authentication","strategy","google-auth"],"license":"MIT","readme":"# GoogleStrategy\n\n<!-- Description -->\n\nThe Google strategy is used to authenticate users against a Google account. It extends the OAuth2Strategy.\n\n## Supported runtimes\n\n| Runtime    | Has Support |\n| ---------- | ----------- |\n| Node.js    | ✅          |\n| Cloudflare | ✅          |\n\n<!-- If it doesn't support one runtime, explain here why -->\n\n## Usage\n\n### Create an OAuth application\n\nFollow the steps on [the Google documentation](https://developers.google.com/identity/protocols/oauth2/web-server#creatingcred) to create a new application and get a client ID and secret.\n\n### Create the strategy instance\n\n```ts\n// app/services/auth.server.ts\nimport { GoogleStrategy } from 'remix-auth-google'\n\nlet googleStrategy = new GoogleStrategy(\n  {\n    clientID: 'YOUR_CLIENT_ID',\n    clientSecret: 'YOUR_CLIENT_SECRET',\n    callbackURL: 'https://example.com/auth/google/callback',\n  },\n  async ({ accessToken, refreshToken, extraParams, profile }) => {\n    // Get the user data from your DB or API using the tokens and profile\n    return User.findOrCreate({ email: profile.emails[0].value })\n  }\n)\n\nauthenticator.use(googleStrategy)\n```\n\n### Setup your routes\n\n```tsx\n// app/routes/login.tsx\nexport default function Login() {\n  return (\n    <Form action=\"/auth/google\" method=\"post\">\n      <button>Login with Google</button>\n    </Form>\n  )\n}\n```\n\n```tsx\n// app/routes/auth/google.tsx\nimport { ActionArgs } from '@remix-run/node'\nimport { authenticator } from '~/services/auth.server'\n\nexport let loader = () => redirect('/login')\n\nexport let action = ({ request }: ActionArgs) => {\n  return authenticator.authenticate('google', request)\n}\n```\n\n```tsx\n// app/routes/auth/google/callback.tsx\nimport { LoaderArgs } from '@remix-run/node'\nimport { authenticator } from '~/services/auth.server'\n\nexport let loader = ({ request }: LoaderArgs) => {\n  return authenticator.authenticate('google', request, {\n    successRedirect: '/dashboard',\n    failureRedirect: '/login',\n  })\n}\n```\n","readmeFilename":"README.md","homepage":"https://github.com/pbteja1998/remix-auth-google#readme","repository":{"url":"git+https://github.com/pbteja1998/remix-auth-google.git","type":"git"},"author":{"name":"Bhanu Teja Pachipulusu","email":"pbteja1998@gmail.com","url":"https://github.com/pbteja1998"},"bugs":{"url":"https://github.com/pbteja1998/remix-auth-google/issues"}}