Skip to content

Commit 3bf695c

Browse files
committed
merge with recent branch
1 parent ceb1e19 commit 3bf695c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mcp/server/auth/handlers/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ async def handle(self, request: Request):
189189
return self.response(
190190
TokenErrorResponse(
191191
error="invalid_request",
192-
error_description=("redirect_uri did not match the one " "used when creating auth code"),
192+
error_description=("redirect_uri did not match the one used when creating auth code"),
193193
)
194194
)
195195

src/mcp/server/auth/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ async def exchange_refresh_token(
250250
...
251251

252252
async def exchange_client_credentials(self, client: OAuthClientInformationFull, scopes: list[str]) -> OAuthToken:
253-
"""Exchange client credentials for an access token."""
253+
"""Exchange client credentials for an MCP access token."""
254254
...
255255

256256
async def exchange_token(

0 commit comments

Comments
 (0)