Cross-Site cookies is not working in netlify deployment
When a successful login occurs from the backend, I’m trying to set a cookie, but it’s coming up as ‘undefined’ on Netlify, while everything works fine on localhost. When I check the Cookies from the application tab in the browser’s inspect tool, the cookie is visible, but when I try to retrieve it using Cookies.get() from js-cookie, it returns ‘undefined’. CORS origin is set to the site’s link in the backend with ‘credential true’.
Netlify live link: https://workmanager-srijonashraf.netlify.app/
Cross-Site cookies is not working in netlify deployment
When a successful login occurs from the backend, I’m trying to set a cookie, but it’s coming up as ‘undefined’ on Netlify, while everything works fine on localhost. When I check the Cookies from the application tab in the browser’s inspect tool, the cookie is visible, but when I try to retrieve it using Cookies.get() from js-cookie, it returns ‘undefined’. CORS origin is set to the site’s link in the backend with ‘credential true’.
Netlify live link: https://workmanager-srijonashraf.netlify.app/