How can I use the Credentials Provider and the Database Strategy in a SvelteKit App? #10722
Unanswered
Maximinodotpy
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a SvelteKit App using Prisma as a Database connection, and I already have the nodemailer and GitHub providers as login methods. Now I want to add the Credentials Provider. In the docs it says the Credentials Provider can only be used with the JWT Strategy. After a quick search, I found this article describing a workaround by overwriting several callbacks in the Auth Config. I'm having trouble translating this Next Code to SvelteKit, and I was wondering if you could help me.
This is what I already have.
Thank you very much for your help and time!
Beta Was this translation helpful? Give feedback.
All reactions