1
0
mirror of synced 2025-12-21 10:57:10 -05:00

Update authenticating-with-github-apps.md

This commit is contained in:
Andre Kolodochka
2021-09-10 11:37:40 +10:00
committed by GitHub
parent 2d0efc3a66
commit 5caa90b033

View File

@@ -89,7 +89,7 @@ jwt = JWT.encode(payload, private_key, "RS256")
puts jwt puts jwt
``` ```
`YOUR_PATH_TO_PEM` and `YOUR_APP_ID` are the values you must replace. `YOUR_PATH_TO_PEM` and `YOUR_APP_ID` are the values you must replace and make sure to enclose them in double quotes.
Use your {% data variables.product.prodname_github_app %}'s identifier (`YOUR_APP_ID`) as the value for the JWT [iss](https://tools.ietf.org/html/rfc7519#section-4.1.1) (issuer) claim. You can obtain the {% data variables.product.prodname_github_app %} identifier via the initial webhook ping after [creating the app](/apps/building-github-apps/creating-a-github-app/), or at any time from the app settings page in the GitHub.com UI. Use your {% data variables.product.prodname_github_app %}'s identifier (`YOUR_APP_ID`) as the value for the JWT [iss](https://tools.ietf.org/html/rfc7519#section-4.1.1) (issuer) claim. You can obtain the {% data variables.product.prodname_github_app %} identifier via the initial webhook ping after [creating the app](/apps/building-github-apps/creating-a-github-app/), or at any time from the app settings page in the GitHub.com UI.