Goodreads Developers discussion
Random OAuth failures - better diagnosis?
date
newest »



Thanks in advance.

FWIW I'm using perl and OAuth::Lite, so if you're not, at least we've eliminated that as a shared cause.
This unreliability means I'm probably going to end up putting the Goodreads-accessing component of my web app into a daemon which can continue to retry the request and not time out the client.


Would it be possible to provide better diagnosis of these failures? I realize that you don't want to say too much when a security-related request fails, but it would be nice to at least know whether it was a bad signature, expired token, bad nonce, or bad key. Ideally the OAuth Problem Reporting Extension (http://oauth.pbwiki.com/ProblemReporting) could be used to provide detailed - but not security-violating - responses.
(Of those four possibilities listed, it's clear the token hasn't expired since it works subsequently, and that the consumer key isn't bad, for the same reason. I'm not sure what would make a nonce "bad"; if I knew the signature was invalid, then at least it would be a place I could start investigating; perhaps the perl OAuth::Lite module has some bad calculations.)