Middleware to allow authorization using Keycloak and Django for django-rest-framework (DRF). This package should only be used in projects starting from scratch, since it overrides the users' management.
When using an ASGI server, it is more efficient if the entire middleware stack is async capable. A small change to the middleware allows the KeycloakMiddleware to support being async.
When using an ASGI server, it is more efficient if the entire middleware stack is async capable. A small change to the middleware allows the KeycloakMiddleware to support being async.