fastmcp/docs/servers/auth
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
..
authentication.mdx Add storage backend documentation (#2137) 2025-10-19 19:24:13 -04:00
full-oauth-server.mdx Add storage backend documentation (#2137) 2025-10-19 19:24:13 -04:00
oauth-proxy.mdx Add platform-aware OAuth token persistence (#2218) 2025-10-22 20:42:24 -04:00
oidc-proxy.mdx Add platform-aware OAuth token persistence (#2218) 2025-10-22 20:42:24 -04:00
remote-oauth.mdx Add RFC 7662 token introspection provider (#2074) 2025-10-16 10:57:06 -04:00
token-verification.mdx Add storage backend documentation (#2137) 2025-10-19 19:24:13 -04:00