SaturninoMateus / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
1 stars 0 forks source link

OAuth supprt in "web" mode. #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[Note: this is for reporting issues on the JaikuEngine open source project.
if you are reporting an issue with the jaiku.com service, please send it to
support@jaiku.com]

What steps will reproduce the problem?
1. Run oauth in a web environment
2. Pass in oauth_callback parameter
3. Nothing happens on authorization of token

What is the expected output? What do you see instead?
I expect to be redirected to my callback url.  Instead of I'm forwarded
onto the default authorized.html page.

What version of the product are you using? On what operating system?

Please provide any additional information below.
Attached are two patches.

oauth_callback's value was getting lost because of the GET->POST workflow
in api_authorize.  Moved oauth_callback so that it is captured by the GET
request so the Django template could post it back in for the redirect. 
Passed oauth_token back in the redirect as per the work flow of oauth
documentation at oauth.net.

The redirect only occured if the token supported web mode.  So I had to
uncomment the radio buttons in /templates/key.html so that developers could
setup keys specifically for the redirecting.

Original issue reported on code.google.com by jeffmill...@gtempaccount.com on 31 Mar 2009 at 11:13

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 2 Apr 2009 at 11:07

GoogleCodeExporter commented 9 years ago
Also submitted patch at raiku.appspot.com, just in case there is any confusion.

Original comment by jeffmill...@gtempaccount.com on 3 Apr 2009 at 8:40

GoogleCodeExporter commented 9 years ago
hey jeff, I don't see your patches at rietku, are you sure they went through?

Original comment by andyster on 10 Apr 2009 at 5:42

GoogleCodeExporter commented 9 years ago
No I'm not sure they went through.  I tried to upload them again to rietku and 
it
didn't recognize any new changes since my last upload.

Can't you just take the diff's from this issue?  Sorry for the hassle, but the
changes I made were very minor.

Original comment by jeffmill...@gtempaccount.com on 14 Apr 2009 at 2:36

GoogleCodeExporter commented 9 years ago
This still seems to be an issue.  Any news on when it will be resolved on the 
jaiku.com site?

Original comment by indieboy...@gmail.com on 21 Sep 2011 at 9:43