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

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
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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

495 views 6 11
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