Answered by:
Active Directory Support For ASP MVC App

Question
-
Hi,
I have created ASP MVC 5 project with ASP Identity bearer token-based authification and have to add Active Directory (AD) support: if Windows-user belongs concrete group, consider user is authorized without asking login and password otherwise redirect to login page.
I have installed AD FS and have created test console application, it works:
AD FS Token Based Authentication In Code
Thanks.
- Moved by Anne Jing Thursday, July 24, 2014 2:39 AM
Wednesday, July 23, 2014 6:42 AM
Answers
-
Your best bet is to post the the MVC section of the ASP.NET fourm.
Wednesday, July 23, 2014 2:10 PM
All replies
-
Your best bet is to post the the MVC section of the ASP.NET fourm.
Wednesday, July 23, 2014 2:10 PM -
Actually, all you needed to do was to enable Windows Authentication on your IIS web site and then decorate your Controllers and/or Actions with the Authorize attribute indicating what groups are allowed to access it.
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.
Wednesday, July 23, 2014 2:34 PM -
Actually, all you needed to do was to enable Windows Authentication on your IIS web site and then decorate your Controllers and/or Actions with the Authorize attribute indicating what groups are allowed to access it.
Both types of auth should work together.
Wednesday, July 23, 2014 2:55 PM