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

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

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,932 views 27 12
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