It's all about the answers!

Ask a question

Rational DOORS Web Access OSLC oauth-request-token


Sin Ly (2157) | asked Jun 16 '15, 12:34 p.m.
 I am currently trying to use the OSLC API to retrieve the DOORS requirements using some queries. But unfortunately it does not work.

I am not able to make any request that gives any meaningful response using https://…/dwa/oauth-request-token

Another DOORS setup that is not using HTTPS, but HTTP can use the 'https://…/dwa/oauth-request-token' though, giving responses and indicating what the problem is.

So I am suspecting there must be something wrong with the setup of HTTPS SSL Certificates? 
 

One answer



permanent link
Maeve OReilly (3813) | answered Jun 26 '15, 8:28 a.m.
You need to use whatever protocol was defined in the 'dwaProtocol' parameter on the DOORS database server.  There can't be chopping and changing.  You have to use the same one everywhere or oAuth just won't work.  Same is true for the dwaHost and dwaPort parameters.    They are part of how the tokens are generated.  

I guess certs could impact, but I would look in the logs first.  server\festival\logs. I've only ever had self signed and they always work for me once I OK all the warnings.  

fyi there is sample code with the oAuth stuff here: http://wiki.eclipse.org/Lyo/BuildClient#DoorsOauthSample

HTH
Maeve


Your answer


Register or 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.