Tejasva-Maurya commited on
Commit
e5d147f
·
verified ·
1 Parent(s): 5b90efe

Update google_auth.py

Browse files
Files changed (1) hide show
  1. google_auth.py +1 -1
google_auth.py CHANGED
@@ -11,7 +11,7 @@ def auth():
11
  api_service_name = "drive"
12
  api_version = "v3"
13
  flow = InstalledAppFlow.from_client_config(config, scopes=SCOPES)
14
- credentials = flow.run_local_server(port=5000)
15
  drive = build(api_service_name, api_version, credentials=credentials)
16
  drive.about().get(fields="user").execute()
17
 
 
11
  api_service_name = "drive"
12
  api_version = "v3"
13
  flow = InstalledAppFlow.from_client_config(config, scopes=SCOPES)
14
+ credentials = flow.run_local_server(port=0)
15
  drive = build(api_service_name, api_version, credentials=credentials)
16
  drive.about().get(fields="user").execute()
17