Since it isn't forbidden to specify custom auth_backend_class in LitestarUsersConfig, I'd like to redefine authentication_middleware_class with a custom middleware like this:
but litestar-users is still using the default one.
I can add CustomSessionAuthMiddleware on the app layer, but thought that litestar-users itself could use it.
Since it isn't forbidden to specify custom auth_backend_class in LitestarUsersConfig, I'd like to redefine authentication_middleware_class with a custom middleware like this:
but litestar-users is still using the default one. I can add CustomSessionAuthMiddleware on the app layer, but thought that litestar-users itself could use it.