I'm trying to publish a new MVC application to an Azure App Service. The app uses ADFS single sign on authentication, I have added a relying party trust on the ADFS server and can login when testing on localhost.
After publishing to my app service and trying to login it redirects to ADFS but once authenticating it redirects to localhost.
I have tried to research the issue and found the following blog and screenshot: http://rickrainey.com/2014/07/28/authenticating-with-organizational-accounts-and-azure-active-directory/
But in Visual Studio 2015 and 2017 my settings look like this: http://imgur.com/QBmtyjJ
And the following question (which is relevant to VS 2013) points to enabling organisational authentication, but the comment on the accepted answer says that the option has been removed in VS 2015. Published ASP.NET MVC 5 app with Organizational Account authentication Redirects back to localhost
My question is what are the steps in VS 2015 or 2017 to enable organisational authentication and stop my app redirecting to localhost once ADFS has authenticated?