I'm trying to test my application against the OAuth Microsoft Account Login.
I have added the following to my hosts file
127.0.0.1 testdomain.co.uk
My application is running over https so when I run the app it runs as follows;
Now when I hack the url to be
I get the certificate warning (which is to be expected). However, when I click continue to site, i get a 400 Web Page cannot be found error?
Any ideas on what i am doing wrong here?
You need to tell your web server that it should handle the testdomain.co.uk for this project. Your web server (IIS Express) does not know it, as by default it is set to handle "localhost" host only. How to change that is described here: https://stackoverflow.com/a/32365556/3835864