Auth in confluence drops JIRA authentication

Andrey Pechnikov January 12, 2015

Hello all!

A have a trouble here, could you help me please?

A have an application link between JIRA and Confluence, both are connectred to Active Directory. I'm working in a single browser (Chrome) with both of them. When i authenticate in Confluence, JIRA authentication drops and vice versa.

So, for example in Activity stream there's a warning: 

"Additional information may be available, please authenticate for more information:"

After authentication nothing happens but dropping auth in JIRA and I have to log in again and this warning is showing again.

1 answer

1 accepted

3 votes
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 13, 2015

This commonly happens when you have JIRA and Confluence installed on the same server, listening on different HTTP ports, and accessed via the same URL.

This is because JIRA and Confliuence borh use the same cookie to track login sessions, and unfortunately the cookie spec ignores the port, so the same cookie is being sent by the client to both applications.

The solution is to configure one or both of the applications to listen under a context path, or to rename the cookie that one of the applications uses for authentication.

Here is the relevant knowledge base article for JIRA: https://confluence.atlassian.com/display/JIRAKB/User+is+Constantly+Logged+out+of+JIRA

And here's the one for Confluence: https://confluence.atlassian.com/display/CONFKB/Logging+into+Another+Atlassian+Application+Logs+Me+Out+of+Confluence

 

Suggest an answer

Log in or Sign up to answer