We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 368c2a8 commit c6639a6Copy full SHA for c6639a6
src/mcp/server/auth/handlers/token.py
@@ -33,7 +33,7 @@ class RefreshTokenRequest(BaseModel):
33
grant_type: Literal["refresh_token"]
34
refresh_token: str = Field(..., description="The refresh token")
35
scope: str | None = Field(None, description="Optional scope parameter")
36
- client_id: str
+ client_id: str | None = Field(None, description="If none, client_id must be provided via basic auth header")
37
# we use the client_secret param, per https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1
38
client_secret: str | None = None
39
# RFC 8707 resource indicator
0 commit comments