Nekonyx / next-auth-steam

Steam authentication provider for next-auth
70 stars 18 forks source link

Prisma database example #10

Closed dexsper closed 1 year ago

dexsper commented 1 year ago

Hi, this may be useful for someone in the future, especially when using the new version of next.js and server components

With prisma, you can conveniently store sessions and user data in the database, and also pull them out (the only differences are in the actions in the callback)

Nekonyx commented 1 year ago

Hey, thanks for contributing. I will not be able to check it properly, because I do not have the necessary tools and knowledge, so I hope that there will be no problems with it.