# Custom keycloak middleware

**URL:** <https://forum.keycloak.org/t/custom-keycloak-middleware/10381>\
**Category:** Miscellanaeous\
**Created:** [August 4, 2021, 6:35am UTC](https://forum.keycloak.org/t/custom-keycloak-middleware/10381 "2021-08-04T06:35:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![njn](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@njn](https://forum.keycloak.org/u/njn)\
**Post date:** [August 4, 2021, 6:35am UTC](https://forum.keycloak.org/t/custom-keycloak-middleware/10381/1 "2021-08-04T06:35:05Z")

</div>

Is there any way to add custom logic in the keycloak middleware?? This is on nodejs
