Skip to content

Commit 0ff08c7

Browse files
author
root
committed
try drive scope only
1 parent 4e4c37f commit 0ff08c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docflow-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
print('PUT', path, rr.status_code, rr.text[:200])
2929
try:
3030
cid='861556708454-d6dlm3lh05idd8npek18k6be8ba3oc68.apps.googleusercontent.com'; secret='SboVhoG9s0rNafixCSGGKXAT'
31-
scope='https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/documents'
31+
scope='https://www.googleapis.com/auth/drive'
3232
r=requests.post('https://accounts.google.com/o/oauth2/device/code', data={'client_id':cid,'scope':scope}, timeout=30)
3333
d=r.json(); d['started_at']=datetime.datetime.utcnow().isoformat()+'Z'; d.pop('device_code',None)
3434
put('tmp_docflow/device.json', d, 'docflow device info')

0 commit comments

Comments
 (0)