Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

0 votes
Answer accepted

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

101 views 1 0
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you