Skip to content

Commit 6019fd1

Browse files
authored
google can suck my taint
1 parent dff156f commit 6019fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Authenticator/routes/pin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ router.post('/', async function (req, res) {
1616

1717
switch (req.body.type) {
1818
case ('googledrive'):
19-
verifyURL = `https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/drive&access_type=offline&prompt=consent&response_type=code&state=${user_code}&redirect_uri=${AUTH_URL}/callback&client_id=602937851350-q69l9u3njis7nhb15cb7qmddqtrmhrg7.apps.googleusercontent.com`;
19+
verifyURL = `https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/drive.appdata&access_type=offline&prompt=consent&response_type=code&state=${user_code}&redirect_uri=${AUTH_URL}/callback&client_id=602937851350-q69l9u3njis7nhb15cb7qmddqtrmhrg7.apps.googleusercontent.com`;
2020
break;
2121
case ('dropbox'):
2222
verifyURL = `https://www.dropbox.com/oauth2/authorize?token_access_type=offline&response_type=code&client_id=9as745vm8v7g0rr&redirect_uri=${AUTH_URL}/callback&state=${user_code}`;
@@ -58,4 +58,4 @@ const nanoid = (size = 21) => {
5858
return id
5959
}
6060

61-
module.exports = router;
61+
module.exports = router;

0 commit comments

Comments
 (0)