Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Connect to Jenkins via CAS #1674

Closed
vwbusguy opened this issue Oct 26, 2015 · 1 comment
Closed

Connect to Jenkins via CAS #1674

vwbusguy opened this issue Oct 26, 2015 · 1 comment

Comments

@vwbusguy
Copy link

The hubot Jenkins plugin is highly useful, but becomes unusable when integrating Jenkins with CAS for authentication, as hubot will be redirected to the CAS login page and then fail.

However, there are a handful of nodejs CAS authentication clients that we could use. I'm more familiar with the python, java, and php CAS client implementations, but it should nonetheless be possible to support this.

The difficulty is that using CAS credentials are given by redirecting a user to login page and storing a subsequent cookie on the app side. For this to work with hubot we would need to automate the login process on the CAS side and present the cookie in the header to Jenkins on the request. Here's an example: https://gist.github.com/dodok1/4134605

@technicalpickles
Copy link
Contributor

We are in the process of deprecating this repository, and encouraging people to use npm packages instead. If you are referring to jenkins.coffee, there is a package now at https://github.com/balbeko/hubot-jenkins you can try.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants