I have a job that I'm triggering remotely using the "Trigger builds remotely" trigger along with an authentication token. However, even though the authentication token is required as part of the request, I still need to acquire a crumb using
/crumbIssuer/api/json and pass it in the
Jenkins-Crumb header.
That seems unnecessary - The purpose of the crumb is to avoid CSRF attacks, but that's already achieved through the authentication token (assuming the token is kept secret).
Is there a way I can avoid having to acquire and pass the Jenkins-Crumb for remotely triggering builds, without totally disabling CSRF protection (which is useful for the web UI)?
Thanks!