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

https://www.jetbrains.com/help/teamcity/upgrade-notes.html#Limitation+of+CORS+support+for+writing+operations

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?

0
1 comment

Accidentally posted to "Plugin development" forum, should be in general  

0

Please sign in to leave a comment.