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

CSRF token not being sent #36

Open
averymd opened this issue Oct 23, 2017 · 0 comments
Open

CSRF token not being sent #36

averymd opened this issue Oct 23, 2017 · 0 comments

Comments

@averymd
Copy link

averymd commented Oct 23, 2017

CSRF tokens/crumbs became the default in Jenkins 2.0, but they don't seem to be used by this plugin. I'm getting the following error when trying to run a job:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 403 No valid crumb was included in the request</title>
</head>
<body><h2>HTTP ERROR 403</h2>
<p>Problem accessing //job/jobname/build. Reason:
<pre>    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/>

</body>
</html>

The way to get and send a token is described here. I'll try to work up a PR for this this week if no one else beats me to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant