v0.4.1
Replaces the deprecated authlib.jose JWT backend with PyJWT and patches a pydantic-settings vulnerability.
What changed
- JWT validation migrated to PyJWT —
authlib.joseis deprecated upstream and would break at authlib 2.0. The new implementation usesPyJWKSet+jwt.decodewith explicitkid-based key lookup. All security properties are preserved: asymmetric-only algorithm allowlist,alg: nonerejection, fullexp/iss/aud/subenforcement, generic error messages. Key rotation resilience is also restored for providers that reuse akidacross rotations. pydantic-settingsbumped to 2.14.2 — fixes GHSA-4xgf-cpjx-pc3j (symlink traversal inNestedSecretsSettingsSource).authlibremoved from the published dependency list;pyjwt>=2.8.0added.cryptography>=42.0(already declared) provides RSA/EC key support.
Full Changelog: v0.4.0...v0.4.1