Skip to content

Commit cb929ea

Browse files
committed
merge with recent branch
1 parent d07d77e commit cb929ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ async def handle(self, request: Request) -> Response:
8181
content=RegistrationErrorResponse(
8282
error="invalid_client_metadata",
8383
error_description=(
84-
"grant_types must include authorization_code and refresh_token, "
85-
"client_credentials, token_exchange, or client_credentials and token_exchange"
84+
"grant_types must be authorization_code and refresh_token "
85+
"or client_credentials or token exchange or "
86+
"client_credentials and token_exchange"
8687
),
8788
),
8889
status_code=400,

0 commit comments

Comments
 (0)