You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I've set up SSO according to the documentation with a top level domain (using domain.com for the example). However, this is not according to RFC6265 which Crowds tomcat appears to use internally. Giving me the following error:
2018-04-25 13:21:28,532 http-nio-8095-exec-6 ERROR [crowd.integration.springsecurity.AbstractCrowdSSOAuthenticationProcessingFilter] Unable to set Crowd SSO token
java.lang.IllegalArgumentException: An invalid domain [.domain.com] was specified for this cookie
Is there any documentation on how to resolve this?
Hi @SMillerNL
You just need to remove the leading "." character from the SSO domain value in the General Options of your Crowd server. For instance domain.com instead of .domain.com
Alternatively you can override the cookie.domain property in the crowd.properties file of your application.
Will try that, thanks. Is there any way to ask Atlassian to change the documentation to reflect that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I'm using crowd 3.2 so the properties file won't help me unfortunately.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're right. I should have been more specific. Overriding the cookie.domain property in the crowd.properties file is actually an option for applications connecting to Crowd (including Crowd itself if version is < 3.0).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BTW if you can't login to remove the leading "." character from the SSO domain value through Crowd's console, you can reset it directly in the database: https://confluence.atlassian.com/crowd/resetting-the-domain-cookie-value-97911346.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.