OIDC auth flow gets stuck if auth request is triggered by subagent
维护者通常 5 天内回复
@surajksharma07 已经在做这个了。
开始于 2026年9月21日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
Start by tracing the OIDC auth request from a subagent tool call through the ADK API server and ADK Web UI, then compare it with the working root-agent path. Reproduce the flow described in the issue and verify that subagent-triggered requests resolve normally and that the Web UI displays the auth pop-up rather than only a manual code field.
由索引模型根据 Issue 内容生成。
描述
🔴 Required Information
Please ensure all items in this section are completed to allow for efficient
triaging. Requests without complete information may be rejected / deprioritized.
If an item is not applicable to you - please mark it as N/A
Describe the Bug:
We are currently experiencing problems when using the recommended OIDC auth flow (via Keycloak) for toolsets. The issue arises of the auth request is triggered by a tool call associated to a subagent (and not the root agent). This affects both the ADK Web UI as well as the ADK API server. For the former, the auth pop-up never shows up in such a case (instead, only a text box to enter a code manually is shown). By contrast, if the auth request is triggered by a tool call associated to the root agent, everything works as expected. Also, the issue arises with the current version 2.9.1 of ADK, but has also been observed with the earlier version 2.8.0.
Steps to Reproduce:
- Set up a root agent with a subagent, where the latter has a tool requiring auth with an OIDC flow
- Prompt the agent to make the subagent issue a tool call, triggering the auth request
- Observe that the auth is never resolved; in case of the ADK Web UI, the corresponding pop-up is never triggered but only shows a text box to enter a code
- The logs make absolutely no notice of this event
Expected Behavior:
Subagents should be treated in an equivalent manner as root agents when it comes to auth requests, resolving the auth flow as expected.
Observed Behavior:
In the case the auth request is triggered by a subagent, the auth flow gets stuck and is never resolved. In case of the ADK Web UI, the corresponding pop-up is never triggered.
Environment Details:
- ADK Library Version (pip show google-adk):
2.9.1(but also observed with2.8.0) - Desktop OS:** Ubuntu 24.04.5 LTS inside WSL on Windows 11
- Python Version (python -V):
3.13.13
Model Information:
- Are you using LiteLLM: No
- Which model is being used:
gemini-3.7-flashvia Vertex AI
🟡 Optional Information
Providing this information greatly speeds up the resolution process.
Regression:
Tested and confirmed with both 2.8.0 and 2.9.1, no information available about earlier versions.
Logs:
As mentioned above, the logs make absolutely no notice of the stuck auth flow. They are entirely inconclusive.
Screenshots / Video:
N/A
Additional Context:
N/A
Minimal Reproduction Code:
N/A
How often has this issue occurred?:
The problem is 100% reproducible with the described flow.
- 主要语言
- Python
- 星标
- 21.6k
- 派生
- 4k
- 平均合并
- 9 小时 59 分钟
- 30 天内合并 PR
- 5
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/adk-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
google/adk-python#7385 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
google/adk-python#7381 ·
维护者通常 5 天内回复
-
[A2A] RemoteA2aAgent(use_legacy=False): extension header written to state['http_kwargs'], ignored by a2a-sdk 1.x transports可能已有人在做 @surajksharma07 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
google/adk-python#7334 · 2 条评论 · 已指派 1 人 ·
维护者通常 5 天内回复
-
GoogleOidcVerifier treats string "false" as a verified email claim可能已有人在做 @surajksharma07 于 5 天前认领。 未关闭core
难度 2/5 1-3 小时 新手友好度 82/100
google/adk-python#7289 · 5 条评论 · 已指派 1 人 ·
维护者通常 5 天内回复
-
RestApiTool raises uncaught KeyError when a required path param is omitted可能已有人在做 @llalitkumarrr 于 5 天前认领。 未关闭request clarification tools
难度 2/5 1-3 小时 新手友好度 78/100
google/adk-python#7282 · 5 条评论 · 已指派 1 人 ·
维护者通常 5 天内回复
查看 google/adk-python 的全部 Issue
相似的 Issue
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
难度 1/5 1 小时以内 新手友好度 88/100
NousResearch/hermes-agent#132042 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
deepset-ai/haystack#13092 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
EverMind-AI/Raven#845 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
AstrBotDevs/AstrBot#10340 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
BasedHardware/omi#20401 · 1 条评论 ·
维护者通常 1 天内回复