Skip to content

Commit 6bb4bdc

Browse files
Make client_secret optional since it's not always required (#32628)
Co-authored-by: Sarah Edwards <[email protected]>
1 parent 4065205 commit 6bb4bdc

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/refreshing-user-access-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If you opt into user access tokens that expire after you have already generated
5050
Query parameter | Type | Description
5151
-----|------|------------
5252
`client_id` | `string` | **Required.** The client ID for your {% data variables.product.prodname_github_app %}. The client ID is different from the app ID. You can find the client ID on the settings page for your app.
53-
`client_secret` | `string` | **Required.** The client secret for your {% data variables.product.prodname_github_app %}. You can generate a client secret on the settings page for your app.
53+
`client_secret` | `string` | **Required** unless the user access token was generated using the device flow. The client secret for your {% data variables.product.prodname_github_app %}.
5454
`grant_type` | `string` | **Required.** The value must be "refresh_token".
5555
`refresh_token` | `string` | **Required.** The refresh token that you received when you generated a user access token.
5656

0 commit comments

Comments
 (0)