I'm attempting to use jsOauth to connect a webapp (which will eventually be a phonegap app) to a
status.net server. I tried first with
identi.ca, and then with my own server, and no matter what I do, all I get back is "Invalid Signature" when I attempt to actually pass my verifier key in. Am I just missing something obvious? Attached is a somewhat scrubbed version of my code (please excuse the code, it was not as awful before I went through a million iterations trying to make it work... :P).
Note that this version opens a new window, and then polls the window for the pin before returning. Previously I was using pinless oauth, but that wasn't working so thought I'd try this again.
My console log contains:
No stored oauth data, starting from scratch. auth.js:65 Error: authorization failed: {"text":"Invalid signature","xml":"","requestHeaders":{},"responseHeaders":{"Date":"Fri, 05 Oct 2012 18:49:20 GMT","X-Powered-By":"PHP/5.4.6","Connection":"close","Content-Length":"17","Pragma":"no-cache","Server":"Apache/2.2.22 (Fedora)","Vary":"Accept-Encoding,Cookie","Content-Type":"text/plain; charset=utf-8","Access-Control-Allow-Origin":"*","Cache-Control":"no-store, no-cache, must-revalidate, post-check=0, pre-check=0","Expires":"Thu, 19 Nov 1981 08:52:00 GMT"}}
Any ideas?