My Technical Notes

Thursday, 2 July 2015

MVC: disabling Owin

Owin is the new way of authenticating. If you would like to revert your project to using the old method of doing things, follow these steps:

  • Add:
    
    <add key="owin:AutomaticAppStartup" value="false" />
    
    to your `<appSettings>` section.

  • Remove the line:
    
    <remove name="FormsAuthentication" />
    
    from under the `<modules>` section.

No comments: