Jira + confluence authentication issue

Hi,

I'm having trouble with authentication. On the same server I have installed jira (port 8080), crucible (port 8060) and confluence (port 8090).

I have setup trusted application links between jira and crucible, jira and confluence

Jira + crucible authentication works fine. I just click on the source tab from jira and it goes where it should in fisheye.

Jira + confluence on the other end is quite problematic. Every time I switch from jira to confluence or vice versa, the authentication of the preview application is lost. Worst even, having confluence activities on the jira dashboard automatically invalidate my jira credentials making the system un-unusable.

On confluence "External user management" is checked to delegate to jira.

All applications are running as services on Win2008 server and have dedicated databases on a MS MSQL server.

Has anybody seen such issues?

Thanks

2 answers

1 accepted

Accepted Answer
0 votes

As expected both applications were using the same cookie for storing the session. I modified the registry according to those instructions:

https://confluence.atlassian.com/display/CONFKB/Logging+into+Another+Atlassian+Application+Logs+Me+Out+of+Confluence

Hi Damien,

i am missing a name like "Crowd" i.e. to provide (what i think your goal is) some SSO feature.

telling confluence to use jiras user directory won't enable single-sign-on between both applications.

that's where Atlassian Crowd is comming in pretty smooth.

this will allow (after some few configuration) accessing all your apps with only one active login session.

is this what your aiming at?

sorry if i may misunderstood your request

Hi thanks for helping!

It is not just a mising SSO feature (which is you are correct the intended target) but a bad configuration or bug; I'm not sure.

I try to explain the authentication problem again as a workflow

  • I open let say confluence a tab and log in: no problem
  • 10 seconds later I open jira in a second tab or window and log in: no problem
  • 10 seconds later I go back to the first tab: my confluence session is not valid anymore
  • I log again in confluence
  • 10 seconds later I go back to the jira tab: my jira session is not valid anymore

It looks to me that both application would be sharing / deleting each others session.

Because of this, if i log into jira, my jira session is instantly deleted because the activity stream set on the dashboard is collecting data from confluence.

So the problem is that I cannot be logged on both systems at the same time and since they are sharing content, it causes some more issues.

I hope I managed to explain better this time =)

Yes there is.

Both outgoing and incoming authentication are marked "Configured" in green in both jira and confluence end.

ok. what about this KB article?

https://confluence.atlassian.com/display/CONF34/Delegate+user+management+to+use+JIRA+logins

i know it is for earlier release of confluence but there may be some similar settings to make in your installation.

sorry i never did this in our installations. we use crowd from the beginning so i can only do some web research as well

I managed to fixed the problem.

As expected both applications were using the same cookie for storing the session. I modified the registry according to those instructions:

https://confluence.atlassian.com/display/CONFKB/Logging+into+Another+Atlassian+Application+Logs+Me+Out+of+Confluence

Thanks for the help!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,451 views 2 7
Join discussion

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