When to use next-auth
If I only plan on only using credentials i.e not using providers like discord, github, etc. Is it worth using next-auth or am I better of making my own custom authentication?
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
So far, I am having a hard time with nextauth and now im wondering if its even recommended for a use case where I do not plan on using third party providers...
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ive done custom auth with react and express before...
Although sure ill look more into there docs
Expanding the question (maybe off-topic (?)):
should i be calling prisma or tRPC in nextauth? Because im trying to import tRPC in nextauth and it doesnt seem too happy about it...
any example project with t3 and custom auth would be of great help too