Azure-Samples / active-directory-dotnet-webapp-webapi-openidconnect-aspnetcore

An ASP.NET Core web application that authenticates Azure AD users and calls a web API using OAuth 2.0 access tokens.
119 stars 97 forks source link

Deserialize fails with "No parameterless constructor defined for this object" #8

Closed glatzert closed 6 years ago

glatzert commented 8 years ago

I tried to get this running with ADAL 3.13, but the Deserialize throws a "no parameterless constructor defined for this object", which seems to come from the json parts of the serialized data.

The error-message itself seems odd at first, but the class AuthenticationResult does indeed not have a parameterless ctor.

jmprieur commented 6 years ago

Closing as this issue is a bit old, with not much context. Please reopen if this still reproes with the new updated sample to ASP.NET Core 2.0