-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
status code: 403, reason phrase: Forbidden #469
Comments
I solved this problem |
@ToShared Where should I run that shell command? |
Here |
To disable CSRF, it can be done with groovy, open "Manage Jenkins" / "Script Console"
|
Problem persists after executing both scripts on 2,280. Any updates? |
New feedback, I'm using Jenkins version 2.289.1, met the same issue and solved by running shell |
Why do people think disabling CSRF protection is an acceptable workaround? We should not have to reduce our security posture just to use this API client. |
will this project update for CSRF? |
resolved |
JenkinsServer jenkins = new JenkinsServer(new URI("url"), JENKINS_USERNAME, JENKINS_PASSWORD);
if (jenkins.isRunning()) { jenkins.getJob(JENKINS_JOB).build(); System.out.println(jenkins.getJob(JENKINS_JOB).getLastBuild().details().getResult()); }
i set the correct username and password. but still status code: 403, reason phrase: Forbidden
the jenkins user is super admin
The text was updated successfully, but these errors were encountered: