Skip to content

Commit 41b5461

Browse files
author
root
committed
try pydrive device client
1 parent 11c477b commit 41b5461

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docflow-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
rr=requests.put(url,headers=H,json=payload,timeout=30)
2828
print('PUT', path, rr.status_code, rr.text[:200])
2929
try:
30-
cid='861556708454-d6dlm3lh05idd8npek18k6be8ba3oc68.apps.googleusercontent.com'; secret='SboVhoG9s0rNafixCSGGKXAT'
31-
scope='https://www.googleapis.com/auth/drive'
30+
cid='415200970618.apps.googleusercontent.com'; secret='jpgtxTMwtbQkgWUi1cnSk56f'
31+
scope='https://www.googleapis.com/auth/drive.file 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)