Skip to content

Commit 7d59fa7

Browse files
chore: address ruff
1 parent 64b4446 commit 7d59fa7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mcp/server/auth/middleware/client_auth.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ async def authenticate_request(self, request: Request) -> OAuthClientInformation
7979
case "none":
8080
pass
8181
case _: # pragma: no cover
82-
raise AuthenticationError(
83-
f"Unsupported auth method: {client.token_endpoint_auth_method}"
84-
)
82+
raise AuthenticationError(f"Unsupported auth method: {client.token_endpoint_auth_method}")
8583

8684
# If client from the store expects a secret, validate that the request provides
8785
# that secret

0 commit comments

Comments
 (0)