diff options
author | aunsane <aunsane@gmail.com> | 2018-05-12 21:42:55 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-05-12 21:42:55 +0300 |
commit | d7f9fb07f6eef2d35a55710563df4f075f0c5fed (patch) | |
tree | 1d2525c68b31d322831197af14a11a63d4047049 /plugins/CloudFile/src/Services | |
parent | 562716ed3df79905977342f9f460f2aa21769374 (diff) |
CloudFile: fix token refresh for GDrive
Diffstat (limited to 'plugins/CloudFile/src/Services')
-rw-r--r-- | plugins/CloudFile/src/Services/google_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/google_api.h b/plugins/CloudFile/src/Services/google_api.h index cbccb2d83c..90cfdb4d03 100644 --- a/plugins/CloudFile/src/Services/google_api.h +++ b/plugins/CloudFile/src/Services/google_api.h @@ -15,7 +15,7 @@ namespace GDriveAPI #define GOOGLE_APP_ID "528761318515-h1etlccvk5vjsbjuuj8i73cud8do4adi.apps.googleusercontent.com" #include "../../../miranda-private-keys/Google/client_secret.h" -#define GOOGLE_AUTH GOOGLE_OAUTH "/auth?response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.file&redirect_uri=https%3A%2F%2Foauth.miranda-ng.org%2Fverification&client_id=" GOOGLE_APP_ID +#define GOOGLE_AUTH GOOGLE_OAUTH "/auth?response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.file&access_type=offline&prompt=consent&redirect_uri=https%3A%2F%2Foauth.miranda-ng.org%2Fverification&client_id=" GOOGLE_APP_ID class GetAccessTokenRequest : public HttpRequest { |