I am working on application which a´has two types of users external user and internal user(domain user). Now for internal user should directly take users to landing page without asking for username and password. And for external user which are public it should display a form asking for username and password. So I am confused to proceed with such scenario.
I've done it a couple of times. I haven't used this, but there is a project called OWIN-MixedAuth that might help. Even if that doesn't work exactly as you want, it should give you an idea about how it can work.
There are 3 required things to make this work:
<location>
tag to your web.config that changes the authentication for that one action to Windows Authentication. This process is described here . You also need to unlock this feature as described here . Those three points are the same as the OWIN-MixedAuth project (it sets up the action for you). This is where what I did it different:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.