Crowd with Jira, and other custom apps

I have this weird issue that manifests itself in a couple of different ways.

First, when I add users for jira access in crowd, they will not be able to log in to jira until I have them log into confluence first. So, they request access, i add them in crowd, they go log in to jira and get an authentication failure. I ask them to log into confluence, then log into jira again, and it works.

Second - and similar - I developed a custom REST client that we are using with Spring security. We have a very similar situation - a user requests access to our web app that uses spring with the REST client - they get authentication failed. If they go log into the crowd web app, an then go back and try again in our web app, they get in. Very strange!

Any thoughts on either?

2 answers

1 accepted

For anyone interested, i figured this out - i was passing the wrong credentials to the REST API by accident.

So, I see this in the logs for crowd:

[crowd.manager.application.ApplicationServiceGeneric] User does not have access to application 'crowd' as the directory is not allow all to authenticate and the user is not a member of any of the authorised groups

i add the user to crowd-administrators, and auth with the custom app works. Is this correct? Why would I need to add users to crowd-administrators in addition to the directories visible to the custom app? Am i doing something wrong?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,174 views 6 19
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