Add WorkOS and Azure OAuth providers (#1550)

This commit is contained in:
Jeremiah Lowin 2025-08-20 16:22:03 -04:00 committed by GitHub
commit c3d1176a69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 2488 additions and 169 deletions

View file

@ -19,7 +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",
# redirect_path="/oauth/callback", # Default path - change if using a different callback URL
# redirect_path="/auth/callback", # Default path - change if using a different callback URL
)
mcp = FastMCP("GitHub OAuth Example Server", auth=auth)