{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20360","labels_url":"https://api.github.com/repos/owncloud/core/issues/20360/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20360/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20360/events","html_url":"https://github.com/owncloud/core/pull/20360","id":115490027,"number":20360,"title":"Force approval in GDrive oauth to get refresh_token","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/backport-request","name":"backport-request","color":"006b75"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":548,"closed_issues":295,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2015-11-06T12:49:30Z","due_on":"2016-02-09T05:00:00Z","closed_at":null},"comments":4,"created_at":"2015-11-06T11:39:20Z","updated_at":"2015-11-06T12:59:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/20360","html_url":"https://github.com/owncloud/core/pull/20360","diff_url":"https://github.com/owncloud/core/pull/20360.diff","patch_url":"https://github.com/owncloud/core/pull/20360.patch"},"body":"Forcing the approval of app permissions makes sure that the GDrive API will always return a refresh_token.\r\n    \r\nIn the case of apps that were already authorized for the current user/domain, the API doesn't return the refresh_token which causes expiration issues.\r\n\r\nSee a more detailed explanation here https://github.com/owncloud/core/issues/15768#issuecomment-154385482\r\n\r\n- [x] BLOCKED by https://github.com/owncloud/core/pull/20358\r\n\r\n@karlitschek we should backport this to 8.2.1 to fix GDrive refresh_token: https://github.com/owncloud/core/issues/15768#issuecomment-154385482"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/154403574","html_url":"https://github.com/owncloud/core/pull/20360#issuecomment-154403574","issue_url":"https://api.github.com/repos/owncloud/core/issues/20360","id":154403574,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T12:59:02Z","updated_at":"2015-11-06T12:59:02Z","body":"stable8.2: https://github.com/owncloud/core/issues/20361\r\n\r\nI will do the other ones when the master PR is merged.\r\n\r\n- [ ] TODO: stable8.1 backport\r\n- [ ] TODO: stable8 backport"}}