Manish
BABetter Auth
•Created by Manish on 4/20/2025 in #help
Cookies not saved in production
I have a node/express backend and a vite react frontend. They are on different urls:
Backend: http://my-backend.vercel.app/
auth.ts looks like this:
Frontend: https://my-frontend.vercel.app
On local it works fine. But on production, it calls the api, but the session cookie doesn't get saved.
Can you please help with what's wrong here?
4 replies