fix(skills): add timeout to Google OAuth urlopen calls
This commit is contained in:
@@ -586,7 +586,8 @@ def revoke(email: Optional[str] = None) -> None:
|
||||
f"https://oauth2.googleapis.com/revoke?token={creds.token}",
|
||||
method="POST",
|
||||
headers={"Content-Type": "application/x-www-form-urlencoded"},
|
||||
)
|
||||
),
|
||||
timeout=15,
|
||||
)
|
||||
print("Token revoked with Google.")
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user