I'm almost done implementing an OAuth provider, starting to test some
real world application. Right now I'm using the javascript demo here:
http://oauth.googlecode.com/svn/code/javascript/example/index.html
in particular, the "get request token" part. I see that the provided
examples work.
When I try with my own provider, it doesn't work. My provider signature
verification is based on Net::OAuth. The only difference that I can see
between the generated signature and the request one is that the base
string is missing "oauth_version".
The javascript library in the example does *not* include oauth_version
in the arguments, and it doesn't include it also in the base string,
while Net::OAuth does by default, even if the request has no
oauth_version, because optional.
I will try to investigate a bit more on this, to see if it's a problem
that I am introducing in some obscure way.
Reading the OAuth specs, it seems that oauth_version should *not* be
included if it's not present in the request, but then I wonder why
others using Net::OAuth don't have this problem.