Fix OAuth resource URL handling and WWW-Authenticate header (#1706)

This commit is contained in:
Jeremiah Lowin 2025-09-02 15:14:05 -04:00 committed by GitHub
commit d36ea42b92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 518 additions and 354 deletions

View file

@ -19,7 +19,6 @@ auth = GitHubProvider(
client_id=os.getenv("FASTMCP_SERVER_AUTH_GITHUB_CLIENT_ID") or "",
client_secret=os.getenv("FASTMCP_SERVER_AUTH_GITHUB_CLIENT_SECRET") or "",
base_url="http://localhost:8000",
resource_server_url="http://localhost:8000/mcp",
# redirect_path="/auth/callback", # Default path - change if using a different callback URL
)