Add resource_server_url parameter to OAuth proxy providers (#1682)

This commit is contained in:
Jeremiah Lowin 2025-08-30 08:33:13 -04:00 committed by GitHub
commit 8c678b552b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 69 additions and 49 deletions

View file

@ -19,6 +19,7 @@ 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
)