{"_id":"@8medusa/auth-google","name":"@8medusa/auth-google","dist-tags":{"latest":"2.7.0"},"versions":{"2.7.0":{"name":"@8medusa/auth-google","version":"2.7.0","description":"Google OAuth authentication provider for Medusa","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/providers/auth-google"},"engines":{"node":">=20"},"author":{"name":"Medusa"},"license":"MIT","publishConfig":{"access":"public"},"scripts":{"test":"jest --passWithNoTests src","test:integration":"jest --forceExit -- integration-tests/**/__tests__/**/*.spec.ts","build":"rimraf dist && tsc --build","watch":"tsc --watch"},"devDependencies":{"@8medusa/framework":"2.7.0","@swc/core":"^1.7.28","@swc/jest":"^0.2.36","jest":"^29.7.0","msw":"^2.3.0","rimraf":"^5.0.1","typescript":"^5.6.2"},"dependencies":{"jsonwebtoken":"^9.0.2"},"peerDependencies":{"@8medusa/framework":"2.7.0"},"keywords":["medusa-provider","medusa-provider-auth-google"],"_id":"@8medusa/auth-google@2.7.0","gitHead":"8618e6ee3843069ea189ea64d5191d93db52dc9d","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Sqrt2dMOhCeYf2ZL5mwpjtYWsZiq4Yw1uxhlG513knfTVrQ77qsS+bkyhGiLoaLLLAKuxEeU9/1mO5vVuV353g==","shasum":"4efcd17ec86504e0d4f1fe2519bd763fe1c3e702","tarball":"https://registry.npmjs.org/@8medusa/auth-google/-/auth-google-2.7.0.tgz","fileCount":11,"unpackedSize":15244,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCsJjEJsh8Ao6vMEInt1FShL1CjrFDtAxMrNg50w5R90QIgeQGxdNLy95pxghHxZUqkzq4eQ1aaN2q4/Zd8vq+XASI="}]},"_npmUser":{"name":"8seneca","email":"8seneca@gmail.com"},"directories":{},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-google_2.7.0_1744945292279_0.001167572399087602"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-18T03:01:32.180Z","2.7.0":"2025-04-18T03:01:32.491Z","modified":"2025-04-18T03:01:32.802Z"},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"description":"Google OAuth authentication provider for Medusa","homepage":"https://github.com/medusajs/medusa#readme","keywords":["medusa-provider","medusa-provider-auth-google"],"repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/providers/auth-google"},"author":{"name":"Medusa"},"bugs":{"url":"https://github.com/medusajs/medusa/issues"},"license":"MIT","readme":"## Testing\n\nIn order to manually test the flow, you can do the following:\n\n1. Register an app in `https://console.cloud.google.com/apis/credentials/consent`\n2. Generate clientId and clientSecret credentials in the console\n3. Replace the values in the test with your credentials\n4. Remove the `server.listen()` call\n5. Run the tests, get the `location` value from the `authenticate` test, open the browser\n6. Once redirected, copy the `code` param from the URL, and add it in one of the `callback` success tests\n7. Once you run the tests, you should get back an access token, id token, and so on.\n","readmeFilename":"README.md","_rev":"1-06dc7159ffa4726a9d2e8d836c6c45a8"}