What users are authorized to use the REST API in Crowd?

I'm trying to use the Crowd REST API for the first time. When I access this URL, I am given a basic authentication window by my browser, but the username/password combo that I use to administer Crowd from the web interface does not work.

https://hostname:8444/crowd/rest/usermanagement/latest/user?username=adminuser

(Host and user name changed for privacy)

How does Crowd determine who has REST API access?

2 answers

Looks like the authentication is based on the application list. I created a custom "Generic Application" for my REST API queries. The basic authentication process expects the application name/key as the user name and the application password as the password. This is unclear in the documentation.

Hi Ethan,

I'm happy to hear that you solved the problem. The authentication is explained in the second paragraph of the Introduction to Crowd REST APIs. We are always open to suggestions on how to improve the documentation, please don't hesitate to share your feedback.

I missed that sentence. The page that confused me was the one named Using the Crowd REST APIs in its "Authentication" section. Part of my confusion, I believe, stemmed from the fact that the articles covering REST-related documation in Crowd are poorly named:

  1. Overview of the Crowd REST APIs
  2. Crowd REST APIs
  3. Crowd REST Resources
  4. Using the Crowd REST APIs

Along with a couple other pages with more specific names, these represent the whole set of docs. All four of these names seem to refer to the same general idea, so even when I have all four open in tabs in my browser, it's tough to figure out which one has which content.

 

Thank you, that's good feedback.

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,239 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