It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to login to Jira after enabling Crowd SSO

I have a Jira docker image set up to communicate with Crowd. The login with Crowd users works when SSO is disabled, but I cannot login to Jira with any user at all once I enable SSO using Crowd.

Following this guide, I made the following changes to my Jira Docker image:

seraph-config.xml was changed to:


<!-- CROWD:START - If enabling Crowd SSO integration uncomment the following SSOSeraphAuthenticator and comment out the JiraSeraphAuthenticator below -->
<authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>
<!-- CROWD:END -->

<!-- CROWD:START - The authenticator below here will need to be commented out for Crowd SSO integration
<authenticator class="com.atlassian.jira.security.login.JiraSeraphAuthenticator"/>
CROWD:END -->

 

I also added a crowd.properties file that contained the following information:


application.name jira-8
application.password test
application.login.url http://crowd-url/crowd/console/

crowd.server.url http://crowd-url/crowd/services/
crowd.base.url http://crowd-url/crowd/

session.isauthenticated session.isauthenticated
session.tokenkey session.tokenkey
session.validationinterval 1
session.lastvalidation session.lastvalidation
cookie.tokenkey crowd.token_keyroot@<key>:/opt/atlassian/crowd/client/conf#

 

After I make these changes and restart the Docker container, I'm unable to log in to Jira with any credentials (I tried both Crowd credentials, and Jira local credentials)

1 answer

0 votes
Bruno Vincent Community Leader Jun 30, 2019

Hi @Armaan Bajwa 

You cannot login with a Jira internal directory user once Crowd SSO is enabled, it is a known limit as per Atlassian's documentation (see section 2.2).

Regarding Crowd users, this might have something to do with IP addresses consistency or your SSO domain name. I suggest that you set the following property in atlassian-jira/WEB-INF/classes/log4j.properties and restart Jira. You will then get more information in atlassian-jira.log that should hopefully help you to understand what is going on here.

log4j.logger.com.atlassian.crowd.integration = DEBUG

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Metrics Fun: 2019 in Review

Hello, Atlassian Community!  I thought it would be fun to do something different for my teams' last retrospective of 2019 so I'm planning to do a "year in review" with info-graphics.  Wha...

194 views 3 3
Join discussion

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