We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89265e7 commit 75fbbe5Copy full SHA for 75fbbe5
src/mcp/server/auth/handlers/token.py
@@ -141,9 +141,7 @@ async def _handle_authorization_code(
141
142
# Convert both sides to strings for comparison to handle AnyUrl vs string issues
143
token_redirect_str = str(token_request.redirect_uri) if token_request.redirect_uri is not None else None
144
- auth_redirect_str = (
145
- str(authorize_request_redirect_uri) if authorize_request_redirect_uri is not None else None
146
- )
+ auth_redirect_str = str(authorize_request_redirect_uri) if authorize_request_redirect_uri is not None else None
147
148
if token_redirect_str != auth_redirect_str:
149
return TokenErrorResponse(
0 commit comments