I got a kinda odd request that has crossed my desk. We recently upgraded an mvc app to .net core - I mean like we upgraded it last week. I'm still trying to understand the changes that have taken place with the switch to core. My dev lead wants to enable the app to use either windows integrated authentication or individual user accounts. He wants the ability to be able to switch back and forth between the two authentication methods depending upon how the web app is started (I'm guessing this is due to a customer requirement).
So I'm wondering what is the best way to do this. Should I define a command line parameter to use when the app starts? Should it be a configuration setting? Can this even be done with a simple switch or would it also require IIS config changes? I'm just not sure.
Any ideas, folks?