Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Issue 7046012: Basic OAuth2 support using the native app flow. (Closed)

Created:
9 years, 7 months ago by awong
Modified:
9 years, 7 months ago
Reviewers:
Jamie
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Basic OAuth2 support using the native app flow. Currently, OAuth2 does not support redirection to chrome-extension URLs. So, temporarily, we will use the native app flow. In the future, this should be replaced with the "PostMessage" flow. BUG=none TEST=Invoke javascript functions by hand and see that we get an access token. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86034

Patch Set 1 #

Patch Set 2 : style fixes. #

Patch Set 3 : move googleapis call to oauth2 #

Patch Set 4 : more fixes #

Total comments: 12

Patch Set 5 : Address Jamie's comments. #

Total comments: 1

Patch Set 6 : remove css #

Patch Set 7 : Moved Oauth2 class to its own file. #

Patch Set 8 : last one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -1138 lines) Patch
M remoting/tools/keygen.py View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M remoting/webapp/me2mom/background.html View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/webapp/me2mom/background.js View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M remoting/webapp/me2mom/choice.html View 1 2 3 4 5 6 2 chunks +36 lines, -21 lines 0 comments Download
D remoting/webapp/me2mom/chrome_ex_oauth.html View 1 2 3 1 chunk +0 lines, -27 lines 0 comments Download
D remoting/webapp/me2mom/chrome_ex_oauth.js View 1 2 3 1 chunk +0 lines, -593 lines 0 comments Download
D remoting/webapp/me2mom/chrome_ex_oauthsimple.js View 1 2 3 1 chunk +0 lines, -458 lines 0 comments Download
M remoting/webapp/me2mom/manifest.json View 1 chunk +1 line, -0 lines 0 comments Download
A remoting/webapp/me2mom/oauth2.js View 1 2 3 4 5 6 7 1 chunk +138 lines, -0 lines 0 comments Download
M remoting/webapp/me2mom/remoting.js View 1 2 3 4 5 6 6 chunks +47 lines, -17 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
awong
Here's basic OAuth2 support. I'll try to wire-in the OAuth2 token into the support-host-id request ...
9 years, 7 months ago (2011-05-19 19:04:03 UTC) #1
awong
Ready for review.
9 years, 7 months ago (2011-05-19 20:38:41 UTC) #2
Jamie
http://codereview.chromium.org/7046012/diff/1006/remoting/webapp/me2mom/background.js File remoting/webapp/me2mom/background.js (right): http://codereview.chromium.org/7046012/diff/1006/remoting/webapp/me2mom/background.js#newcode23 remoting/webapp/me2mom/background.js:23: Does this belong in this file? It doesn't seem ...
9 years, 7 months ago (2011-05-19 21:01:04 UTC) #3
awong
PTAL http://codereview.chromium.org/7046012/diff/1006/remoting/webapp/me2mom/background.js File remoting/webapp/me2mom/background.js (right): http://codereview.chromium.org/7046012/diff/1006/remoting/webapp/me2mom/background.js#newcode23 remoting/webapp/me2mom/background.js:23: On 2011/05/19 21:01:04, Jamie wrote: > Does this ...
9 years, 7 months ago (2011-05-19 21:33:05 UTC) #4
Jamie
One comment, which you may or may not agree with. LGTM either way. http://codereview.chromium.org/7046012/diff/1009/remoting/webapp/me2mom/remoting.js File ...
9 years, 7 months ago (2011-05-19 21:50:50 UTC) #5
awong
9 years, 7 months ago (2011-05-20 01:37:55 UTC) #6
moved. committing.

Powered by Google App Engine
This is Rietveld 408576698