You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: