Thank you for posting your query on Microsoft Q&A. From above description I could understand that after updating NuGet package Microsoft.Identity.Client from 4.51.0 to 4.52.0 your application is prompting for a password and MFA in a new browser session every time instead of redirecting/pop up.
Please do correct me if this is not the case by responding in the comments section.
On .NET Core, MSAL.NET will start the system browser as a separate process. MSAL.NET doesn't have control over this browser, but once the user finishes authentication, the web page is redirected in such a way that MSAL.NET can intercept the URI.
You may try BrowserLoginStyle type its set to none by default.
- You may try using Prompt.SelectAccount Field
- AcquireToken will send prompt=select_account to the authorization server's authorize endpoint. which would present to the user a list of accounts from which one can be selected for authentication.
public static readonly Microsoft.Identity.Client.Prompt SelectAccount;
- However if for best experience kindly use Prompt.NoPrompt Field, Let the identity service decide on the best user experience, based on browser cookies and on the login hint, which can be specified using WithAccount() or WithLoginHint()
public static readonly Microsoft.Identity.Client.Prompt NoPrompt;
Thanks
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.