Skip to content

don't cache invalid credentials #38

@warner

Description

@warner

In sigma/magit-gh-pulls#5 (comment) I noticed that gh.el can cached a stale (invalid) oauth token from my ~/.gitconfig file, and I couldn't find any way to clear it. Eventually I had to quit emacs entirely and start it up again.

It'd be nice if the credential were only cached after it had been seen to work properly, or maybe the cache could be automatically invalidated if the library ever gets a bad-auth error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions