We are having a requirement to implement Crowd SSO integration with Jenkins. We have gone through the below URLs.
I think this solution works partially, when we login to Jenkins we get automatically logged into JIRA and Crowd.
However, when we log out or log in to Crowd or JIRA, we don’t get logged out or logged in to Jenkins automatically.
We even gone through the suggested options mentioned in atlassian community by setting the session validation value to 0, but it doesn’t seem to work in my case.
Can you provide a solution or suggestions how to get this done. Your urgent help will be highly appreciated.
We are experiencing the same issue.
If you log in to Jenkins then SSO back to JIRA or Confluence works. However if for example you log in to JIRA first you are prompted for your credentials when you go to Jenkins.
I can confirm that the crowd.token_key that is set when I log in to JIRA is the same when I go to Jenkins but SSO is not working.
Is there any update on how this can be resolved?
In Varsha's case we discovered that the Crowd 2 plugin from Jenkins has only been tested up to Crowd 2.3:
This plugin has been tested with Jenkins 1.431 and Crowd 2.3.x
One of the comments at the bottom of the page linked above describes a similar issue (SSO not working properly with Jenkins) on Crowd 2.11. If you are using that plugin, the issue could be with the plugin, in which case we are not likely to find a workaround in Crowd.
@Brian Cullen Do you have a support agreement with Jenkins? If so, perhaps they could shed some light on how to workaround the issue or when an update for the plugin is due to be released.
I did some research on Jenkins' Jira issue tracker and found one case (SSO not working) where similar symptoms were solved by adding the trusted proxies in Crowd as described in Configuring Trusted Proxy Servers. It is not clear what version of Crowd was being used, but as the ticket is from 2014 it is not a later one.
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot