[Labs-l] OAuth with RSA key

Brad Jorsch (Anomie) bjorsch at wikimedia.org
Mon Oct 24 14:51:12 UTC 2016


On Fri, Oct 21, 2016 at 8:56 PM, Magog The Ogre <magog.the.ogre at gmail.com>
wrote:

> Well I tried to do this using the "pre-shared secret key" method described
> at https://tools.wmflabs.org/oauth-hello-world/ and I just get an invalid
> key error, so I'm doing something wrong.
>

Without seeing your actual code, I can't begin to guess just what you might
be doing wrong. Does it work for you if you copy the hello-world code and
put your own credentials in the .ini file?

The contents of that .ini file would be something like this:

agent = Your user agent
consumerKey = 0123456789abcdef0123456789abcdef
consumerSecret = 0123456789abcdef0123456789abcdef01234567


-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20161024/b0939382/attachment.html>


More information about the Labs-l mailing list