I want to use NancyFx for an intranet web app. All the documentation and forums only mention Forms and Basic authentication. Anyone successfully use Nancy with Windows Authentication?
There’s also something called Nancy.Authentication.Stateless but I can’t see what that does (looks like it’s for use in Apis).
I used this in an internal project recently – I don’t really like it, and it ties you to asp.net hosting, but it did the job:
It bypasses all the security checks if it’s coming from local (for testing), which is probably a bad idea, but it’s a behind the firewall thing so it isn’t an issue for this.
Wouldn’t suggest you use it verbatim, but might point you in the right direction 🙂