Mixed mode authentication with OWIN
问题 I am building an MVC 5 application. I need to authenticate people against an AD and a sql data base or a web service. Requirement is if a person is logged into corporate network or conneted over VPN i have to log them without asking for credentials. if the users are accessing the web site over internet or a person do not have AD account i have to use forms authentication. I am looking at this article but will this work with ASP.Net MVC and OWIN? Any other alternative? Thanks in advance. 回答1: