fastmcp/docs
Jeremiah Lowin ba47db9b8c
Fix Azure scope validation (#2269)
* Update docs for required scopes

* add scopes

* Fix Azure scope validation

Azure returns unprefixed scopes in JWT tokens but requires prefixed scopes in authorization requests. The previous implementation incorrectly validated tokens against prefixed scopes, causing "invalid_token" errors.

Simplified AzureProvider to use standard JWTVerifier with unprefixed scopes for validation. Scopes are only prefixed when building the Azure authorization URL via _build_upstream_authorize_url() override.

Closes #2263
2025-10-26 11:41:22 -04:00
..
.cursor/rules Clean up parameter documentation 2025-06-22 20:59:53 -04:00
assets Support custom server name, icons, and link in OAuth Proxy consent page (#2135) 2025-10-18 11:49:26 -04:00
clients Move sampling fallback handler docs to server section (#2163) 2025-10-21 10:02:11 -04:00
community Update docs (#2094) 2025-10-14 16:38:21 -07:00
css Update wordmark (#1832) 2025-09-15 18:14:37 -04:00
deployment Derive jwt_signing_key from Client Secret, default to Encrypted Disk Store (#2223) 2025-10-24 19:08:58 -04:00
development Derive jwt_signing_key from Client Secret, default to Encrypted Disk Store (#2223) 2025-10-24 19:08:58 -04:00
getting-started Docs (#2145) 2025-10-19 20:26:08 -04:00
integrations Fix Azure scope validation (#2269) 2025-10-26 11:41:22 -04:00
patterns Add Documentation for FastMCP Server Testing (#2244) 2025-10-24 19:11:21 -04:00
public/schemas/fastmcp.json chore: Update fastmcp.json schema (#1955) 2025-09-29 20:12:24 -04:00
python-sdk chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
servers Add list_resources, list_prompts, and get_prompt methods to Context (#2249) 2025-10-24 19:24:02 -04:00
snippets Add MCP json output from CLI (#1056) 2025-07-06 10:23:50 -04:00
tutorials Add comprehensive OAuth 2.1 authentication system with WorkOS integration (#1327) 2025-08-01 17:06:55 -04:00
.ccignore Add comprehensive OAuth 2.1 authentication system with WorkOS integration (#1327) 2025-08-01 17:06:55 -04:00
changelog.mdx Stage 2.13.0 updates (#2252) 2025-10-25 08:52:21 -04:00
docs.json chore: Update SDK documentation (#2214) 2025-10-25 08:52:43 -04:00
updates.mdx Stage 2.13.0 updates (#2252) 2025-10-25 08:52:21 -04:00