# JWT token validation and JWKS (asp.net core webapi 6)

**URL:** <https://community.auth0.com/t/jwt-token-validation-and-jwks-asp-net-core-webapi-6/83075>\
**Category:** Get Help\
**Created:** [May 7, 2022, 12:04pm UTC](https://community.auth0.com/t/jwt-token-validation-and-jwks-asp-net-core-webapi-6/83075 "2022-05-07T12:04:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![irfanali1981](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/irfanali1981/32/35949_2.png) [@irfanali1981](https://community.auth0.com/u/irfanali1981)\
**Post date:** [May 7, 2022, 12:04pm UTC](https://community.auth0.com/t/jwt-token-validation-and-jwks-asp-net-core-webapi-6/83075/1 "2022-05-07T12:04:06Z")

</div>

0

I am complete new to JWT and Auth0. I am writing an webapi using .net core 6. It need to validate user Authorization JWT token (Http header) using Authorisation filter in .net core and JWKS (keys). May I have any example. I have search google but no luck.

I would like to use Authorisation filter + JWKS

Please any sample code, example would be excellent.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 12, 2022, 12:02am UTC](https://community.auth0.com/t/jwt-token-validation-and-jwks-asp-net-core-webapi-6/83075/2 "2022-05-12T00:02:47Z")

</div>

Hi there @irfanali1981 welcome to the community!

Have you had a chance to take a look at this quickstart?

> **[Auth0 ASP.NET Core Web API SDK Quickstarts: Authorization](https://auth0.com/docs/quickstart/backend/aspnet-core-webapi/01-authorization)**
>
> This tutorial demonstrates how to add authorization to an ASP.NET Core Web API application using the standard JWT middleware.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 27, 2022, 12:03am UTC](https://community.auth0.com/t/jwt-token-validation-and-jwks-asp-net-core-webapi-6/83075/4 "2022-05-27T00:03:21Z")

</div>

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