diff options
author | jamescook <jamescook@chromium.org> | 2015-01-16 13:28:07 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-16 21:28:53 +0000 |
commit | a03f13e31d30a93a8bb66ff21b36b1e16e353a4f (patch) | |
tree | 0dd0651a5006e45474dca6c118b8f6d1315216a3 /extensions/utility | |
parent | 3095e631aa3b50c85caf5625d8b0f966ac73f1bf (diff) | |
download | chromium_src-a03f13e31d30a93a8bb66ff21b36b1e16e353a4f.zip chromium_src-a03f13e31d30a93a8bb66ff21b36b1e16e353a4f.tar.gz chromium_src-a03f13e31d30a93a8bb66ff21b36b1e16e353a4f.tar.bz2 |
app_shell: Fix chrome.identity.getAuthToken() access token generation
The old implementation was generating an access token for a given set of
scopes for the Chrome project id, not for the application's project id.
Instead, it needs to first retrieve an access token for the logged-in-user,
then use that access token to get an access token for the app's client id
and scopes.
BUG=449372
TEST=added to app_shell_unittests IdentityApiTest
Review URL: https://codereview.chromium.org/857563004
Cr-Commit-Position: refs/heads/master@{#311952}
Diffstat (limited to 'extensions/utility')
0 files changed, 0 insertions, 0 deletions