Hi guys, for those who is using nextjs, do you use...
# orm-help
h
Hi guys, for those who is using nextjs, do you use next-auth?
m
Yes
o
Yes I do
h
What are you guys using for authentication? Directly integrated with Prisma, custom API or 3rd party?
m
Directly with Prisma.
What about you?
h
I am using custom API (Just own database fields in Prisma and etc.. ) Im just having hard time to setup refreshTokens and etc. Does the direct integration solve all those?
m
Hmm, with Google?
h
nono, integrating next-auth with prisma
m
with authentication method are you using?
h
I've made my own
JWT + Refreshtoken
m
Oh, I haven’t tried that. Andwith next-auth you probably don’t need it.
You could use some of the available methods.
h
Do you mean credentials?
m
next-auth provides you email auth, google auth, facebook auth, and so many others. For each provider, they take care of everything.
h
i do also use the credentials provider 😄
👍 1
p
yes