Obtaining CSRF token via CORS request
Answered
Hello,
I'm trying to upgrade my tools in order to comply with CSRF requirements introduced in the recent TeamCity versions
But it turned out "authenticationTest.html?csrf" endpoint doesn't send "Access-Control-Allow-Origin" header, so it is impossible to obtain a token for future requests.
Could you please suggest any solution here?
Please sign in to leave a comment.
Accidentally posted to "Plugin development" forum, should be in general