{"_id":"@8medusa/auth-github","name":"@8medusa/auth-github","dist-tags":{"latest":"2.7.0"},"versions":{"2.7.0":{"name":"@8medusa/auth-github","version":"2.7.0","description":"Github 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-github"},"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"},"peerDependencies":{"@8medusa/framework":"2.7.0"},"keywords":["medusa-provider","medusa-provider-auth-github"],"_id":"@8medusa/auth-github@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-cCvY30914BOGHm00A/WREQ7kkV756fidYd9yS8DVmLg0xELJO5iOXlXf5BFXdv/BbUy3/n7Jp+Sqy2XMmY9Vlw==","shasum":"67ce4e067cd5150683a837e9f90fee60398b5d4b","tarball":"https://registry.npmjs.org/@8medusa/auth-github/-/auth-github-2.7.0.tgz","fileCount":11,"unpackedSize":16458,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID8ndTZMWcUoarPFa6xvmrTU3iTK8Xma51xVpjoKXGZ0AiEA0hy2dPJW7JfI+4uIvGDP2xwPCmXKAOo1NqVcJ36MwpA="}]},"_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-github_2.7.0_1744945276479_0.6257480794734329"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-18T03:01:16.422Z","2.7.0":"2025-04-18T03:01:16.672Z","modified":"2025-04-18T03:01:16.912Z"},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"description":"Github OAuth authentication provider for Medusa","homepage":"https://github.com/medusajs/medusa#readme","keywords":["medusa-provider","medusa-provider-auth-github"],"repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/providers/auth-github"},"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 a Github App - https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app\n2. Go to the app, fetch the clientId and create a new clientSecret\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 and so on.\n","readmeFilename":"README.md","_rev":"1-4ec8f70d4c730bbec07634eef47db8e0"}