We have developed sample application which has OWIN KATANA Token based authentication and authorization is implemented in ASP.NET webapi. We wanted to host it in IIS. With IIS express its working with all endpoints and Token got generated. However when hosted in IIS, with Post request to get the Token , it says "HTTP/1.1 500 Internal Server Error".
Any thoughts on this, that should be handled to make it work with IIS.