How to do JWT token decryption in PCL library?

roycornelissenroycornelissen USInsider, University, Developer Group Leader ✭✭

Hi, I'm trying to work out a way to do JWT token decryption in a PCL library so I can use it in a cross platform Xamarin app. I get a JWT that is encrypted using asymmetric key encryption. I know there are libraries like Jose.JWT and Xamarin.Jose.Jwt but these are not PCL compatible. The closest thing I could find is https://github.com/dvsekhvalnov/jose-pcl but this is far from finished.

I'm trying to re-create the Jose logic on top of PCLCrypto but not getting any luck properly decoding the JWT. Plus it doesn't feel sensible to do encryption/decryption myself and rather rely on a well tested and supported library. Any ideas or alternatives?

Tagged:

Best Answer

Answers

  • D-BotD-Bot CAUniversity ✭✭

    @roycornelissen i found this Portable.JWT from the same author of Xamarin.JOSE.JWT

Sign In or Register to comment.