{"_id":"@hyperplay/next-auth-steam","_rev":"33-748594cf7263a9b78f5e8c9f3a54325a","name":"@hyperplay/next-auth-steam","dist-tags":{"alpha":"0.1.1","latest":"0.2.5"},"versions":{"0.1.0":{"name":"@hyperplay/next-auth-steam","version":"0.1.0","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.0","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"e4540334af17ecf2c4d9ad3801c685c355351b2d","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.0.tgz","fileCount":10,"integrity":"sha512-oZ8UuoDQSzEHel6sFhimNHGZPFF70Ir3VYFW0Vno0CroaGuZ+qkIHzJjP4RAFbOr9VZTD+sk7EUxl/30G/pecg==","signatures":[{"sig":"MEYCIQDchoUR9PEVTN3XJo7Poi3NqyiQSordJCt273zMc+04fgIhAKMgNRheb/YWevvPOI7PXswNuB8iUXwMzHJCwibF7Elp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114014},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"5b7cff6fba044844d259c39f107bd24a96812181","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.0_1699929208162_0.2968240518077401","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@hyperplay/next-auth-steam","version":"0.1.1","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.1","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"93d81351dc712815422088c1d357acdc8f110ca2","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.1.tgz","fileCount":10,"integrity":"sha512-KC/f33+lrbOWVNaqv9E7VqhHrtHhfMismtigR+PigEHfj8VCry9U2lfbOIrVuDm3f5gypXU7RGx/+GxGXCJ8mA==","signatures":[{"sig":"MEYCIQCeBUDu1UBl+92T5mgJdLG0uX7nubgldzxtyf/XAB100QIhAIok2NKINB/6w0m8AeJ6nZP1quH7p8vUORpwD//jTmKW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":654567},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","readme":"# @hyperplay/next-auth-steam\n\nYour Next.js app with seamless Steam authentication! 🎉\n\nThis is a streamlined and improved version of the Steam authentication provider for [next-auth](https://npm.im/next-auth)! 🎮 This package is a fork of [Nekonyx/next-auth-steam](https://github.com/Nekonyx/next-auth-steam), designed to optimize your authentication flow and eliminate unnecessary overhead. Say goodbye to the mandatory `request` parameter and the frequent need for `getServersideProps`—this implementation is all about efficiency and developer happiness! 😄\n\n## 🌟 What's New?\n\n- ✨ No more need for `request` as a required parameter!\n- 🛠️ Simplified implementation for `getServerSession`.\n- 🔥 Examples and usage patterns to get you started in no time!\n\n## 📦 Install \n\n```bash\nnpm install @hyperplay/next-auth-steam\n```\n\n```bash\nyarn add @hyperplay/next-auth-steam\n```\n\n```bash\npnpm install @hyperplay/next-auth-steam\n```\n\n## 🔍 Example Usage\n\n### 🔹 Basic Authentication Setup\n\n```ts\n// pages/api/auth/[...nextauth].ts\nimport { NextApiRequest, NextApiResponse } from 'next'\nimport NextAuth from 'next-auth'\nimport SteamProvider from '@hyperplay/next-auth-steam'\n\nexport default function handler(req: NextApiRequest, res: NextApiResponse) {\n  return NextAuth(req, res, {\n    providers: [\n      SteamProvider({\n        clientSecret: process.env.STEAM_SECRET!\n        nextAuthUrl: process.env.NEXTAUTH_URL!\n      })\n    ]\n  })\n}\n```\n\n### 🔹 Custom Provider Id\n\n```ts\n// pages/api/auth/[...nextauth].ts\nimport { NextApiRequest, NextApiResponse } from 'next'\nimport NextAuth from 'next-auth'\nimport SteamProvider from '@hyperplay/next-auth-steam'\n\nexport default function handler(req: NextApiRequest, res: NextApiResponse) {\n  return NextAuth(req, res, {\n    providers: [\n      SteamProvider({\n        clientId: process.env.STEAM_ID!\n        clientSecret: process.env.STEAM_SECRET!\n        nextAuthUrl: process.env.NEXTAUTH_URL!\n      })\n    ]\n  })\n}\n```\n\n### 🔹 App Directory Integration\n\n```ts\n// app/api/auth/[...nextauth]/route.ts\nasync function handler(\n  req: NextRequest,\n  ctx: {\n    params: {\n      nextauth: string[]\n    }\n  }\n) {\n  // @ts-ignore\n  return NextAuth(req, ctx, {\n    providers: [\n      SteamProvider({\n        clientSecret: process.env.STEAM_SECRET!\n        nextAuthUrl: process.env.NEXTAUTH_URL!\n      })\n    ]\n  })\n}\n\nexport { handler as GET, handler as POST }\n```\n\n### 🔹 Fetching Steam User Data\n\nTo capture the full essence of a Steam user's profile, follow the pattern below:\n\n```ts\nimport { PROVIDER_ID } from '@hyperplay/next-auth-steam'\n\n// ...\n\nreturn NextAuth(req, res, {\n  providers: [\n    SteamProvider( ... )\n  ],\n  callbacks: {\n    jwt({ token, account, profile }) {\n      if (account?.provider === PROVIDER_ID) {\n        token.steam = profile\n      }\n\n      return token\n    },\n    session({ session, token }) {\n      if ('steam' in token) {\n        // Pass a generic type in ts, so you can have your custom session\n        session.user.steam = token.steam\n      }\n\n      return session\n    }\n  }\n})\n```\n\nDive into more examples in the [examples](examples) folder and get your Steam integration up and running like a charm! 🌈\n","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"3d8748f19afd93848c5df68f0b764469e1cac241","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.1_1699943720237_0.017387377902241763","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@hyperplay/next-auth-steam","version":"0.1.2","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.2","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"dfb66da27424ebab5975edda0bac406b33094dac","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.2.tgz","fileCount":10,"integrity":"sha512-pzhMDHMKSG8xhC5Gt0XtTvCiDhSbGN+vgcWhjUHOzWrwdTW9aV0c6od7ylIR0MfDPOECxZH13zey4BuSJ4F3ow==","signatures":[{"sig":"MEQCIEy9XXbQqHCREYf1oLV27qsHyvJEcEpfxHWcCL+SWDRYAiBY4A28TLTS1fzE0QEiPg5Y7O5/jZ1qvdvFXeZuqnTzwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":654567},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"e02d12b56efe849959986e1d4189325167b207b8","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.2_1699944154923_0.42902989267813485","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@hyperplay/next-auth-steam","version":"0.1.3","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.3","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"9808a580f568387640abf72be1a8bfeef68fa257","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.3.tgz","fileCount":10,"integrity":"sha512-jbQPgfhjFP/z0ljRTiurq32ZfAQAp7co2AVFGvBN5W/0eLq5DWUKrKas/SBSPHlVMd/5Af2iKVWVNyhnrHaOhw==","signatures":[{"sig":"MEUCIQDAFk6oPSKyhzTsd6olaR1DRH3SMFtSXpJGAyk0iHXV3AIgfOpjQdayIkKnmgI0kx2iMMTSyxS2iPZ3GSG42nWjjTo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":654566},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"585fd18a4682c531b391ef7e087c3a18c000891c","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.3_1699998146565_0.6023957864522727","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@hyperplay/next-auth-steam","version":"0.1.4","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.4","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"0ef883ff308a544a08f4de79a3f979c2951f52e8","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.4.tgz","fileCount":10,"integrity":"sha512-mNB4r9j5KFQDmHhU0NFxlAbBGG3gPMwB7I/NuiRb6iYPLrPXZscknI76ZkIrPUcoiRZ0/ZkiGitr1cCI9Ayamg==","signatures":[{"sig":"MEUCICGDWlrfHBwLDNeog9pjIdDCJrWJVEPYZ9N18KCgnNW1AiEApPWNXGlYDuZC4wp57by+0tU7nJ32YWBUacXZwfPsK/M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":654167},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"9a6e484f9c13a6639092579fb2bea9aff481afad","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.4_1700000103976_0.015990536035577874","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@hyperplay/next-auth-steam","version":"0.1.5","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.5","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"2306bf70441fd7671a63a80c201358460cb4505b","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.5.tgz","fileCount":10,"integrity":"sha512-46cX+C58er2xV0uupXsTp2+BP/18Zs5EZ6pUYTGQWZQiotUaP/Dr6e9RUBLoqru357gABw0ZAJfIzOqpJHMREw==","signatures":[{"sig":"MEUCIC0Mnk1x5m4A9lG1UiEagVQwHrQI9Z1vGYFFb+dDd4b4AiEA62DvODHZu/PuHB7P2RyVnQuV+dek6XTmSY7uDiDla+c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":961168},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"2d6d5c5fc671b233660a5942b3d0706cca9fc27c","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.3","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.12.1","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.5_1700002126484_0.19833520736145438","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@hyperplay/next-auth-steam","version":"0.1.6","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.6","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"d1ab0f3bce8758904b4cc6e3624032735f942e57","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.6.tgz","fileCount":83,"integrity":"sha512-/ev4sratVmEMz3SonCDMf+eSxH8e1pAVs32w/UmGCE/fQVtNQM5FyDjlCjayOuRXWyCHpCUPCUrvhh1W1punrg==","signatures":[{"sig":"MEUCIQC+AMWl+8rbJ7pLdZpyNpNktZNsp71b0kSV3fa7+CMvrQIgcS1NIuo2ic8BFrphGCA+jl1QT7mgmMg5gvB0BcFRXBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":994466},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"9c93f46f21ab153ce61053d2929860545c4d1a7d","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.6_1700079201961_0.14294710478025419","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@hyperplay/next-auth-steam","version":"0.1.7","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.7","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"0d7308ab0ad41f41afa65fb5bf48eecd567f8179","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.7.tgz","fileCount":83,"integrity":"sha512-4KjEo6hU+eMEsnecFiFwGWYDeysfcuzCuBTcKv2529vKZ1kH38H5kLl01JItf9f0+kOvDnuEvVxg9dUAVtZr0w==","signatures":[{"sig":"MEQCIB5BTne5kL0GrTQtelTvRkAgBmfBl86JuZGbb5KnFyzwAiAlIPXcTnf9Yr3JQieF4QEO1YJBp/nUcHEggOZGID/6Jw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":994484},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"28ba964f1b817c19bd57d5d54afe6fbdcabf9321","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.7_1700080681888_0.96376506645822","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@hyperplay/next-auth-steam","version":"0.1.8","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.8","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"0e62974d8973e74d6a59aeac9445d1247c02ec18","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.8.tgz","fileCount":83,"integrity":"sha512-rzp3eeNYGuwt888rzioE75kE6YVi/RP1hsBoxDta+4Mo1aNq7wMV8RJjx9Wt0vsNACEUsJRHyokc1Wi7lmKQdg==","signatures":[{"sig":"MEYCIQCt+RRy0Z7BZrEam8e63XmEw1z7f8m6mpGkXO6rp5t9nwIhAJEDhmN45hhpIhmFuL2W5doTgDODe1NmWTtpp8iaeUvh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":995167},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"efe0327d06398d4b47e12f00de23f4f1a0cd5ffa","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.8_1700121296824_0.672616668650805","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@hyperplay/next-auth-steam","version":"0.1.9","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.9","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"a70b60a4c03e0c2b42a1bb573bf32740f784c8cc","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.9.tgz","fileCount":83,"integrity":"sha512-+C02ALAcv5eTKTlYmXDAWPIdSqSFlVcmPGJy1gXRAFobI9sCZSVVelDR1dFeFQsT82cQwHImHz3uRSix2u0N/w==","signatures":[{"sig":"MEUCIQDJ7wxZzuhnwkp4ntT7lBgp219w7z1M2DcjykDM7GAl2gIgePSS75CgdT70ZDLjQ2CT3jcG/vPuGSL1kxuwUNaboXo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":998170},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"4dd4f48bda57cf086037db53a8bd30aea215b0ac","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.9_1700255264921_0.7620896103787156","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"@hyperplay/next-auth-steam","version":"0.1.10","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.10","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"9779740cff1aad6c32ae6e0ab9e75626c6e1a7de","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.10.tgz","fileCount":79,"integrity":"sha512-+Soh00BedFSeXue+ojJZFy3olDa8eQ9yERbkGm+Gc0Qf9IzKRM2AHAMTg3kKh/gL6+KYtU+BYY3n+gW6kG9U6w==","signatures":[{"sig":"MEUCIGnkeChmGMIqGnlOHzIHJafEMqN8wwO9RiCgwr4qYf1vAiEAwM1VWQVE1xbGOX5p6OZpX1S0AGNqVKS+pAqunDRsJQY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":999162},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"b46e4f2478ae3836edf722a92d24f5035303ae5b","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.10_1700713131773_0.3173376676006927","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"@hyperplay/next-auth-steam","version":"0.1.11","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.11","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"0f3aa31418c5380fc67fc52a0d3e0f767b968fc0","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.11.tgz","fileCount":153,"integrity":"sha512-OBswUtE616nY6xoL5ILKdNbgVtpuhRipGU+bKokPns2Omlhb/YofecXn5dizQTfbwJ4oxB4WHJHRT733iQVeTA==","signatures":[{"sig":"MEUCIF1Yvf2h8ibPlEDsNQcecmv8R8g212LUlow1I+ZrbP0xAiEAtjJ8VdhbMPO4P+ep0OEn9NvG9vXSfl49+QcXs1KGEuo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1722532},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"5fd3cc8a7dd5d45ed22448a56fad6fcdca7f9924","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.11_1700714240586_0.7917102534750478","host":"s3://npm-registry-packages"}},"0.1.12":{"name":"@hyperplay/next-auth-steam","version":"0.1.12","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.1.12","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"cf0efd445fa89ae04fc905c4bc50243f3b892da7","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.1.12.tgz","fileCount":153,"integrity":"sha512-rVLmDUrkf55Vp/mc/s4uz6CCIWQdO9nYehYui7O0wJtnTVtdbCVOVHkczUlaneUJA+U+2+Jkt52e9DsXII+4qA==","signatures":[{"sig":"MEUCIFhVVB1jU6dTuVq8qMqDjg0oy2qZUg0kwLP7SB3SR8P5AiEA6m/xAV0GDkw6hfPJBPOWf4AYiceeoCclK34lFzoGT1M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1722735},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"a7c78958a709257e8c91263864acb3f366a91919","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.1.12_1700714816062_0.2689763793778239","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@hyperplay/next-auth-steam","version":"0.2.0","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.2.0","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"43d0f6178ec57b7bc55d54b777e262390318e564","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.0.tgz","fileCount":9,"integrity":"sha512-Zg5Hd9j+P1pTtI8nbMh17stN6hybSx0qFoNSaLXn2l/2G8zvRjHnKm0M0ny3AqcgcUTxLOzkOhcSqmQmqFIMeg==","signatures":[{"sig":"MEQCIF8WsF9GguPr5PTIFOiGtJ4cNAG7O9ghaqF3e0n7Ko/8AiBJNjVAvbNXeaf7lGdj4ckzQZt+t8FeYfXpxnJBLDtZTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23982},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"d5ac22722a549c6b267381dddb29e05465b93ee8","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.0_1701992539356_0.2829053303258666","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@hyperplay/next-auth-steam","version":"0.2.1","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.2.1","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"66dabbbca76e6e2cfa22e9496cb70b810f4f5811","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.1.tgz","fileCount":9,"integrity":"sha512-ZX/rQtMsaTlznxjpLdb3iBF5H7RUJCpQdGGLXD/EZjygGwLx1uk6onYciN5XeVp0VEEDT5+ZtWtOVBr5mIrcJA==","signatures":[{"sig":"MEUCIFj2Dyl31WdZmHS08tKWEfwaxMUaKOVKR3zsXBmVhIBFAiEA1fKLIkt22KCpfDwOwkz3iujf0vihOIgfszzhOfFDUvI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24714},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"668fbc7ce8728df5a191a48d8fba8bdbb156c9c8","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.1_1701993175851_0.9198639075580144","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@hyperplay/next-auth-steam","version":"0.2.2","license":"BUSL-1.1","_id":"@hyperplay/next-auth-steam@0.2.2","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"5adf2d5b3c5c4c72959ded013f8a2c0acfe8891b","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.2.tgz","fileCount":9,"integrity":"sha512-3+LXKbbZRFB+VenAEZzI3d7gX94WrxynZQzvDQlOWngyblEHBw/fnal6Wy9yiq3FJu7wF66VC/0a3ZNduplObQ==","signatures":[{"sig":"MEQCID9BwGwMOPBTUdgJkduib/l7so3Jzv/wuhlfXUuk5YjaAiBuQC7E36ECAu3V//0D1J+xVs2QUKTUNNnJhPdmklk42A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24741},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"bd34de968b08c9401a4a0a010e0791ef014b54fa","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.2_1701993441945_0.12204252531962934","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@hyperplay/next-auth-steam","version":"0.2.3","license":"MIT","_id":"@hyperplay/next-auth-steam@0.2.3","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"ddc2132bc870061bde3de9368d993572264177bc","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.3.tgz","fileCount":9,"integrity":"sha512-ka5GRHjo6St/XJi7i8SrC85xXRo/UbhTDuYukeuOnM32B6z8r71/9yAMUYN1xiE65wPvcz1LZU+oEFC2gXNbfQ==","signatures":[{"sig":"MEYCIQC2k0cwEvPpzZNw/1giUtIj4XSLMTtI8DQrOaBWCwQq4gIhAO0IZrQtfr55g6DrYtZPDK6L020OwKUSlDRVOe1PhaDa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21511},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"b20195e913ef3875ecedcfd98eccc740dd207172","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.3_1702332205063_0.5098411065119401","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@hyperplay/next-auth-steam","version":"0.2.4","license":"MIT","_id":"@hyperplay/next-auth-steam@0.2.4","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"chuckstock","email":"charlieblackstock@gmail.com"},{"name":"blakstock","email":"bobbyblackstock@gmail.com"},{"name":"andrewpjames","email":"ANDREWPJAMES87@GMAIL.COM"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"leon-do","email":"leondo123@gmail.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"4a5bc209b45c5c3aa110155102eb4b575b3b1366","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.4.tgz","fileCount":9,"integrity":"sha512-LWYGh2f3C8LLj/AXzaTKD7qVA5frzdfzVSMpH/OLOTlKpgDr8bWZsi7YB2LELsPBV8TL/8TVVntCi7Wjl4X3Jg==","signatures":[{"sig":"MEUCIQCo7OHvWSn/kZLn+vn4OWljinOmdbFbFSxF29+/Wero5gIgO0VtoSxVTsRLVwF70L3tFvngEnXB4ovFeBYwFrFIaJM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21536},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js"}},"gitHead":"475d1838466afa1aeede075289ce5ba264e8cc59","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"8.19.4","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"16.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.4_1705365722523_0.9588707727983603","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"@hyperplay/next-auth-steam","version":"0.2.5","license":"MIT","_id":"@hyperplay/next-auth-steam@0.2.5","maintainers":[{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},{"name":"elioebricenov","email":"eliobricenov@gmail.com"},{"name":"pimentelx","email":"pimentel@game7.io"},{"name":"mrqz","email":"martin@hyperplay.xyz"},{"name":"nyghtstalker","email":"jcvaldez2@yahoo.com"},{"name":"awantoch","email":"alec@wantoch.com"},{"name":"zpelkey","email":"zach@pelkey.io"},{"name":"brad.decker","email":"bhdecker84@gmail.com"},{"name":"flaviofearn","email":"flavio@game7.io"},{"name":"blingus","email":"brett.cleary1352@gmail.com"}],"homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"dist":{"shasum":"2c6ae49c50475e9d14585f07b6feaa70f3951127","tarball":"https://registry.npmjs.org/@hyperplay/next-auth-steam/-/next-auth-steam-0.2.5.tgz","fileCount":9,"integrity":"sha512-2a4XwiDEXvQ92PqDbmkU2MOjfPaUZgz4aJ3w/M3adHpBjjhGkQNF4bIRPx4/7C9p720KSYXA00ZiMtRYcXoIDA==","signatures":[{"sig":"MEYCIQCCwZREoLqw2SVEemmKRFrBguAItQesiuC9RAyIUv3l2wIhAOB0OeUZMZ4NlHnZfcVl5M7PPWVLTDISV2cjtVxhhcLl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21574},"main":"dist/index.cjs.js","types":"dist/index.d.ts","module":"dist/index.es.js","exports":{".":{"import":"./dist/index.es.js","require":"./dist/index.cjs.js"}},"gitHead":"5b5d764c783b90d03921b9b7b23976f3988bd7cc","private":false,"scripts":{"lint":"eslint --ext .js,.jsx,.ts,.json,.mdx ./src","build":"vite build","prepack":"json -f package.json -I -e \"delete this.devDependencies; delete this.dependencies\"","lint:fix":"eslint --fix -c .eslintrc.cjs --ext ts ./src","prettier":"prettier --check .","build:watch":"vite build --watch","prettier:fix":"prettier --write ."},"_npmUser":{"name":"red-game-dev","email":"red.pace.dev@gmail.com"},"repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"_npmVersion":"10.5.0","description":"Steam authentication provider for next-auth","directories":{},"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"peerDependencies":{"next":"^13.3.4","next-auth":"^4.22.1","openid-client":"^5.4.2"},"_npmOperationalInternal":{"tmp":"tmp/next-auth-steam_0.2.5_1714080551593_0.9069117170690837","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-11-14T02:33:28.033Z","modified":"2025-09-02T21:02:39.001Z","0.1.0":"2023-11-14T02:33:28.384Z","0.1.1":"2023-11-14T06:35:20.473Z","0.1.2":"2023-11-14T06:42:35.141Z","0.1.3":"2023-11-14T21:42:26.785Z","0.1.4":"2023-11-14T22:15:04.310Z","0.1.5":"2023-11-14T22:48:46.866Z","0.1.6":"2023-11-15T20:13:22.219Z","0.1.7":"2023-11-15T20:38:02.127Z","0.1.8":"2023-11-16T07:54:57.203Z","0.1.9":"2023-11-17T21:07:45.425Z","0.1.10":"2023-11-23T04:18:52.015Z","0.1.11":"2023-11-23T04:37:20.757Z","0.1.12":"2023-11-23T04:46:56.368Z","0.2.0":"2023-12-07T23:42:19.542Z","0.2.1":"2023-12-07T23:52:56.118Z","0.2.2":"2023-12-07T23:57:22.149Z","0.2.3":"2023-12-11T22:03:25.289Z","0.2.4":"2024-01-16T00:42:02.684Z","0.2.5":"2024-04-25T21:29:11.816Z"},"bugs":{"url":"https://github.com/HyperPlay-Gaming/next-auth-steam/issues"},"license":"MIT","homepage":"https://github.com/HyperPlay-Gaming/next-auth-steam#readme","repository":{"url":"git+https://github.com/HyperPlay-Gaming/next-auth-steam.git","type":"git"},"description":"Steam authentication provider for next-auth","maintainers":[{"email":"brett.cleary1352@gmail.com","name":"blingus"},{"email":"flavio@game7.io","name":"flaviofearn"},{"email":"pimentel@game7.io","name":"pimentelx"},{"email":"martin@hyperplay.xyz","name":"mrqz"},{"email":"zach@pelkey.io","name":"zpelkey"},{"email":"bili@hyperplay.xyz","name":"biliane"},{"email":"david@hyperplay.xyz","name":"iamdavid0091"},{"email":"iabubakardev@gmail.com","name":"iabubakardev"}],"readme":"# @hyperplay/next-auth-steam\n\nYour Next.js app with seamless Steam authentication! 🎉\n\nThis is a streamlined and improved version of the Steam authentication provider for [next-auth](https://npm.im/next-auth)! 🎮 This package is a fork of [Nekonyx/next-auth-steam](https://github.com/Nekonyx/next-auth-steam), designed to optimize your authentication flow and eliminate unnecessary overhead. Say goodbye to the mandatory `request` parameter everywhere and the frequent need for `getServersideProps`—this implementation is all about efficiency and developer happiness! 😄\n\n## 🌟 What's New?\n\n- ✨ Request parameter is optional in majority of the cases, although this is required when utilized with `NextAuth`. Therefore for `NextAuth()` you should pass it by default. However on `useSession` or `getServerSession` is optional.\n- 🛠️ Simplified implementation for `getServerSession`.\n- 🔥 Examples and usage patterns to get you started in no time!\n- `onUserInfoRequest` a simple method that you can have access to the context, plus keeping your api key secure, why? We value your security. These keys shouldn't be just passed when is not needed.\n\n## 📦 Install\n\n```bash\nnpm install @hyperplay/next-auth-steam\n```\n\n```bash\nyarn add @hyperplay/next-auth-steam\n```\n\n```bash\npnpm install @hyperplay/next-auth-steam\n```\n\n## 🔍 Example Usage\n\n### 🔹 Basic Authentication Setup\n\nThis setup can be utlized for both app router and legacy version router.\n\n```ts\n// app/api/auth/[...nextauth]/route.ts\nimport NextAuth from 'next-auth'\nimport { onUserInfoRequestContext } from '@hyperplay/next-auth-steam'\n\nconst auth = async (req: any, res: any) => {\n  return await NextAuth(req, res, {\n    providers: [\n      SteamProvider(\n        {\n          nextAuthUrl: `${process.env.NEXTAUTH_URL!}/api/auth/callback`, // https://example.com/api/auth/callback/steam\n          onUserInfoRequest: (ctx: onUserInfoRequestContext) => {\n            // execute something on token request\n            // some profile data which will be returned back to you on the client\n            // example get the player data and merge it with the user info, therefore you wont need to pass any secret to us\n\n            const response = await fetch(\n              `https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=${MY_API_KEY}&steamids=${ctx.tokens.steamId}`\n            )\n\n            const data = await response.json()\n            return data.response.players[0]\n          }\n        },\n        req\n      )\n    ]\n  })\n}\n\nexport { auth as GET, auth as POST }\n```\n\n### 🔹 Advanced Authentication | Real Example\n\nThis example covers a real world scenario authentication with fetching of steam user data. In simple terms we've got `onUserInfoRequest` which where you will get your steam player summary data with your own API KEY.\n\n```tsx\n// utils/auth.ts\nimport { AuthOptions } from \"next-auth\";\nimport { STEAM_PROVIDER_ID, onUserInfoRequestContext } from '@hyperplay/next-auth-steam'\n\nexport const authOptions: AuthOptions = {\n  session: {\n    strategy: \"jwt\",\n  },\n  secret: process.env.NEXTAUTH_SECRET,\n  providers: [\n    ...\n    SteamProvider({\n      nextAuthUrl: `${process.env.NEXTAUTH_URL!}/api/auth/callback`,\n    }),\n  ]\n  callbacks: {\n    async signIn({ user, account, profile, email, credentials }) {\n\n      // Handle after sign in\n      return true\n    },\n    async redirect({ url, baseUrl }) {\n      // Handle your redirection if any\n      return baseUrl\n    },\n    async session({ session, user, token }) {\n      // Handle your session\n      if ('steam' in token) {\n        session.user.steam = token.steam\n      }\n\n      return session\n    },\n    async jwt({ token, user, account, profile, isNewUser }) {\n      // Handle your jwt\n      if (account?.provider === STEAM_PROVIDER_ID) {\n        token.steam = profile\n      }\n\n      return token\n    }\n  }\n}\n\nexport const authOptionsWithRequest: (request: NextApiRequest | NextRequest) = (request: NextApiRequest | NextRequest) => {\n  return {\n    ...authOptions,\n    providers: [\n      ...authOptions.providers.filter(({ id }) =>  id !== STEAM_PROVIDER_ID),\n      SteamProvider({\n        nextAuthUrl: `${process.env.NEXTAUTH_URL!}/api/auth/callback`,\n        onUserInfoRequest: (ctx: onUserInfoRequestContext) => {\n          // execute something on token request\n          // some profile data which will be returned back to you on the client\n          // example get the player data and merge it with the user info, therefore you wont need to pass any secret to us\n\n          const response = await fetch(\n            `https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=${MY_API_KEY}&steamids=${ctx.tokens.steamId}`\n          )\n\n          const data = await response.json()\n          return data.response.players[0]\n        }\n      }, request),\n    ],\n  };\n};\n\n// app/api/auth/[...nextauth]/route.ts\nimport NextAuth from \"next-auth\";\nimport { authOptionsWithRequest } from \"@/utils/auth\";\n\nconst auth = async (req: any, res: any) => {\n  return await NextAuth(req, res, authOptionsWithRequest(req));\n};\n\nexport { auth as GET, auth as POST };\n\n// app/account/page.tsx\nimport { getServerSession } from 'next-auth';\nimport { authOptions } from '@/utils/auth';\nimport Dashboard from '@/components/account/dashboard';\n\nexport default async function AccountPage() {\n  const session = await getServerSession(authOptions);\n\n  return (\n    <Dashboard profile={session.profile} />\n  );\n};\n```\n\nDive into more examples in the [examples](examples) folder and get your Steam integration up and running like a charm! 🌈\n\n## 🗿 Vision\n\nWe would like to make the support for Steam seamless as possible\n\n- The package itself we will aim to optimize the bundle size, although since has `openid` npm package which uses node modules makes it difficult. We're using vite at the moment, with `vite-plugin-node-polyfills`.\n- `Request` it is something that I'd like to deprecate near the future, another reason why it is optional and only necessary in one place `NextAuth()`. This is difficult at the moment, due of steam has legacy version of `openid`, else it would be easily integrable just like the other providers. You can see further at `next-auth -> core\\lib\\oauth\\callback.js:103`, and a [Vercel/Next discussion](https://github.com/vercel/next.js/discussions/42732) about why request is not accessible on the backend upon callbacks.\n- With a hope that steam will upgrade their implementation like the other providers, this package could implement those changes to support steam newer implementation, which eventually we hope that NextJS will have it as part of their providers implementation.\n\n## ⏳ Something went wrong\n\nLet us know about the issue, you can open an issue on the [Github repository](https://github.com/HyperPlay-Gaming/next-auth-steam) | PR's are welcome and it is helpful not only for us, but for everyone else who uses the package & future engineers who require it.\n\nWe highly suggest you to make sure that the package is updated to latest version, as we may need to update the implementation as per times changes.\n\n## 🕹️ HypePlay Labs .Inc\n\nA web3-friendly game store from the future. The [HyperPlay](https://www.hyperplay.xyz/) Store also aggregates Epic Games, GOG, and Amazon Prime Gaming.\n","readmeFilename":"README.md"}