mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 13:34:17 +02:00
AuthKit: auto-bind token audience to resource URL (RFC 8707) (#3905)
This commit is contained in:
parent
c2dafc1c88
commit
82f310fe61
33 changed files with 265 additions and 114 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue