Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator does not work with Jenkins' tighter CSRF protection #40

Closed
scymtym opened this issue Sep 12, 2019 · 0 comments
Closed

Generator does not work with Jenkins' tighter CSRF protection #40

scymtym opened this issue Sep 12, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@scymtym
Copy link
Member

scymtym commented Sep 12, 2019

What did you do?

This happens whenever the generator tries to modify something through Jenkins' HTTP API:

build-generator generate …
…
No valid crumb was included in the request</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/>

Which behavior did you expect?
The request should succeed.

What happened instead?
Jenkins did not accept the CSRF protection token.

This seems to be caused by a Jenkins change that requires the session id cookie to be present in addition to a valid CSRF protection token.

@scymtym scymtym added the bug Something isn't working label Sep 12, 2019
@scymtym scymtym self-assigned this Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant