Adding a middleware with container label?

I'm using traefik with Docker Swarm. I use forwardauth and set the middleware with this label:


It works perfectly.
Now, in other services, I want to append a middleware to the redirs router.
So when deploying service A I want to add middleware-A, and equivalently with service B.
I would need to configuration to be equivalent to setting the label


Is there a way to achieve this?
(I can provide detailed information why I want this, and I also have a workaround if this is not possible :wink: )