Skip to content

Commit 7bc190b

Browse files
authored
fix: support "form_post" to be one of response modes in authorization server metadata validation (#1046)
1 parent 31076ab commit 7bc190b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/shared/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class OAuthMetadata(BaseModel):
114114
registration_endpoint: AnyHttpUrl | None = None
115115
scopes_supported: list[str] | None = None
116116
response_types_supported: list[str] = ["code"]
117-
response_modes_supported: list[Literal["query", "fragment"]] | None = None
117+
response_modes_supported: list[Literal["query", "fragment", "form_post"]] | None = None
118118
grant_types_supported: list[str] | None = None
119119
token_endpoint_auth_methods_supported: list[str] | None = None
120120
token_endpoint_auth_signing_alg_values_supported: None = None

0 commit comments

Comments
 (0)