fastmcp/tests/server/auth
Jeremiah Lowin 3321644ad3
Replace subprocess tests with in-process async servers (#2006)
* Use anyio as testing backend

* Remove asyncio markers

* Update streamable http tests

* Replace all subprocess tests

* Replace anyio task groups with asyncio context managers in tests

- Convert run_server_async from anyio task group pattern to asyncio.create_task with async context manager
- Remove task_group fixture from conftest
- Update all test fixtures to use async with run_server_async pattern
- Remove TaskGroup imports from all test files
- Tests now work with pytest-asyncio instead of pytest-anyio

* Update test_github_provider_integration.py
2025-10-19 10:47:54 -04:00
..
providers Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
__init__.py Add WorkOS and Azure OAuth providers (#1550) 2025-08-20 16:22:03 -04:00
test_auth_provider.py Upgrade to MCP 1.17+ with RFC 9728 compliance (#2122) 2025-10-17 09:29:23 -04:00
test_jwt_issuer.py OAuth proxy issues its own tokens (#2109) 2025-10-17 14:31:53 -04:00
test_jwt_provider.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_oauth_consent_flow.py Support custom server name, icons, and link in OAuth Proxy consent page (#2135) 2025-10-18 11:49:26 -04:00
test_oauth_mounting.py Support mounting OAuth-protected servers under path prefixes (#2119) 2025-10-17 11:44:49 -04:00
test_oauth_proxy.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_oauth_proxy_redirect_validation.py Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
test_oauth_proxy_storage.py Add raise on validation error and set uniform collection names 2025-10-08 23:40:58 -04:00
test_oidc_proxy.py fix: Improve URL handling in OIDCConfiguration (#1850) 2025-09-19 13:11:37 -04:00
test_redirect_validation.py Fix OAuth redirect URI validation for DCR compatibility (#1661) 2025-08-28 15:19:56 -04:00
test_remote_auth_provider.py Support mounting OAuth-protected servers under path prefixes (#2119) 2025-10-17 11:44:49 -04:00
test_static_token_verifier.py Add documentation for get_access_token() dependency function (#1446) 2025-08-11 13:01:44 -04:00