fastmcp/tests/server/auth/providers
Jeremiah Lowin 3bc2805b67
fix: normalize Google scope shorthands and surface valid_scopes
Google accepts shorthand scopes like "email" in authorization requests but
returns full URIs like "https://www.googleapis.com/auth/userinfo.email" in
token responses. The verifier now normalizes shorthands at initialization so
the subset check works regardless of which form was used. GoogleProvider also
now exposes valid_scopes for controlling which scopes clients can request
beyond the required minimum.

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-13 18:29:52 -04:00
..
__init__.py Add WorkOS and Azure OAuth providers (#1550) 2025-08-20 16:22:03 -04:00
test_auth0.py Remove automatic environment variable loading from auth providers (#2752) 2025-12-26 15:37:59 -05:00
test_aws.py Bind AWS Cognito token verification to configured app client (#3406) 2026-03-07 11:40:39 -05:00
test_azure.py Split large test files to comply with loq line limit (#3328) 2026-02-28 11:21:11 -05:00
test_azure_scopes.py Replace vendored DI with uncalled-for (#3301) 2026-03-02 16:35:15 -05:00
test_descope.py Remove automatic environment variable loading from auth providers (#2752) 2025-12-26 15:37:59 -05:00
test_discord.py Bind Discord token verifier to client ID (#3405) 2026-03-06 17:01:44 -05:00
test_github.py Fix Windows test timeouts in OAuth proxy provider tests (#3123) 2026-02-09 20:54:16 -05:00
test_google.py fix: normalize Google scope shorthands and surface valid_scopes 2026-03-13 18:29:52 -04:00
test_http_client.py Bind Discord token verifier to client ID (#3405) 2026-03-06 17:01:44 -05:00
test_introspection.py Add in-memory caching for token introspection results (#3298) 2026-02-26 10:43:40 -05:00
test_propelauth.py Adds PropelAuth as an AuthProvider 2026-03-02 16:18:22 -05:00
test_scalekit.py Add JWT audience validation and RFC 8707 warnings to auth providers (#3204) 2026-02-17 18:16:05 -05:00
test_supabase.py Block insecure HS* JWT verification with JWKS/public keys (#3430) 2026-03-07 12:20:48 -05:00
test_workos.py Fix WorkOS token scope verification bypass 🤖 Generated with Codex (#3407) 2026-03-06 17:01:35 -05:00