Skip to content

Commit 801f106

Browse files
Update src/a2a/server/apps/jsonrpc/fastapi_app.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 9017460 commit 801f106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/server/apps/jsonrpc/fastapi_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def build(
186186
rpc_url: The URL for the A2A JSON-RPC endpoint.
187187
extended_agent_card_url: The URL for the authenticated extended agent card endpoint.
188188
dependencies: Optional sequence of FastAPI dependencies (e.g.
189-
`[Security(get_current_active_user, scopes=["items"])]`)
189+
`[Security(get_current_active_user, scopes=["a2a"])]`)
190190
applied to authenticated routes. See
191191
:meth:`add_routes_to_app`.
192192
**kwargs: Additional keyword arguments to pass to the FastAPI constructor.

0 commit comments

Comments
 (0)