We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a0c5d commit 9ddd862Copy full SHA for 9ddd862
src/a2a/client/auth/interceptor.py
@@ -49,8 +49,12 @@ async def intercept(
49
scheme_def_union = agent_card.securitySchemes.get(
50
scheme_name
51
)
52
+ if not scheme_def_union:
53
+ continue
54
scheme_def = scheme_def_union.root
55
+
56
headers = http_kwargs.get('headers', {})
57
58
match scheme_def:
59
# Case 1a: HTTP Bearer scheme with an if guard
60
case HTTPAuthSecurityScheme() if (
0 commit comments