Web3 as provider in NextAuth v5 #10300
Unanswered
damianlluch
asked this question in
Help
Replies: 1 comment
-
I also have the same problem. Currently, SIWE can only operate on next-auth 4.2.x, and the files are only updated to 4.2.x. The files and examples of auth.js v5 are very much needed. This is the latest example I can find so far (provided by WalletConnect) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have implemented NextAuth v5 with email and password without problems.
Now, in a different scenario, I now need my provider to be for example my Metamask or WalletConnect.
I have my
auth.config.ts
fileAnd my
auth.ts
fileand in my component, I have this function:
This function that runs after connecting my wallet, for signing. It runs the signature correctly, but then, for reasons I don't know, the application redirects me to :
http://localhost:3001/api/auth/error
I've put breakpoints in many places, but internally something in NextAuth runs so fast, it's impossible to see the error message, and it instantly redirects me to that URL.
Any suggestions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions