Logging in to Crowd Keeps Failing and Gets Redirected Back to The Login Page
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When a user tries to log in to Crowd, the authentication keeps failing without any error message, and instead user keeps getting redirected to login page again.
Cause
The SSO Domain for the cookies has changed while users are still logged in. Indicators include
There are duplicate
crowd.token_key
cookiesSecure SSO cookies option is enabled
The SSO domain name in the General option is wrongly set
Resolution
Shut down Crowd
Clear your browser cookies
Execute the following SQL query:
1
UPDATE cwd_property SET property_value='false' WHERE property_name='secure.cookie';
Execute the following SQL query:
1
UPDATE cwd_property SET property_value=NULL where property_name='domain';
Restart Crowd.
Please be aware that when having the domain wrongly set, the application link to Crowd will also receive the same behaviour as when logging in Crowd.
Was this helpful?