I have multiple subdomains.
main domain is wordpresss site. I use it's cookies to login to other site. One of my site is django based the session authentication works perfectly. but When Axios sends request to server. it doesn't send the main website cookies
ps.com Main Site
subs.ps.com React Site
dj.ps.com django Site
i am making request from React site to django site i need react axios to contain the main site cookie.
i have tried withCredentials = true
. that doesn't work
response of url when get normally. ( if user is logged in )
https://personalshopper.personalisedstories.co.uk/subscriptions/user-detail/
{"username": "Test Customer"}
but with react i get only 401 status code.