How to access CSRF token in fronted when API is on different domain?
I am building a website with a separate Javascript frontend and a Django backend. My backend uses CSRF protection.
Now the problem is that the CSRF token is being set on the client side as a cookie on the backend’s domain, e.g. api.example… Continue reading How to access CSRF token in fronted when API is on different domain?