Credentials Provider, Sign-in with Ethereum, and Users #5546
rhinodavid
started this conversation in
Ideas
Replies: 0 comments
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.
-
I'm starting to experiment with Sign-in with Ethereum (SIWE). They have docs on how to use SIWE with NextAuth, and I was able to get an implementation working fairly easily. However, the implementation uses the
CredentialsProvider
and here's where I run into problems. From the docs:And a stern warning:
I understand the desire to steer developers away from a username/password strategy, but SIWE is a far cry from that. Theoretically it should be at least as secure as OAuth.
I have a few ideas for possible solutions:
EthereumProvider
and addethereum
as a first-classProviderType
alongsideemail
,oauth
, andcredentials
.CredentialsProvider
to add an override to enable persisting users.Thanks for taking the time to read this and I'm looking forward to folks' thoughts.
Beta Was this translation helpful? Give feedback.
All reactions