Next.js Discord

Discord Forum

Nextjs Cookies & Axios Interceptors

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
So I have an existing API that I've built out that is responsible for auth etc. I've realized that cookies from my client dont get passed to the server when doing server actions automatically. I've setup axios interceptors to add those cookies to each request. Is this insecure?

0 Replies