Given an app id and secret (pem), how can I get an access token for a repo my app is installed at via a shell script?
How to get a GitHub App access token via shell
1.6k views Asked by Nabil A. At
1
Given an app id and secret (pem), how can I get an access token for a repo my app is installed at via a shell script?
This script is what you are looking for. It uses only
open-ssl
,jq
andcurl
. You can either get a token only for a given repo or all repos the app is installed to.