git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Suppress 'info: please complete authentication in browser'

From
BHBrian Hart <brian.hart@xylogix.net>
Date
Dec 27, 2023, 17:11 UTC
Message-ID
<1858825158.1864122.1703697091856@mailbusiness.ionos.com>
Git for Windows version: 2.43.0
Hello,
I am running a nightly shell script that syncs my local and remote Git repos. It kicks off at 7:30 PM each day. When I come into work the following morning, sporadically, I find that part of the script has not been executing for hours because a modal popup displays.

The text in the console is: `info: please complete authentication in your browser`

At the same time, a modal pop-up appears. The modal popup needs a button clicked to open the browser and sign in. Upon doing so, the browser says "authentication successful," and the script continues -- but this is after I've woken up from being asleep, with the script otherwise sitting suspended all night long.
I've heard various suggestions before about using the Windows Credential Manager (I believe I am already) and such. It seems as if Git is programmed to ignore the Credential Manager periodically and demand the use of the browser to re-authenticate.
Here is the .sh script I am using, e.g., to do a pull on each directory in a root directory:

``` git config --global user.email "XXXXX" --replace-all; git config --global user.name "XXXXXX" --replace-all; git config --global credential.helper wincred --replace-all; for d in */; do cd $d; echo Processing repository in "${d%/}"...; git config credential.helper wincred; git remote update; git pull --all -v --no-rebase; git add --renormalize .; cd ..; done ```

As you can see I am using `git config --global credential.helper wincred --replace-all` and I am not sure why this should not work. NOTE: The 'XXXX' are for privacy.
How can I suppress the modal pop-up so I can run my overnight Git scripts?
Regards,
Brian Hart
Next: brian m. carlson
Message 1 of 2 in “Suppress 'info: please complete authentication in browser'”
  1. Brian HartDec 27, 2023
  2. brian m. carlsonDec 27, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.