Next 14 auth with external backend
Unanswered
Philippine Crocodile posted this in #help-forum
Philippine CrocodileOP
Hi devs, hope you are doing great.
I am very new to next js. I have a separate backend service on express js with a jwt access & refresh token based authentication. I am struggling to add authentication in my next 14 app. Can someone please tell me the steps to perform auth with my backend & so that I can call my protected backend service apis both from server and client pages. Do I need to use next Auth package here ? I have no idea if any resource available please provide me it will be very helpful. Its looking so complicated for me!
I am very new to next js. I have a separate backend service on express js with a jwt access & refresh token based authentication. I am struggling to add authentication in my next 14 app. Can someone please tell me the steps to perform auth with my backend & so that I can call my protected backend service apis both from server and client pages. Do I need to use next Auth package here ? I have no idea if any resource available please provide me it will be very helpful. Its looking so complicated for me!