We have a Asp.Net MVC web application with custom authentication functionality (not using .Net authentication framework). Now we want to integrate it with Azure Active Directory with multi tenant support. I have followed following application example and the sample app directs me to AD login page.
However, when I do same thing in my app, it just redirects me to http://localhost:14223/app/login.aspx? We are not using FormsAuthentication or anything, so I am not sure how this is happening and what is the process to avoid it. Any help would be appreciated.
Thanks.