'Web App C# Single Browser switches between muliple accounts MSAL like Https://portal.azure.com

I have a web app "multi tenant" it works great but my clients asked me that they would like to switch between accounts, in stead of logging in and out. I am not a pro using C# if you can help please give me a example that would help a lot. Should my question not make since please ask me to give more detail. Same computer same browser and the ability to switch between accounts. Using Microsoft.Identity.Client, Microsoft.Identity.Web, Asp .net Core



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source