It's all about the answers!

Ask a question

DOORS Web Access oauth-request-token not returning anything


Sin Ly (2147) | asked Jun 15 '15, 9:36 a.m.
edited Jun 17 '15, 2:44 a.m.
I have been trying to request a token from our DOORS Web Access, but I get nothing back at all.

Is this intended behavior? or should I expect it to at least give me some indication of what I am missing?

I have tried to set the header values of:

oauth_consumer_key:

oauth_nonce:

oauth_signature_method: HMAC-SHA1

oauth_timestamp: current time stamp

oauth_version: 1.0

oauth_signature:


But I still get nothing

DWA version: 9.6

Comments
Sin Ly commented Jun 16 '15, 5:18 a.m.

Additional information from the log:


<16-Jun-2015 11:04:28> [http-bio-8443-exec-195] WARN  org.springframework.web.servlet.PageNotFound  - No mapping found for HTTP request with URI [/dwa/oauth-request-token] in DispatcherServlet with name 'WebMVC' 

2 answers



permanent link
Donald Nong (14.5k414) | answered Jun 16 '15, 10:01 p.m.
There were quite a few similar cases in the past, and you can check whether you encountered any of the known issues.
https://jazz.net/forum/questions/118465/how-to-get-the-request-token-during-oauth-dance-when-invoking-oslc-from-doors-with-lyo-eclipse
https://jazz.net/forum/questions/153236/problem-requesting-oauth-token-from-doors-web-access
https://www.ibm.com/developerworks/community/forums/html/topic?id=325e4b4b-6f11-4c88-9904-c4a5ad979e7c

If you're still having problems with it, do yourself a favor by posting the steps that you reached that error. Note that the DOORS/DWA version may make things a bit different.

permanent link
Sudarshan Rao (1963) | answered Jun 17 '15, 2:35 a.m.
I presume you've created a Local Key in DOORS, and are using those values for Consumer Key and Consumer Secret?

Comments
Sin Ly commented Jun 17 '15, 2:43 a.m.

Yeah, a Local Key has been made and used, but the request returns nothing at all.


The root services url is also not added to remote services in the DOORS client. Is that needed?


Sudarshan Rao commented Jun 17 '15, 3:00 a.m.

No, adding root services to Remote Service is not required - that's only for DOORS client to consume from another application.

The excerpt you've pasted from logs - is that the only line that's getting logged for the request? If yes, its probably better to enable advanced logging for DWA:
http://www-01.ibm.com/support/docview.wss?uid=swg21456938

This will require a restart of DWA. Once done, you'll likely find better descriptive information on the request - at the least, I'd expect to see the details of all auth headers used and an appropriate message on what's going wrong..

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.