fastmcp/docs/development
Jeremiah Lowin 686082a5b5
Add platform-aware OAuth token persistence (#2218)
* Add comprehensive keyring integration tests

Prevents OS keyring pollution during testing by adding a global mock in
conftest.py. Tests verify keyring behavior across platforms and fallback
scenarios without writing to the actual system keyring.

- Add global mock_keyring fixture to tests/conftest.py
- Add TestOAuthProxyKeyring class with 6 keyring-specific tests
- Remove try/except ImportError for keyring (now required dependency)
- Add keyring extra to py-key-value-aio dependency
- Clean up extraneous implementation comments in oauth_proxy.py

* Update OAuth keyring documentation

Update all OAuth-related documentation to reflect keyring-based key management:
- Add version badges to jwt_signing_key, token_encryption_key, and client_storage parameters
- Standardize "Default behavior (`None`):" formatting with backticks
- Ensure consistent messaging about development-only defaults across all docs
- Update oauth-proxy.mdx, oidc-proxy.mdx, http.mdx, storage-backends.mdx, and upgrade-guide.mdx
2025-10-22 20:42:24 -04:00
..
contributing.mdx Add development docs for FastMCP (#1719) 2025-09-03 11:34:43 -04:00
releases.mdx Add development docs for FastMCP (#1719) 2025-09-03 11:34:43 -04:00
tests.mdx Replace subprocess tests with in-process async servers (#2006) 2025-10-19 10:47:54 -04:00
upgrade-guide.mdx Add platform-aware OAuth token persistence (#2218) 2025-10-22 20:42:24 -04:00