mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 05:54:19 +02:00
Fix OAuth resource URL handling and WWW-Authenticate header (#1706)
This commit is contained in:
parent
05b611b68d
commit
d36ea42b92
26 changed files with 518 additions and 354 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue