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

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.

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.

Suggest an answer

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

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

78 views 1 5
Read article

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