Darveson Wright

Darveson Wright

  • 1.9k
  • 39
  • 1.1k

MVC security authentication

Nov 19 2019 10:59 AM
I am testing login with azure to add security to an existing MVC application. 
I use the example provided here: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-webapp
In development I click on login with Microsoft, i am redirected to the microsoft login page and all works perfectly.
I publish to use on  my site and in IIS I create an appplication name mssignintest off the main site 
I can go to https://mysite.com/mssignintest and launch the test mvc application,I get the login to Microsoft page
but when I click login with Microsoft It redirects me to https://www.mysite.com/mssignintest/PowerPanel/Account/LogOn?ReturnUrl=%2fMCSTickets%2fHome%2fSignIn
The creators of my website used application named Power Panels to design it.

What setting in my application do I need to edit so it behaves normally?

Brought to you by:

Answers (1)