Concrete guide for Credentials Provider with T3 + Next auth?
I've been trying to implement the credentials provider with standard email + password authentication for this whole day.
I haven't been able to get it to work, there are always errors like 'JWEDecryptionFailed: decryption operation failed'.
I also haven't been able to find a proper tutorial explaining it with t3, there are existing tutorials for the credentials provider, but it is often difficult to peace everything together bit by bit.
Given that 99% of webpages allow users to sign up with email + password, is there any existing Github repo you can recommend for this scenario?
5 Replies
Thank you!
Do you also have an example that includes credentials + an auth method like FB in one, as handling the db adapter to work with credentials + other methods is often pretty cumbersome from my experience.
Nope, but it should be same. Just add new provider and remove login page so it uses next default login page
So remove signin page from [next-auth].ts
I think there are a bunch of other tables needed in the db, for it to work properly with the adapter, but thanks for your help!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View