-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happens when using storage helper osxkeychain? #44
Comments
You'll find that authentication fails once every two hours, because Git tries to use an expired token. Git immediately erases the invalid credential, so repeating the command will generate a fresh OAuth token and succeed. This problem only occurs with GitLab, BitBucket and Gitea. It doesn't occur with GitHub because GitHub's OAuth tokens never expire. |
To make sure I understand what you're saying:
This is only applicable when the Config:
Right when the Config:
AFAICT it doesn't make sense to combine the Config:
|
A fix to credential-osxkeychain is in review gitgitgadget/git#1667 https://lore.kernel.org/git/pull.1667.git.1708212896.gitgitgadget@gmail.com/ |
Originally posted by @hickford in #42 (comment)
Does this mean that the OAuth token never expires when using the default configuration below?
The text was updated successfully, but these errors were encountered: