Fix double slash in issuer_url well-known log hint

This commit is contained in:
Jeremiah Lowin 2026-07-27 09:43:29 -04:00
commit a2bec08e76
No known key found for this signature in database

View file

@ -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"
)