I\'m using the github oauth plugin for our logins but for all of our users in the Organisation I get an error:
Access Denied
is missing the Ov
Also check the case user names in the authorizationStrategy
element. I made my new user's name lower case and restarted the service and it the error went away.
I had a similar problem I was not able access Jenkin account and the system was locked. I had only an error message. "Access Denied "
When I tried to reinstall Jenkins then it prompted to Repair option. By clicking Repair option it fixed the problem.
I am using Crowd 2 plugin and I have the same problem. I fixed it by downgrading OWASP Markup Formatter Plugin from varsion 1.2 to version 1.1 and then changing Markup Formatter in Configure Global Security value to Raw HTML, before it was Plain text.
This is how I resolved the authentication problem:
Edit config.xml
file, e.g.
sudo vi /var/lib/jenkins/config.xml
Change useSecurity
element's value to false
, e.g.
<useSecurity>false</useSecurity>
Remove authorizationStrategy
block
Restart Jenkins: /etc/init.d/jenkins restart
.
I had the same problem before, your OAuth application need your organization owner's approve, then the OAuth Plugin can access the private data in it
What I did when I got this error is to edit config.xml as mentionned by other users and correctly re-add my username in LOWERCASE in "configureSecurity" Jenkins' page. I was using "KrustyHack" when adding permissions but it didn't work. I had to add "krustyhack" instead, and it worked.
I hope it helps.