Access to DOORS with OSLC
![]()
Nicola Carusi (28●10●11)
| asked Jun 20 '14, 8:58 a.m.
retagged Jun 22 '14, 9:46 p.m. by Donald Nong (14.5k●6●14) Hi guys! I'm trying to get the http://localhost:8080/dwa/rm/discovery/catalog but first I have to authenticate myself with OAuth. I'm following this steps: Step1 GET request to http://dwa.amsspa.it:8080/dwa/oauth-request-token with this header: oauth_consumer_key: nicola oauth_nonce: MUT31K635E1 oauth_signature_method: HMAC-SHA1 oauth_timestamp: current time stamp oauth_version: 1.0 oauth_signature: my signature I'm getting the following response: oauth_token=0d4be670-097d-491c-bfc8-cf3e856bf336&oauth_token_secret=RhGe2q75%2BHHMZMKnZA72zbEToTSuTwVZIBO%2FjeOHuRG%2BAsT5IpG6lpv217TwdNONhTMUJQDK00WYOMlpofFhTPRXtW5MJKVdE122t9AUaBU%3D Step 2 URL: http://dwa.amsspa.it:8080/dwa/oauth-authorize-token At this point if I make a GET request I obtain the following: Status code: 200 Body: an HTML form to authenticate
If a make a POST request I obtain the following: Status code: 302 Location: http://dwa.amsspa.it:8080/dwa/oauth/oauth_login.jsp Body: empty
The question is: which is the correct step? And the following one? Thank you Nicola |
4 answers
![]()
Hi Nicola,
I retag your post since you are not using RDNG, but DOORS Web Access. Check below articles and see if you can find any hints.
https://jazz.net/forum/questions/80608/oslc-access-to-ressources-how-to
http://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/index.html?ca=drs
If you cannot get a satisfactory answer here, you may consider posting on the developerWorks forum which is also quite active.
https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000001499
|
![]() Hi Donald, I'm using exactly your article and I'm stopping to step2. What I am not able to understand is: what does it means
"Login to DWA using the following URL, to authorize the oauth_token obtained in the previous step:
Is it necessary a POST or a GET request? Do I have to insert all the headers for OAuth? Do I have to insert also username and Password?
Thanks
Comments It seems to be expected and you do need to use your username and password to authenticate. See below post for some similar cases.
|
|
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.