OIDC auth flow gets stuck if auth request is triggered by subagent
Maintainer antworten meist innerhalb von 4 Tagen
@surajksharma07 arbeitet bereits daran.
Seit 21.9.2026.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- authentication
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
🔴 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.
- Vorherrschende Sprache
- Python
- Sterne
- 21.8k
- Forks
- 4.1k
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus google/adk-python
-
Update opentelemetry-api and opentelemetry-sdk to 1.44.0Evtl. vergeben @llalitkumarrr hat das vor 5 Tagen übernommen. Offenrequest clarification tracing
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
google/adk-python#7433 · 4 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 4 Tagen
-
CI Mypy Check flags an existing streaming_utils.py error as new because the PR run reuses the baseline's mypy cacheEvtl. vergeben @DeanChensj hat das vor 7 Tagen übernommen. Offenneeds review
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
google/adk-python#7409 · 1 Kommentar · 2 zugewiesene Personen ·
Maintainer antworten meist innerhalb von 4 Tagen
-
A2aAgentExecutor sends the raw exception text to the A2A caller when the run failsEvtl. vergeben @sanketpatil06 hat das vor 7 Tagen übernommen. Offena2a request clarification
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
google/adk-python#7385 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 4 Tagen
-
Please support mermaid 12 (inbuild elk) in `adk web`Evtl. vergeben @sanketpatil06 hat das vor 8 Tagen übernommen. Offenneeds review web
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
google/adk-python#7381 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 4 Tagen
-
[A2A] RemoteA2aAgent(use_legacy=False): extension header written to state['http_kwargs'], ignored by a2a-sdk 1.x transportsEvtl. vergeben @surajksharma07 hat das vor 14 Tagen übernommen. Offena2a
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
google/adk-python#7334 · 2 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 4 Tagen
Alle Issues in google/adk-python
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
huggingface/peft#3955 ·
Maintainer antworten meist innerhalb von 1 Tag
-
author-page correction
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
acl-org/acl-anthology#10313 ·
Maintainer antworten meist innerhalb von 1 Tag
-
anime duplicate exception request-theme
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
LizardByte/ThemerrDB#8926 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
huggingface/transformers#49556 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/security bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
mozilla-ai/otari#2245 ·
Maintainer antworten meist innerhalb von 1 Tag