Skip to content
Discussion options

You must be logged in to vote

Would you mind reviewing the state of your ~/.local/gh/hosts.yml file and sharing what makes sense? Also have you tried re-authenticating with gh auth login?

As you'll see below, this file contains information the hosts you are authenticated with. Because there might be information about unsecure OAuth token or keychain location, I encourage you to look at it yourself and share what makes sense.

I think you might have an empty hosts file but you have a token stored in the location of the default host keyring.

Digging into the code

cli/cli side

gh auth status is pulling host information from configuration, which is managed by cli/go-gh library:

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@twz123
Comment options

@andyfeller
Comment options

Answer selected by twz123
@twz123
Comment options

@andyfeller
Comment options

@twz123
Comment options

@samcoe
Comment options

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants