Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(659)

Issue 63214: don't depend on gadgets.oauth.Popup for basic OAuth support

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 3 months ago by beaton
Modified:
16 years, 3 months ago
Reviewers:
shindig.remailer, etnu00
Base URL:
https://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -18 lines) Patch
M features/src/main/javascript/features/core.io/io.js View 1 chunk +3 lines, -6 lines 3 comments Download
M features/src/main/javascript/features/oauthpopup/oauthpopup.js View 1 chunk +0 lines, -8 lines 0 comments Download
M features/src/test/javascript/features/core.io/iotest.js View 3 chunks +4 lines, -0 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/OAuthCallbackServlet.java View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 2
etnu00
http://codereview.appspot.com/63214/diff/1/4 File features/src/main/javascript/features/core.io/io.js (right): http://codereview.appspot.com/63214/diff/1/4#newcode367 Line 367: if (window.oauthReceivedCallbackUrl_) { Why is this being placed ...
16 years, 3 months ago (2009-06-12 23:24:19 UTC) #1
beaton
16 years, 3 months ago (2009-06-12 23:54:52 UTC) #2
http://codereview.appspot.com/63214/diff/1/4
File features/src/main/javascript/features/core.io/io.js (right):

http://codereview.appspot.com/63214/diff/1/4#newcode367
Line 367: if (window.oauthReceivedCallbackUrl_) {
Because I'm trying to make this work automatically even for gadgets that don't
use the popup library.  If we can do that, we don't need to ask gadget authors
to change their gadgets to support 1.0a.

I'm not particular about window vs gadgets vs gadgets.io, the main thing is that
OAuth gadgets today don't actually require gadgets.oauth.Popup in order to work.

The main reason to prefer window over gadgets.io is that osapi.oauth might make
gadgets.io obsolete.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b