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


I am setting up crowd and two instances of Jira on the same domain:

Crowd is using port 8095 :

Jira 1 is using port 8080 :

Jira 2 is using port 8081 :

I can have Crowd handle centralized authentication no problem. But when I try to turn on SSO with the 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 '' and ''.

Any tips?

I am using Jira 5 and Crowd 2.4

2 answers

1 accepted

0 votes
Accepted answer

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:



What are the url's of the applications? are they like or e.g.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira Service Desk

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

138 views 0 7
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you