IdentityModel / IdentityModel.OidcClient.Old

OpenID Connect Client Library for Native Applications
Other
38 stars 17 forks source link

Xamarin Android only - Classes in the module cannot be loaded #55

Closed voidsstr closed 6 years ago

voidsstr commented 7 years ago

Hello, I'm version 1.7.0 of IdentityModel.OidcClient and receive a class loader exception:

ReflectionTypeLoadException: The classes in the module cannot be loaded

LoaderExceptions:

Type '__callback_factoryclass' is not finished.

Attached is the exception in Xamarin studio as well as the android build settings I am using.

screen shot 2017-01-05 at 12 36 57 pm screen shot 2017-01-05 at 12 36 05 pm
leastprivilege commented 7 years ago

Do the Android samples work for you?

voidsstr commented 7 years ago

The sample loads and the same call (OidcClientOptions constructor) does not throw this exception. However when I click 'Call API', the web page shows 'unauthorized_client' error.

leastprivilege commented 7 years ago

Well - that's a different issue.