Can subdomains be used in crowd across components as long as they're in a common domain?

Matt Ingenthron May 4, 2014

If I have, for example...

Crowd at http://www.example.com/crowd<br< a="">>Jira at http://www.example.com/issues
Confluence-A at http://www.example.com/wiki
Confluence-B at http://confluence.internal.example.com

And I have it set up with .example.com the domain for SSO, should everything work?

At the moment, I'm finding the ones at .internal.example.com seem to auth, and even get their cookies in the .example.com domain, but there is no SSO when going to one of the others. The same login credentials work, but one must re-login.

1 answer

0 votes
Tiago Comasseto
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 8, 2014

Hi Matt, Crowd SSO depends on creating a cookie in your browser and cookies can't be created with more than one domain, so SSO won't work across domains. You should set the domain cookie in Crowd according to the example in this doc.

I hope it helps.

Cheers

Matt Ingenthron September 8, 2014

There is a common domain though. See my question above. Both ".internal.example.com" and ".example.com" are in the .example.com domain, so if the cookie is set there, the browser sends it to both. I later learned this is possible with upgrades to crowd and confluence. Earlier versions didn't handle cookies properly (IMHO).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events