mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-25 05:52:22 +02:00
[eric] tools: drop personal gmail from the connected-account comment example
This commit is contained in:
@@ -621,7 +621,7 @@ async def oauth_cloud_claim(
|
||||
tokens = data.get("tokens", {}) or {}
|
||||
tool = _load(tool_id)
|
||||
# Google's token endpoint doesn't include the user's email; fetch it
|
||||
# from userinfo so the UI can show "you connected ericzeng@gmail.com"
|
||||
# from userinfo so the UI can show "you connected you@gmail.com"
|
||||
# rather than the generic "Google account" placeholder.
|
||||
if tool.name.lower().startswith("google") and tokens.get("access_token") and not tokens.get("email"):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user