RTC REST: Getting authrequired even when sending user/password
![]()
Hi
I am trying to access basically functionality in Jazz using curl. I am sending my user and password (Basic Auth) and I get "authrequired" even though I'm sure the credentials are correct. Any thoughts?
$ curl -i -k -u myuser:mypwd "https://myserver:9443/jazz/whoami"
HTTP/1.1 302 Found
Server: Apache-Coyote/1.1
Cache-Control: private
Expires: Wed, 31 Dec 1969 18:00:00 CST
Set-Cookie: JSESSIONID=E5A6248CA48EB036B0704AEAF2A2A970; Path=/; Secure; HttpOnly
X-com-ibm-team-repository-web-auth-msg: authrequired
Location: https://myserver:9443/jazz/secure/authenticated/identity?redirectPath=%2Fjazz%2Fwhoami
Content-Length: 0
Date: Fri, 03 Jun 2016 19:07:39 GMT
|