auth0 / auth0-aspnet-owin

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

Remove dependency on System.Web #37

Closed arieradle closed 8 years ago

arieradle commented 8 years ago

The handler contains dependency on System.Web due to a single line of code:

Line 279 in Auth0AuthenticationHandler.cs: var state = HttpUtility.ParseQueryString(context.Request.Query["state"]);

I think it's possible to use Uri.ParseQueryString

This dependency is redundant, and while it's in place, I'm not sure if this middleware can be used in selfhosting scenarios

itsho commented 8 years ago

I need the exact same thing.

jerriep commented 8 years ago

I will look into your issues sometimes next week @arieradle