Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins with Github and OAuth Stuck in Redirect Loop on Login

I have successfully set up Jenkins to pull from my private github repo and build my project, run tests, etc. What I want to do now is automatically build when I push to master.

I have installed the Github OAuth plugin and set it up through Github, but when I log in Jenkins is stuck in a redirect loop.

I registered a new application in Github and set the following values;

Name: Jenkins
URL: http://myServer:8080
Callback URL: http://myServer:8080

I cannot find anywhere in any documentation what the correct value for "Callback URL" should be. Is this why it's redirecting?

like image 426
Travis Webb Avatar asked Sep 01 '25 03:09

Travis Webb


1 Answers

Finally found it:

Make the callback url look like: http://myserver.com:8080/securityRealm/finishLogin

like image 127
Travis Webb Avatar answered Sep 04 '25 17:09

Travis Webb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!