Skip to content

Commit 8163931

Browse files
style(server): wrap upstream auth hint
1 parent 3c46474 commit 8163931

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

server/src/agent_control_server/auth_framework/providers/http_upstream.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,10 @@ def _ensure_target_context_matches_grant(
339339
raise ForbiddenError(
340340
error_code=ErrorCode.AUTH_INSUFFICIENT_PRIVILEGES,
341341
detail="Authorization grant is target-bound but the request target is unavailable.",
342-
hint="Use an endpoint that includes target_type and target_id in the authorization context.",
342+
hint=(
343+
"Use an endpoint that includes target_type and target_id "
344+
"in the authorization context."
345+
),
343346
)
344347

345348
expected_type = context.get("target_type")

0 commit comments

Comments
 (0)