Issue: Currently backend is hosted on Render's Domain and frontend is on Vercel domain, so while authentication cookies are being set on Render's domain so they are not accessible in the frontend (Vercel domain), due to security reasons browser doesn't allow it.
Solutions:
- Create sub-domains with the same domains second-level and top-level domains, so that cookies can be accessed
- Host both frontend and backend on the same domain