Spaces:
Sleeping
Sleeping
Update google_auth.py
Browse files- 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=
|
| 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 |
|