Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

97 views 1 0
View question

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