I have developed MVC4 application, in which i have home page. On home page, i have embedded ACS Login page for Authentication. When i run the web role, it directly loads the default ACS login page and not application home page.
I have designed home page on Index.cshtml under Home controller.
I Have added Realm as http://127.0.0.1:81/Home/
If you have come across similar situation, please help.
I'm sorry that I have to use reference links, but the answer is not just "simply do that", and requires deeper understanding of security protocols.
Use this as a starting point: Creating Custom Login Page for Federated Authentication using Azure ACS to understand the besics.
Then you may take a look at the ACS Code Samples on MSDN. They contain a perfectly suitable for you MVC3CustomSignInPage sample app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With