Hi,
I need some help regarding my GSoC project in which I need to implement an
OAuth login system for a browser based plugin, so we can identify users.
But I am stuck and not able to get anything here
https://github.com/apsdehal/Mediawiki-login-api/blob/master/lib/OAuth/MWOAuthClient.php#L77
.
Hi,
On Thu, 2014-06-05 at 20:13 +0530, Amanpreet Singh wrote:
I need some help regarding my GSoC project in which I need to implement an
OAuth login system for a browser based plugin, so we can identify users.
But I am stuck and not able to get anything here
If all you want is some quick code infusion, I can offer my PHP class:
https://bitbucket.org/magnusmanske/magnustools/src/ecb01ddc26c8129737d260d0491ccb410c4c62a3/public_html/php/oauth.php?at=master
You'd have to patch the loadIniFile method to point at your ini file, but
the rest should work as
Thanks for quick reply,
I am just getting NULL after making an OAuth call and that callback wasn't
confirmed, I hope I am making call to correct url which is
https://mediawiki.org/wiki/index.php?title=Special:OAuth/initiateformat=jsonoauth_callback=oob
What I should get back is a token with key
On Thursday, June 5, 2014, Amanpreet Singh amanpreet.iitr2...@gmail.com
wrote:
Thanks for quick reply,
I am just getting NULL after making an OAuth call and that callback wasn't
confirmed, I hope I am making call to correct url which is
Dear Magnus,
Thanks for this I will have a look.
On Thu, Jun 5, 2014 at 8:34 PM, Amanpreet Singh
amanpreet.iitr2...@gmail.com wrote:
Thanks for quick reply,
I am just getting NULL after making an OAuth call and that callback wasn't
confirmed, I hope I am making call to correct url which is
Dear Chris
I tried this but still no result it gives same error NULL,
I also copied your entire demo and pasted it to test but it also returned
same result, maybe its something related to canonicalServerUrl,
I also tried Magnus one it gives 'Error retrieving token:
mwoauth-oauth-exception'.
On
On Thu, Jun 5, 2014 at 9:23 AM, Amanpreet Singh
amanpreet.iitr2...@gmail.com wrote:
Dear Chris
I tried this but still no result it gives same error NULL,
I also copied your entire demo and pasted it to test but it also returned
same result, maybe its something related to canonicalServerUrl,
Thanks Chris for the help,
I have tried your script and I think this part atleast is fine, I have
pinged you with output of the script.
On Thu, Jun 5, 2014 at 11:05 PM, Chris Steipp cste...@wikimedia.org wrote:
On Thu, Jun 5, 2014 at 9:23 AM, Amanpreet Singh
amanpreet.iitr2...@gmail.com
Thanks a lot Chris for helping in solving this.
On Thu, Jun 5, 2014 at 11:37 PM, Amanpreet Singh
amanpreet.iitr2...@gmail.com wrote:
Thanks Chris for the help,
I have tried your script and I think this part atleast is fine, I have
pinged you with output of the script.
On Thu, Jun 5, 2014
10 matches
Mail list logo