FastAPI Keycloak Middleware

JSON →
library 1.6.0 ·python
verified Jun 7, 2026

Middleware for FastAPI that authenticates users against a Keycloak server. Supports OIDC, role-based access, and token validation. Current version 1.6.0, requires Python >=3.11, <4. Release cadence is irregular.