Enable CSRF Protection: Ensure that CSRF protection is enabled in the Jenkins security settings. To do this:
a. Go to Jenkins Dashboard.
b. Click on “Manage Jenkins” on the left-hand side.
c. Click on “Configure Global Security” to open the Global Security page.
d. Check the box for “Enable CSRF Protection” if it’s not already checked.
e. Re-login and check now