The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How do I set up SSO with crowd and two jira instances on the same box?

Bryan Karsh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 19, 2012

Hi,

I am setting up crowd and two instances of Jira on the same domain: foo2.foo.net

Crowd is using port 8095 : http://jc-prod-tomcat-102.foo2.foo.net:8095/crowd

Jira 1 is using port 8080 : http://jc-prod-tomcat-102.foo2.foo.net:8080

Jira 2 is using port 8081 : http://jc-prod-tomcat-102.foo2.foo.net:8081

I can have Crowd handle centralized authentication no problem. But when I try to turn on SSO with the foo2.foo.net domain, I initially get success -- I can log into one jira -- and then the other jira without logging in again. But if I log out, I am locked out of all both jiras and also crowd. I understand from reading that this is likely due to incorrect domain settings. I've tried both '.foo2.foo.net' and 'foo.foo.net.'.

Any tips?

I am using Jira 5 and Crowd 2.4

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Adam Laskowski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 25, 2012

SSO for Crowd works via cookies for each application server. If you have more than one application running under the same context (in your case, the root context), the cookies will overwrite one another in the root context "/" and you will run into auth problems like this.

If you run your JIRA servers on separate contexts, it should clear up your issue. Example:

JIRA 1: http://jc-prod-tomcat-102.foo2.foo.net:8080/jira

JIRA 2: http://jc-prod-tomcat-102.foo2.foo.net:8081/jira2

0 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 20, 2012

What are the url's of the applications? are they like foo2.foo.net/jira or jira.foo2.foo.net e.g.

TAGS
AUG Leaders

Atlassian Community Events