auth0 / auth0-aspnet-owin

Auth0 ASP.NET 4.5 Owin/Katana Authentication Handler
MIT License
46 stars 50 forks source link

Nuget dependency on "Microsoft.Owin.Host.SystemWeb" #38

Closed arieradle closed 8 years ago

arieradle commented 8 years ago

The project has reference to Microsoft.Owin.Host.SystemWeb. It is referenced and used only by the test project.

This dependency is redundant, please remove it.

jerriep commented 8 years ago

Hi @arieradle that reference is indeed required because the Auth0AccountController class which is added by the package requires it.

If this is a problem for you I can create a new NuGet package which includes only the OWIN middleware and will therefore required less dependencies.

Please let me know if this is required by you.

arieradle commented 8 years ago

I would like to have such NuGet.

jerriep commented 8 years ago

OK, I will create one for you ;)

arieradle commented 8 years ago

10x :smile: The second issue with System.Web dependency is also important for pure OWIN platform independent architecture.

jerriep commented 8 years ago

You can use https://www.nuget.org/packages/Auth0-ASPNET-Owin-Libs/ for using just the OWIN middleware