<div dir="ltr">I don't see anywhere here that it mentions a "shared secret" which is apart from the RSA key. <a href="http://i1130.photobucket.com/albums/m524/magog3/Screenshot%20from%202016-10-26%2000-52-59_zpsjpfjxhly.png" target="_blank">http://i1130.photobucket.com/<wbr>albums/m524/magog3/Screenshot%<wbr>20from%202016-10-26%2000-52-<wbr>59_zpsjpfjxhly.png</a><div><br></div><div><br><div>I tried to set:</div></div><div><div style="font-size:12.8px">consumerKey = the blacked out key on the screenshot<br></div><div style="font-size:12.8px">consumerSecret = the private RSA key (I deleted the public key while testing, so it doesn't appear in the screenshot) </div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Am I doing this wrong?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Magog</div><div style="font-size:12.8px"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 10:51 AM, Brad Jorsch (Anomie) <span dir="ltr"><<a href="mailto:bjorsch@wikimedia.org" target="_blank">bjorsch@wikimedia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On Fri, Oct 21, 2016 at 8:56 PM, Magog The Ogre <span dir="ltr"><<a href="mailto:magog.the.ogre@gmail.com" target="_blank">magog.the.ogre@gmail.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Well I tried to do this using the "pre-shared secret key" method described at <a href="https://tools.wmflabs.org/oauth-hello-world/" target="_blank">https://tools.wmflabs.org/oaut<wbr>h-hello-world/</a> and I just get an invalid key error, so I'm doing something wrong. </div></blockquote><div><br></div></span><div>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?<br><br>The contents of that .ini file would be something like this:<br><br></div><div>agent = Your user agent<br>consumerKey = 0123456789abcdef0123456789abcd<wbr>ef<br></div><div>consumerSecret = 0123456789abcdef0123456789abcd<wbr>ef01234567<br></div><div><br clear="all"></div></div><span class=""><br>-- <br><div class="m_8019046721213911186gmail_signature"><div dir="ltr"><div>Brad Jorsch (Anomie)<br>Senior Software Engineer<br>Wikimedia Foundation</div></div></div>
</span></div></div>
<br>______________________________<wbr>_________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/<wbr>mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>