8000 How would I use gh with a Github app? · cli cli · Discussion #5095 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I'm not sure what you refer to by a "client secret", but in essence yes, you can use gh from a GitHub App as long as you used the App to generate an authentication token for a user. You can either pass that token to gh auth login --with-token or you can set it to an environment variable, e.g. export GH_TOKEN="...".

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@kevincianfarini
Comment options

@kiefshemul-tomtom
Comment options

Answer selected by kevincianfarini
Comment options

You must be logged in to vote
1 reply
@exp0nge
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants
0