Self-Host Web API Security Example

Aug 27, 2013 at 8:13 PM
Can anyone point me to a simple but full example of Web API security running in self-hosted OWIN? All I can find are these examples of building a handler for Hawk, which I'm not using, and didn't work when I tried customizing it for my purposes. I get it all to register etc. but when I put an [Authorize] attribute on one of my Web API methods it never hits my custom middleware handler.

Any examples are very much appreciated.

Thanks!
Coordinator
Aug 27, 2013 at 9:11 PM