Authentication with db #4060
-
Hi all, |
Beta Was this translation helpful? Give feedback.
Answered by
balazsorban44
Mar 1, 2022
Replies: 1 comment
-
Hi, we have an Upstash Redis Adapter https://next-auth.js.org/adapters/upstash-redis You could use that as a starting point if you don't need the Upstash part. Here is the source code: https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-upstash-redis/src/index.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
balazsorban44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, we have an Upstash Redis Adapter https://next-auth.js.org/adapters/upstash-redis
You could use that as a starting point if you don't need the Upstash part. Here is the source code:
https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-upstash-redis/src/index.ts