Skip to content

Commit fcddae5

Browse files
committed
fix: Token endpoint response for invalid_client
1 parent de89457 commit fcddae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async def handle(self, request: Request):
110110
except AuthenticationError as e:
111111
return self.response(
112112
TokenErrorResponse(
113-
error="unauthorized_client",
113+
error="invalid_client",
114114
error_description=e.message,
115115
)
116116
)

0 commit comments

Comments
 (0)