Skip to content

Commit

Permalink
change the auth scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterSoft24 committed Nov 28, 2020
1 parent a61248e commit 6d67c0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccross-app/src/GoogleDrive/msgoogledrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ bool MSGoogleDrive::auth(){
// }

QString r = "https://accounts.google.com/o/oauth2/v2/auth?";
r.append("client_id=251547413210-t1iem90k7hobv18fl2qtfbckic22lml3.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive+https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+https://docs.google.com/feeds/+https://docs.googleusercontent.com/+https://spreadsheets.google.com/feeds/&");
// r.append("client_id=251547413210-t1iem90k7hobv18fl2qtfbckic22lml3.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive+https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+https://docs.google.com/feeds/+https://docs.googleusercontent.com/+https://spreadsheets.google.com/feeds/&");
r.append("client_id=251547413210-t1iem90k7hobv18fl2qtfbckic22lml3.apps.googleusercontent.com&scope=https://www.googleapis.com/auth/drive+https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+https://www.googleapis.com/auth/spreadsheets&");
r.append("redirect_uri=http%3a//127.0.0.1:1973&");
r.append("response_type=code&");
r.append("access_type=offline&");
Expand Down

0 comments on commit 6d67c0f

Please sign in to comment.