Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

SSO domain invalid after moving to production

Good day,

We decided to implment Atlasian crowd in our intrastructure after some testing. So we created a new server and added it to our main database server postgresql as backend.


I exported the configuration "with out domain" and imported it back into crowd production, the inport goes well and all the users are able to login. When that worked we implemented the SSO again and that is where we are stuck...


We did evyerhing as in our test instance, but the SSO domain as .domain.tld and enabled the SSO cookie option.

After saving it seems to work,, but when I login as administrator to the CROWD console I see the logs spamming with the following error:

ERROR [crowd.integration.springsecurity.AbstractCrowdSSOAuthenticationProcessingFilter] Unable to set Crowd SSO tok$
java.lang.IllegalArgumentException: An invalid domain [.domain.tdl] was specified for this cookie

We use the following setup

Backend: Postgresql 9.4 on a UBUNTU 16 LTS

Crowd server: Ubuntu 18.01 LTS and OpenJDK-8-JRE-HEADLESS

Haproxy latest as our main proxy for SSL offloading


Can somebody point me in the right direction?


1 answer

1 accepted

1 vote
Answer accepted

Hi @schuurdeur

You just need to remove the leading "." character from the SSO domain value in the General Options of your Crowd server. For instance domain.tld instead of .domain.tld

That worked, thank you!

But then the Documentation is "wrong".

Example 1: If you wish to have single sign-on (SSO) support for *, you will need to configure the SSO domain in Crowd as — including the full stop ('.') at the beginning. All your Crowd-connected applications must be in the same domain. For example:

You're welcome! Yes, you're right, the documentation definitely needs to be updated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

📅 Partner Webinar & Events Opportunities: July 2022

Hi community 👋, Here is another monthly roundup of the partner-organized events in July 2022. If there is any event missing please let me know in the comments below 🙏 If you're looking for Atla...

29 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you