From a2bec08e7660b1f75993cb17e1451e2a3cfdeca7 Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 27 Jul 2026 09:43:29 -0400 Subject: [PATCH] Fix double slash in issuer_url well-known log hint --- fastmcp_slim/fastmcp/server/auth/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastmcp_slim/fastmcp/server/auth/auth.py b/fastmcp_slim/fastmcp/server/auth/auth.py index 6ab5a2480..fb24d9d04 100644 --- a/fastmcp_slim/fastmcp/server/auth/auth.py +++ b/fastmcp_slim/fastmcp/server/auth/auth.py @@ -839,7 +839,8 @@ class OAuthProvider( ): logger.info( f"OAuth endpoints at {self.base_url}, issuer at {self.issuer_url}. " - f"Ensure well-known routes are accessible at root ({self.issuer_url}/.well-known/). " + f"Ensure well-known routes are accessible at root " + f"({str(self.issuer_url).rstrip('/')}/.well-known/). " f"See: https://gofastmcp.com/deployment/http#mounting-authenticated-servers" )