secubox-deb/common
CyberMind-FR 6f72146a4f fix(auth): Use Optional syntax for Pydantic 1.x compatibility
The require_jwt dependency used Python 3.10+ union syntax
(HTTPAuthorizationCredentials | None) with Annotated, which
causes FastAPI 0.92/Pydantic 1.10 to incorrectly require a
request body on GET endpoints.

Changed to Optional[HTTPAuthorizationCredentials] = Depends(_bearer)
which is compatible with older FastAPI/Pydantic versions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-29 07:24:20 +02:00
..
apparmor Add secubox-repo and secubox-hardening modules, CI/CD workflows 2026-03-22 22:15:01 +01:00
audit Add secubox-repo and secubox-hardening modules, CI/CD workflows 2026-03-22 22:15:01 +01:00
nginx fix(build): Upgrade Python deps + CORS + login endpoint fixes 2026-04-28 20:53:40 +02:00
secubox_core fix(auth): Use Optional syntax for Pydantic 1.x compatibility 2026-04-29 07:24:20 +02:00