Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Every commit causing GitHub "Personal Access Token" generation #874

Open
ghost opened this issue Nov 21, 2019 · 1 comment
Open

Every commit causing GitHub "Personal Access Token" generation #874

ghost opened this issue Nov 21, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 21, 2019

On Windows 10, git version 2.23.0.windows.1, with manager credential helper enabled, commits to my GitHub repos result in constant "[GitHub] A personal access token has been added to your account" email being sent. It's driving me crazy. If I disable manager helper, no notifications happen.

Basically, each time I commit, I get a password prompt, enter my password, then get that email notification. If I try to commit a few minutes after, no prompt, no email notification, so there is some credential cache happening. But after a slightly longer time (maybe few hours) if I commit the same thing happens: prompt + email notification. I would expect the credentials to be stored indefinitely... So maybe that's the real issue.

I'm guessing its generating+caching+using the token rather than my credentials on subsequent commits, but the token expires quick so it's kind of pointless.

After I enter credentials, if I check Windows Credential Manager, this is all I see for GitHub... This doesn't look right, the username I enter is cf91...
image

Here is my gitconfig. I don't think I'm doing anything out of the ordinary.

Any ideas? Need any more info? Thanks.

@mark-tabit
Copy link

Hey ghost,

Have you resolved this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant