# Go Gin middleware

**URL:** <https://community.auth0.com/t/go-gin-middleware/99729>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [February 5, 2023, 12:43am UTC](https://community.auth0.com/t/go-gin-middleware/99729 "2023-02-05T00:43:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronen.niv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ronen.niv/32/42885_2.png) [@ronen.niv](https://community.auth0.com/u/ronen.niv)\
**Post date:** [February 5, 2023, 12:43am UTC](https://community.auth0.com/t/go-gin-middleware/99729/1 "2023-02-05T00:43:14Z")

</div>

I’m looking for an example of how to create Gin middleware in Go. I could find examples for the net/http library, but no middleware function to support gin.  
The example in auth0 uses the function middleware.CheckJWT, which is not supported by gin

Can you point me to an example for auth0 validation to be used as middleware for Gin?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 6, 2023, 10:38am UTC](https://community.auth0.com/t/go-gin-middleware/99729/2 "2023-02-06T10:38:50Z")

</div>

Hey there!

Unfortunately I believe we don’t have resources on that front. I would highly encourage you to leave feedback regarding that using our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 20, 2023, 10:39am UTC](https://community.auth0.com/t/go-gin-middleware/99729/3 "2023-02-20T10:39:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
