Using crowd with JIRA and Confluence on single host server crowd invalidates sessions when you switch between them.

This is for a dev/test configuration where all three services JIRA, Confluence, and Crowd are running on a single host (using different ports). I have crowd working with both applications (JIRA and Confluence) and I can log into each separately. The problem is that as soon as I log into the second application, the first application requires a new login. The only diffrence between the services is the port number

So, each time I log into JIRA, it will invalidate the current Confluence login and ask me to login again. Crowd is setup to use a Delegated/Generic LDAP connection.

2 answers

1 accepted

Using diffrent address per application is the way to go. Got this answer from support...

The reason for this behavior is that the cookie is created via the domain. In this case, each service was at http://host.example.com as far as the browser was concerned. Therefore, each new login granted a new cookie which invalidated the previous one. The most common way around this is to either to us a context path (http://host.example.com/confluence) or a mixed domain (http://confluence.host.example.com).

The other way, which you have discovered, is to establish SSO with Crowd. In this situation the cookie (and token) are assigned view Crowd so for each application the token is the same so you are not logged out.

0 vote
Timothy Chin Community Champion Feb 18, 2014

Have you tried this? Let your apps have a context path. E.g. /jira or /confluence

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Feb 27, 2018 in Crowd

The Crowd team is looking for feedback on Server & Data Center customers' identity strategies!

Do you own more than one Server or Data Center product? Do you have challenges provisioning users across your Atlassian products? Are you spending a lot of time integrating each Atlassian product wit...

1,209 views 6 14
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