I use Laravel as a REST API - communicating with a SPA over on another domain.
I need help in sending the CSRF token over to my app.
I cannot echo it inside a hidden field, since my SPA is on another domain.
Can I place the CSRF token inside a cookie?
How can I do it?
I could send it through a get request - but I'm not sure it's safe.
Note: to be clearer, I'm thinking of sending the token inside a cookie, on my very first Get request.
Thank you!