Sharing auth between Confluence and Jira?

Mikhail T September 5, 2013

Though it is exactly the same group of users, that access both Confluence and Jira in our setup, each user still needs to login separately to both.

Is there a way to unify the login? Both system are accessed through the same vhost here: example.com/jira and example.com/wiki, so sharing a cookie should not be a problem. Can it be the same cookie (with the Path set to "/"), however?

Thanks!

3 answers

0 votes
HarryH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2013

Yes, Jobin is correct, besides this, you might be interested in this. https://confluence.atlassian.com/display/DOC/Setting+Up+Trusted+Communication+between+JIRA+and+Confluence

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2013

You are looking at Single Sign On. Have a look at Crowd.

0 votes
Mikhail T September 5, 2013

Thanks, Jobin, for the prompt answer. However, we already have the single auth backend -- the corporate Active Directory. Both applications access it in exactly the same way... Is there a way to make them see and respect each other's auth-cookies?

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 5, 2013

You can write your own authenticators for both JIRA and Confluence to talk to any SSO solution. Sharing the same user base is only the pre-requisite.

JIRA and Confluence already support the Crowd authentcator but that is useful only if you buy Crowd.

Mikhail T September 5, 2013

There are two cookies in my browser right now -- both are from the same server (one hosting both applications), both are named JSESSIONID, with the cookie's path set to "/jira/" for one cookie and "/wiki" for another.

It would seem, if both apps could be persuaded to use the path of "/", the Java session could be shared and the auth information with it...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events