Skip to content

Commit 7a4183e

Browse files
Added conditional for App ID and Client ID (#55058)
1 parent c0758e8 commit 7a4183e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Most programming languages have a package that can generate a JWT. In all cases,
4747
> [!NOTE]
4848
> You must run `gem install jwt` to install the `jwt` package in order to use this script.
4949
50-
In the following example, replace `YOUR_PATH_TO_PEM` with the file path where your private key is stored. Replace `YOUR_APP_ID` with the ID of your app. Make sure to enclose the values for `YOUR_PATH_TO_PEM` and `YOUR_APP_ID` in double quotes.
50+
In the following example, replace `YOUR_PATH_TO_PEM` with the file path where your private key is stored. Replace {% ifversion client-id-for-app %}`YOUR_CLIENT_ID`{% else %}`YOUR_APP_ID`{% endif %} with the ID of your app. Make sure to enclose the values for `YOUR_PATH_TO_PEM` and {% ifversion client-id-for-app %}`YOUR_CLIENT_ID`{% else %}`YOUR_APP_ID`{% endif %} in double quotes.
5151

5252
```ruby
5353
require 'openssl'

0 commit comments

Comments
 (0)