AuthKit: auto-bind token audience to resource URL (RFC 8707) (#3905)

This commit is contained in:
Jeremiah Lowin 2026-04-13 17:11:17 -04:00 committed by GitHub
commit 82f310fe61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 265 additions and 114 deletions

View file

@ -18,7 +18,7 @@ from fastmcp.server.auth.providers.github import GitHubProvider
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",
base_url="http://127.0.0.1:8000",
# redirect_path="/auth/callback", # Default path - change if using a different callback URL
)