I have a virtualhost in laravel who use Airlock for handling authentication. In a SPA i make a request with axios to get the CSRF token that i would use for login according to documentation.
But i can't make the response set the cookie. I have no cors problems and i can see the csrf token in the response but the set-cookie header seems ignored. For testing i put the samesite to none. I turn off http_only and i don't know what more I can do.
I also put the two instances on "same domain" (/etc/hosts) to avoid a warning in the network which said this set-cookie domain attribute was invalid with regards to the current host url
but that's not the solution.
Thx