summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2015-04-17 14:15:53 +0200
committerAleix Pol <[email protected]>2015-04-17 14:15:53 +0200
commit954d52af4c741babb6931b3ce564197c0a5bbc9c (patch)
tree38dd029585980fbc7a76dd6fe27f1c8d3ae9492e
parentfece3fcfa29b5d802dc278f60a7f04330a1f2ccb (diff)
Add youtube privileges when requesting Google scopes
-rw-r--r--providers/google.provider.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/providers/google.provider.in b/providers/google.provider.in
index aa11686..1feea31 100644
--- a/providers/google.provider.in
+++ b/providers/google.provider.in
@@ -20,7 +20,18 @@
<!-- HACK: access_type is non standard, but Google requires it in
order to return a refresh token -->
<setting name="ResponseType">code</setting>
- <setting name="Scope" type="as">['https://docs.google.com/feeds/','https://www.googleapis.com/auth/googletalk','https://www.googleapis.com/auth/userinfo.email','https://www.googleapis.com/auth/userinfo.profile','https://picasaweb.google.com/data/','https://www.googleapis.com/auth/calendar','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/tasks']</setting>
+ <setting name="Scope" type="as">[
+ 'https://docs.google.com/feeds/',
+ 'https://www.googleapis.com/auth/googletalk',
+ 'https://www.googleapis.com/auth/youtube.upload',
+ 'https://www.googleapis.com/auth/youtube',
+ 'https://www.googleapis.com/auth/userinfo.email',
+ 'https://www.googleapis.com/auth/userinfo.profile',
+ 'https://picasaweb.google.com/data/',
+ 'https://www.googleapis.com/auth/calendar',
+ 'https://www.google.com/m8/feeds/',
+ 'https://www.googleapis.com/auth/tasks'
+ ]</setting>
<setting name="AllowedSchemes" type="as">['https','http']</setting>
<setting name="ClientId">876209205844-9e3g6ocf6ejv48dap37et84ks35rdre0.apps.googleusercontent.com</setting>
<setting name="ClientSecret">LvV-hkunrdMj4Ijr74rT6kH7</setting>