Next.js Discord

Discord Forum

How to handle Auth in Nextjs

Unanswered
English Angora posted this in #help-forum
Open in Discord
English AngoraOP
Hello friends i am starting implementing Auth in Nextjs but don't know which way i choose, all auth handled by another server, from my Nextjs server i want only send credentials and jwt to another server and also want to protect my routes and api routes please give me an idea to how i implement this

1 Reply

Toyger
you can try it with custom provider in nextauth