# Delegate to another middleware from a plugin?

**URL:** <https://community.traefik.io/t/delegate-to-another-middleware-from-a-plugin/17075>\
**Category:** Traefik v2\
**Tags:** plugin\
**Created:** [January 10, 2023, 10:58am UTC](https://community.traefik.io/t/delegate-to-another-middleware-from-a-plugin/17075 "2023-01-10T10:58:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jochen](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jochen](https://community.traefik.io/u/jochen)\
**Post date:** [January 10, 2023, 10:58am UTC](https://community.traefik.io/t/delegate-to-another-middleware-from-a-plugin/17075/1 "2023-01-10T10:58:48Z")

</div>

Is there a way to delegate to another middleware from a plugin? I.e. do something like

```auto
othermiddleware := <lookup middleware somehow>
othermiddleware.Then(next)

```

---

<div class="post-metadata">

**Author:** ![kevinpollet](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/kevinpollet/32/1755_2.png) [@kevinpollet](https://community.traefik.io/u/kevinpollet)\
**Post date:** [January 11, 2023, 1:47pm UTC](https://community.traefik.io/t/delegate-to-another-middleware-from-a-plugin/17075/2 "2023-01-11T13:47:15Z")

</div>

Hello @jochen and thanks for your interest in Traefik,

> Is there a way to delegate to another middleware from a plugin?

This is not possible for the moment.
