Questions tagged [x-xsrf-token]
98 questions
2
votes
0 answers
Angular2 track file upload progress with Http api
How to use angular2 HTTP API for tracking upload progress?
I can do it with native javascript XHR method. But XHR method does not provide XSRF protection whereas HTTP API provides XSRF protection by setting XSRF_TOKEN cookie.
I need both XSRF…

LokiKartik
- 91
- 10
1
vote
0 answers
XSRF Token validation fails in ASP.NET Core with separate machine to serve Angular
I am working on a dotnet core API 6.0 with separate machine to serve Angular 13 application.
I am trying to secure my application with CSRF-Token. I am setting XSRF-TOKEN cookie from C# and withCredentials as true in Angular app, also sending header…

Sunil Chaudhry
- 263
- 5
- 22
1
vote
1 answer
Basic authentication does not work with XSRF token interception
I am implementing a simple authentication API that is configured with Spring Boot to be accessed via Basic Auth. This is a simple GET API without any parameters used only to force the browser to trigger the authentication…

Stefanos Kargas
- 10,547
- 22
- 76
- 101
1
vote
0 answers
Getting _blazor/negotiate forbidden error 403 on Linux CloudFoundary
While negotiating connection Blazor server app throws forbidden error 403 on Linux CloudFoundary server while posting https:///_blazor/negotiate?negotiateVersion=1
Response [{"logref":"eae1ffae68f342bdb285e0caa3dc6265","message":"Gateway…

RANDEEP CHAUDHARY
- 11
- 1
1
vote
1 answer
How to programmatically login in Cypress for PHP larvavel session website
I writing testing code in Cypress.
UI login has been tested with no problem, but in order to test other parts of the website, I'd like to programmatically log in for quick testing.
The website is written in PHP and uses laravel session in the…

michelle2014
- 23
- 5
1
vote
1 answer
Tinymce injection security
I have public editor where users can share notes using TinyMCE but I'd like to prevent them of inserting JavaScript or SQL (any type of scripts) in this editor.
So my question is: how?
Here is my editor code