Unable to get SSO working with Crowd and Stash. Also wanted to enable public signup with crowd for Stash and Jenkins

I integrated Stash (3.7.1) with Crowd(2.7.1). I was able to add user in crowd and it was reflected in stash. However am not able to get SSO working. I modified stash-config.properties file and updated server.xml also (uncommented <Valve className="org.apache.catalina.authenticator.SingleSignOn" />). SSO still doesnt work (my domain is correct). What else am I missing?

Also i had installed crowd stand-alone for integration with JIRA and Confluence. But i did not understand what this meant

Crowd Client JAR

 Please make sure you use the default Crowd client JAR that ships with Stash.

Am i supposed to use some other Crowd installation just for Stash?

On another note, i was looking for enabling public sign up as well in stash using crowd. But when i enabled stash public sign up option, it creates user account in stash internal directory by default. How do i make user signup to crowd directory instead of stash internal directory? (My crowd directory has Add-user permissions).

1 answer

I was able to get SSO  of crowd working with stash by adding IPs  127.0.0.1 and 0:0:0:0:0:0:0:1 to the trusted proxies list in Crowd. Stash was using reverse proxy due to which this was required

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

716 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot