Auto sign on for Windows users
arc95 opened this issue ยท 3 comments
arc95 commented
I tried it with clearing the cookies and these 4 changes on a fresh copy of OWIN-MixedAuth. It's not behaving the way I expected: It still loads the home page, and I have to click Log in, then click Windows button. With these changes, is it supposed to automatically know who the user is on the AD?
MohammadYounes commented
Does the home page require authentication ? Try hitting a page that requires authentication, and you should be challenged to authenticate using your windows credentials.
arc95 commented
Hmm, it seems to be working! I put [Authorize]
attribute on the HomeController/About action and when I try going there, it pulls my name from the db and displays it at the top. Woohoo! Thanks, @MohammadYounes ๐
MohammadYounes commented
Thanks for the feedback!