Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Make AuthorizationHandler keyword-only

Jeremiah Lowinaaaca09a91ce
diff --git a/fastmcp_slim/fastmcp/server/auth/handlers/authorize.py b/fastmcp_slim/fastmcp/server/auth/handlers/authorize.py
index f7b749e68..6b7e6eab8 100644
--- a/fastmcp_slim/fastmcp/server/auth/handlers/authorize.py
+++ b/fastmcp_slim/fastmcp/server/auth/handlers/authorize.py
@@ -177,6 +177,7 @@ class AuthorizationHandler(SDKAuthorizationHandler):
def __init__(
self,
+ *,
provider: OAuthAuthorizationServerProvider,
base_url: AnyHttpUrl | str,
issuer_url: AnyHttpUrl | str | None = None,