Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,332,706
Community Members
 
Community Events
169
Community Groups

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

0 votes

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.

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

A Trello template to help you clean up your Confluence Space

Calling all Trello + Confluence users! We're celebrating all things Work and Wellness in our Confluence collection, where our team has been sharing activities to create more mindfulness around the ...

193 views 3 5
Read article

Atlassian Community Events