Auth0 Home Blog Docs

Jwt token validation using ECC in .net


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.


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!


Hi James

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



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


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