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

REST API giving 401 "Application failed to authenticate" when passing crowd admin creds via basic auth

Omar Padilla July 29, 2012

I downloaded crowd a few days ago. I want to integrate it with our custom applications so that users can benefit from SSO. We are a Microsoft shop.

I see that Crowd has a REST API. I'm trying out this call in a browser:

http://host:8095/crowd/rest/usermanagement/4/user?username=dude

I get prompted with the standard basic auth login/password dialog. I enter the crowd administrator username/password that I setup when I installed crowd, but they're not being accepted.

Is there a setting/config setup that I'm missing?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

7 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2012

You should not be using a admin username/password while connecting to Crowd REST service.

Instead, register an application in Crowd and use its username/password. Only applications can connect to Crowd REST services and not individual users.

TAGS
AUG Leaders

Atlassian Community Events