How to save login session after browser window closed

I would like to configure my applications (Crucible & Fisheye, Confluence, Jira, Bamboo all of which use Crowd with the SSO option) to persist their login information across having the browser window closed. Is this possible?

I have verified that cookies are not being auto deleted by the browser when the window is closed however the sessions aren't persisting. I'm not seeing a ready way to address this in the documentation. I have already increased the session timeout to one day which should be the frequency my users need to log in.

Each application is running on a dedicated box, mostly Linux based. The context for all applications (other than bamboo) is set to be the root.

1 answer

Hi Tim,

Actually this problem is related with the context path. Basically it seems that all the requests are coming from one host. For example, http://localhost:8085 -> Confluence http://localhost:8090 -> JIRA http://localhost:8095 -> Bamboo.

We have to create a context path, making Confluence be like this: http://localhost:8085/Confluence JIRA: http://localhost:8090/JIRA, that why Crowd will know which cookie to get.

To create a context path for Confluence you should check this documentation: https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy

For Bamboo:
https://confluence.atlassian.com/display/BAMBOO/Changing+the+Root+Context+Path

For Fisheye:
https://confluence.atlassian.com/display/FISHEYE/Configuring+the+FishEye+web+server

For JIRA:
https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache

I hope this helps.

Cheers,

WZ

My applications each have a dedicated server to support them and none are using Apache as a front end. As such I specifically want to keep the context path as root for these hosts. Any other suggestions?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

921 views 5 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot