Answer the question
In order to leave comments, you need to log in
How to send request on axios with SameSite=None header?
Hi all.
I am making an application in which I send bundle.js to another domain, the application opens in another domain.
Backend on laravel, front on reactjs.
Cors policy is set, post get requests go through fine.
But there is one problem, I can not send cookies if I make a request from another domain.
The Internet browser writes that the problem is that SameSite=LAX (I'm adding a screenshot)
I need to change SameSite to None and I can't find anywhere how to do it in the outgoing request.
I spied that this is possible, for example, here paypal indicates samesite=none in the attributes.
Here is the screenshot.
Let me know if anyone knows how to solve this problem.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question