title: How to make an Asp.Net core web app that supports multiple providers?
body: <p>I'm in the process of designing an application and I've some challenges: The app that we will make will be deployed by our customers in very various places. Based of its pre</p>
  <p>Some will deploy it on Azure, some will deploy it on their own servers, ...
  The same applies for the authentication. Some will want to integrate with their Azure AD, some with their local Active directory, and some will have nothing and we will have to store their user/hash for them.</p>
  <p>I've already done some (demo) applications, where you set some services in the ConfigureService, but here it will go farther:</p>
  <p>How to have an application that will sometime use a local DB, sometime an external oAuth, ... ?</p>
  <p>Is there a way to have some kind of wizard that will allow the admin to configure it?</p>