Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RESTful Authentication RTC 6

 Good Day,


I am really scratching my head here trying to get authentication to work over REST against RTC 6.0.4

I have tried with both Chrome Postman and Linux Curl:

I refer to the "two step process" where a request is set to get a session cookie:
curl -A "MS Internet Explorer" --header "Accept: application/xml" -v -k -j -L -b ./cookies.txt -c ./cookies.txt "https://<host>/jts/authenticated/identity"

*Using this I do not get any session cookie. I have also tried leaving out -A option or defining it as firefox/chrome

Then the second step:
curl -A "MS Internet Explorer" --header "Accept: application/xml" -v -k -L -b ./cookies.txt -c ./cookies.txt "https://<host>/jts/authenticated/j_security_check?j_username=<un>&j_password=<pw>"

I get “You have followed a direct link to log in to a Jazz server.  This page has been presented to ensure that a malicious website cannot use cleverly crafted content to circumvent security. Please log in if you would like to access the server.”

Please could someone share a working RESTful auth on RTC 6+?

Thanks,

0 votes



One answer

Permanent link

 Please see https://jazz.net/wiki/bin/view/Main/NativeClientAuthentication

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 479

Question asked: Oct 17 '18, 9:31 a.m.

Question was seen: 3,475 times

Last updated: Oct 17 '18, 9:38 a.m.

Confirmation Cancel Confirm