I have a Xamarin.Forms solution with PCL build, Android app and iOS app and I want to decode JWT in PCL.
I cannot use Thinktecture.IdentityModel.Core 1.1.0 or System.IdentityModel.Tokens.Jwt 4.0.0 or JWT 1.3.2 , because none of them can be added to a project that targets " portable-net45 + win + MonoAndroid10 + MonoTouch10 ".
I managed to add Jose JWT 1.7.0 from NuGet and make sure that it works in Unit Tests, but it makes me get the following build error in my Xamarin Android project ...
Assembly loading exception: System.IO.FileNotFoundException: Failed to load assembly 'System.Web.Extensions, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'. Perhaps it does not exist in the Mono profile for Android?
Suggestions?
bosco source share