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

0 votes
Answer 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 Sign up to answer
Community showcase
Published 7 hours ago in Opsgenie

Getting the Most out of Atlassian and Opsgenie Together

We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...

15 views 0 0
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