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_signature_method: HMAC-SHA1

oauth_timestamp: current time stamp

oauth_version: 1.0


But I still get nothing

DWA version: 9.6

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.

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?

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:

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.