x-xsrf-token Questions

2

Solved

I am trying to make a POST request via an absolute URL to a Spring (Basic authentication) secured Rest API. Having read that Angular omits inserting the X-XSRF-TOKEN into the request header automat...
Intercalary asked 28/12, 2017 at 6:28

8

Solved

I've read the docs and all the related questions on SO, but still Angular's XSRF mechanism isn't working for me: in no way I can make a POST request with the X-XSRF-TOKEN header appended automatica...
Lepto asked 24/5, 2018 at 13:46

4

I have separate frontend project in Angular 2 without using MVC and backend project is Web Api (Asp.Net Core) both are hosted on different domain. I implemented AntiForgery token functionality but ...

1

Solved

Do I have to set anything to send X-XSRF-TOKEN header if I set a XSRF-TOKEN cookie server side? https://github.com/axios/axios/blob/master/lib/defaults.js#L74 https://github.com/axios/axios/blob/...
Contemplate asked 17/10, 2018 at 21:37

2

Solved

Posting data from the form submit via API was successful. But after adding X-CSRF-TOKEN to the header and setting withCredentials: true resulted data were not posted to the script named insert.php...
Einsteinium asked 15/9, 2018 at 6:20

3

In angular documentation, it is mentioned that the angular httpclient will automatically send the value of cookie XSRF-TOKEN in the header X-XSRF-TOKEN of post request. Documentation link But it d...
Suki asked 4/9, 2017 at 16:17

1

Recently Safari 11 was released on Mac OSX. This update causes problem with our webapplication in combination with XSRF on the header of our reuest. I will try to describe the problem in a logic wa...
Manipulate asked 2/10, 2017 at 12:1

1

Our Angular based webapp is integrated with enterprise portal which runs on the different domain and context path. I am using Spring Security based CSRF token for validating the incoming requests. ...
Cloying asked 20/2, 2017 at 21:12
1

© 2022 - 2025 — McMap. All rights reserved.