v4 dynamodb adapter not working #3756
Unanswered
aoun-rizvi
asked this question in
Help
Replies: 1 comment 1 reply
-
I know I'm over a year late, but in case someone else has an issue like this, I believe the problem here is that a custom table name is not specified in the adapter. The default table name is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question 💬
I've been following the guide here: https://next-auth.js.org/adapters/dynamodb
As I try to authenticate, at some point i'm guessing it's communicating with the db, and dies. Here is the error
Surely, I must be doing something wrong.
How to reproduce ☕️
A bit more detail:
Prior to using this adapter, I got the basic github authentication working just fine.
Also, I am using a local dynamodb docker image. I have other functions in my app that work just fine with the dynemodb, so i know for sure issue can't be with the database.
Here is my schema to get the
NextAuthTable
db table upHere is my
[...nextauth].js
Contributing 🙌🏽
Yes I can help where ever I can
Beta Was this translation helpful? Give feedback.
All reactions