Can I use Email Provider without an adapter? #4047
Unanswered
amirhhashemi
asked this question in
Help
Replies: 1 comment 2 replies
-
Hey, we just run in to the same issue here? Do you happen to find a solution for this use case? |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I've set up an
GitHubProvider
without using an adapter (something like this). I handle database stuff in thesignIn
callback and everything looks good. Now I want to add support for passwordless login withEmailProvider
which requires an adapter. My current database structure is nowhere near the one that adapters expect so not onlyEmailProvider
doesn't work, I get this kind of errors when I want to login with GitHub:Now
GitHubProvider
wants to use the adapter which I don't want to happen.Also writing a custom adapter doesn't seem to solve my problem. I use typescript and the
Adapter
type still enforces the database structure that adapters expect.Is it possible to do passwordless login without an adapter?
Beta Was this translation helpful? Give feedback.
All reactions