Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to login to jira after jira crowd sso setup

vikrant kadam October 22, 2018

I am not able to login to JIRA but i am able to login to confluence after successfully setting up crowd.properties file and seraph-config file:

following is the crowd.properties file contents which is copied to location : 

JIRA/atlassian-jira/WEB-INF/classes

 

application.name jira dev
application.password Jad123
application.login.url http://localhost:8095/crowd/console/

crowd.server.url http://localhost:8095/crowd/services/
crowd.base.url http://sfo1atlassian-crowd-dev-01.nbttech.com:8095/crowd

session.isauthenticated session.isauthenticated
session.tokenkey session.tokenkey
session.validationinterval 2
session.lastvalidation session.lastvalidation

 

seraph-config.xml has the following contents as commented and uncommented pasted to location: JIRA/atlassian-jira/WEB-INF/classes/

 

<!-- 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 -->

 

the file which was used in confluence for the SSO is working since i had also setup bitbucket SSO. so i can check confluence SSO with bitbucket and viceversa but i am not able to login to JIRA

this is the file which i used for confluence which is working:

crowd.properties

application.name confluence dev
application.password Jad123
application.login.url http://localhost:8095/crowd/console/

crowd.server.url http://localhost:8095/crowd/services/
crowd.base.url http://sfo1atlassian-crowd-dev-01.nbttech.com:8095/crowd

session.isauthenticated session.isauthenticated
session.tokenkey session.tokenkey
session.validationinterval 2
session.lastvalidation session.lastvalidation

 

seraph-config

<!-- Default Confluence authenticator, which uses the configured user management for authentication. -->
<!--<authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/> -->

<!-- Custom authenticators appear below. To enable one of them, comment out the default authenticator above and uncomment the one below. -->

<!-- Authenticator with support for Crowd single-sign on (SSO). -->
<authenticator class="com.atlassian.confluence.user.ConfluenceCrowdSSOAuthenticator"/>

<!-- Specialised version of the default authenticator which adds authenticated users to confluence-users if they aren't already a member. -->
<!-- <authenticator class="com.atlassian.confluence.user.ConfluenceGroupJoiningAuthenticator"/> -->

 

Please help as i am not able to login to jira using the sso but when i disable the sso i can login.

jira version: 7.12

crowd version 3.2

confluence version: 6.10

directories used: same LDAP for jira(with same order) ,confluence(with same order) via crowd

1 answer

0 votes
Amith Mathur {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2018

Hi @vikrant kadam

Can you share the error message(s) you are getting in the log file ?  

Set the domain in the crowd.server.url and crowd.base.url to be the same, http://sfo1atlassian-crowd-dev-01.nbttech.com:8095 and restart both the instances before you check the SSO. 

You can refer to this page for the "Integrating Crowd with Atlassian JIRA". Verify if you have followed the same steps as indicated. 

Thanks,
Amith Mathur

vikrant kadam October 23, 2018

@Amith Mathur {Appfire} Tried using the same url in both the applications' crowd.properties file. Restarted both applications. Still not able to login to JIRA. It shows captcha again and again. Shows username password not valid. The steps I followed from, was the same link, "Integrating Crowd with Atlassian JIRA".

Amith Mathur {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2018

Hi @vikrant kadam

Can you share the error message from the logs? You can share the logs specific to login ones. If you are seeing any synchronization errors, let us know. 

Thanks,
Amith Mathur

vikrant kadam October 24, 2018

Which log are you referring to? atlassian-jira.log? or the atlassian-jira-http-access.log?

Amith Mathur {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2018

Hi @vikrant kadam

I am referring to the atlassian-jira.log

Thanks,
Amith Mathur

vikrant kadam October 24, 2018

Unable to paste logs here. Giving me the following error

Error

Your message was not accepted. Check for invalid HTML or try reposting as plain text

Amith Mathur {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 29, 2018

Hi @vikrant kadam

Can you check from any other browser and add the log file as an attachment?

Thanks,
Amith Mathur

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events