Search code examples
identityserver4

How to add IdentityModel reference


I am working through IS quickstart and having trouble adding IdentityModel to the Client project. I installed the NuGet package through VS.Net and it seemed to be successful but after that, the assembly does not show from the reference list. What am I missing here? Do I need to browse the file system to find the dll? If so, where?


Solution

  • When you add the IdentityServer4 NuGet package, it has a dependency on IdentityModel. So it is already added and that's you don't see it.

    You can see its dependencies here

    And in Visual Studio if you drill down the Dependencies -> Packages -> IdentityServer4 node

    enter image description here