IdentityServer / IdentityServer3.AccessTokenValidation

OWIN Middleware to validate access tokens from IdentityServer3
Apache License 2.0
91 stars 149 forks source link

Ambiguous reference Microsoft.IdentityModel.Protocols #146

Open moritzgloeckl opened 7 years ago

moritzgloeckl commented 7 years ago

Hi,

I'm trying to add the AccessTokenValidation library to an existing (rather large) project, which is using Microsoft.IdentityModel.Protocols and Microsoft.IdentityModel.Protocols.OpenIdConnect, but the AccessTokenValidation is depending on Microsoft.IdentityModel.Protocol.Extensions. Since both libraries feature a ConfigurationManager I'm getting an ambiguous reference error (CS0433).

Is there anything I can do about this? I can't use the library like this unfortunately... I'm open to changes to our project too.

Thanks very much!

leastprivilege commented 7 years ago

I don't know - ask Microsoft - it is their library

https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet

..and let us know about the outcome, please.