Skip confirmation for GCM_MSAUTH_USEDEFAULTACCOUNT
Feature description
When using GCM_MSAUTH_USEDEFAULTACCOUNT, it still asks for (UI-based) confirmation for the account used. How can i set a flag to bypass this confirmation and directly use the default account (what i assumed does this flag in the first place)?
Came here to find out if this is a regression. I only recently noticed that every new terminal instance asks for GUI confirmation, it used to be cached a while back.
What are the steps for reproducing this issue?
-
Create a VM with MS Broker enabled (AFAIK e.g. Entra-ID MS Accounts)
-
Install Git and configure Oauth/MS-Auth Default Account flags:
GCM_MSAUTH_USEDEFAULTACCOUNT=trueGCM_MSAUTH_USEBROKERGCM_AZREPOS_CREDENTIALTYPE=oauth -
Git clone a repo from e.g. azure devops (where entra-id credentials are used)
Now there is a pop-up which could be configured to be bypassed directly.