An ASP.NET 5 compatible port of the OAuth Authorization Server Middleware from Microsoft's Project Katana (Microsoft.Owin.Security.OAuth). The original Microsoft sample can be found at http://goo.gl/EQGmaV
The dev and master branch are kept in sync with nightly builds of ASP.NET 5; If you are coding against the night feed of ASP.NET 5 at https://www.myget.org/F/aspnetvnext, then use this nuget feed, http://xacron.azurewebsites.net/nuget, for compatible nuget packages from this project.