# Jwt token validation using ECC in .net

**URL:** <https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027>\
**Category:** JWT.io\
**Created:** [April 20, 2018, 2:00am UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027 "2018-04-20T02:00:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbharany1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rbharany1/32/10107_2.png) [@rbharany1](https://community.auth0.com/u/rbharany1)\
**Post date:** [April 20, 2018, 2:00am UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027/1 "2018-04-20T02:00:45Z")

</div>

I’m looking for a C# code sample that shows how to verify a JWT that has been created with ES256 against its corresponding public key pem.

I’m struggling to find some samples that verify the signatures.

Essentially, all I need returned in my code is a verified jwt token or not.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 18, 2018, 5:35pm UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027/3 "2018-12-18T17:35:56Z")

</div>

Hey @rbharany1

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

---

<div class="post-metadata">

**Author:** ![rbharany1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rbharany1/32/10107_2.png) [@rbharany1](https://community.auth0.com/u/rbharany1)\
**Post date:** [December 18, 2018, 11:19pm UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027/4 "2018-12-18T23:19:02Z")

</div>

Hi James

Thank you for your email.  
I actually solved this issue and it can be closed

Regards

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 19, 2018, 4:02pm UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027/5 "2018-12-19T16:02:18Z")

</div>

Sounds great. Be sure to let us know if you need any assistance in the future!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 26, 2018, 8:02am UTC](https://community.auth0.com/t/jwt-token-validation-using-ecc-in-net/11027/6 "2018-12-26T08:02:20Z")

</div>

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