fastmcp/tests/server/auth/oauth_proxy
Jeremiah Lowin 32dfe50f39
Treat refresh_expires_in=0 as missing, fall back to 30-day default (#3514)
Keycloak returns refresh_expires_in=0 for offline tokens (offline_access scope),
meaning "no fixed time-based expiry". The truthiness check on this value caused
the proxy to skip issuing a PROXY_RT, forcing browser re-auth every hour.

Closes #3509

🤖 Generated with Claude Code

Co-authored-by: Marvin Context Protocol <41898282+Marvin Context Protocol@users.noreply.github.com>
Co-authored-by: Jeremiah Lowin <jlowin@users.noreply.github.com>
2026-03-15 11:49:50 -04:00
..
__init__.py Consolidate test fixtures and refactor large test files (#2941) 2026-01-19 15:18:35 -05:00
conftest.py Use MemoryStore for OAuth proxy tests 2026-02-01 02:30:05 +00:00
test_authorization.py Use MemoryStore for OAuth proxy tests 2026-02-01 02:30:05 +00:00
test_client_registration.py Consolidate test fixtures and refactor large test files (#2941) 2026-01-19 15:18:35 -05:00
test_config.py Use MemoryStore for OAuth proxy tests 2026-02-01 02:30:05 +00:00
test_e2e.py Use MemoryStore for OAuth proxy tests 2026-02-01 02:30:05 +00:00
test_oauth_proxy.py feat: make upstream_client_secret optional in OAuthProxy (#3486) 2026-03-15 11:14:56 -04:00
test_tokens.py Treat refresh_expires_in=0 as missing, fall back to 30-day default (#3514) 2026-03-15 11:49:50 -04:00
test_ui.py Escape client_id in OAuth consent details (#3418) 2026-03-06 17:33:12 -05:00