Next.js Discord

Discord Forum

Express -Next-Auth

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
I have Next js as front and Express as back
Im using jwt in the back after login should I use next-auth ?
or there is any way to combine them for example use Google auth in Next Auth and pass the jwt to server ??

what is the correct way ?

12 Replies

Masai Lion
i am using next-auth, jwt and google auth in the same app so i think that the answer is yes @Asiatic Lion
Asiatic LionOP
@Masai Lion thanks for ur answer but u are using Next API ?
or external server like express
@Asiatic Lion or external server like express
Masai Lion
no no only next
Asiatic LionOP
so i asked about Next as front and Express as back
😄
Masai Lion
so my answer those not work ?
Asiatic LionOP
nope :/
I didnt find any information about it in google
@Asiatic Lion I didnt find any information about it in google
Masai Lion
ok sorry
Asiatic LionOP
Thanks for you try :).