docs
docs copied to clipboard
bash instructions for creating jwt for github app do not work with client id but work with app id
Code of Conduct
- [X] I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app#example-using-bash-to-generate-a-jwt
What part(s) of the article would you like to see updated?
Running the script with the client id results in a token which when used throws the following error:
{
"message": "A JSON web token could not be decoded",
"documentation_url": "https://docs.github.com/rest",
"status": "401"
}
Running the script with the app id results in a valid token.