Skip to content

Commit 8d6c372

Browse files
authored
Merge pull request #28826 from github/repo-sync
Repo sync
2 parents 69e237d + 486af02 commit 8d6c372

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

content/rest/overview/authenticating-to-the-rest-api.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,21 @@ curl --request POST \
7373
}'
7474
```
7575

76-
You can find the client ID and generate a client secret on the settings page for your app. For more information about navigating to the settings page for your {% data variables.product.prodname_github_app %}, see "[AUTOTITLE](/apps/maintaining-github-apps/modifying-a-github-app-registration#navigating-to-your-github-app-settings)."
76+
The client ID and client secret are associated with the app, not with the owner of the app or a user who authorized the app. They are used to perform operations on behalf of the app, such as creating access tokens.
77+
78+
If you are the owner of a {% data variables.product.prodname_github_app %} or {% data variables.product.prodname_oauth_app %}, or if you are an app manager for a {% data variables.product.prodname_github_app %}, you can find the client ID and generate a client secret on the settings page for your app. To navigate to your app's settings page:
79+
80+
1. In the upper-right corner of any page on {% data variables.product.prodname_dotcom %}, click your profile photo.
81+
1. Navigate to your account settings.
82+
- For an app owned by a personal account, click **Settings**.
83+
- For an app owned by an organization:
84+
1. Click **Your organizations**.
85+
1. To the right of the organization, click **Settings**.
86+
{% data reusables.user-settings.developer_settings %}
87+
1. In the left sidebar, click **{% data variables.product.prodname_github_apps %}** or **{% data variables.product.prodname_oauth_apps %}**.
88+
1. For {% data variables.product.prodname_github_apps %}, to the right of the {% data variables.product.prodname_github_app %} you want to access, click **Edit**. For {% data variables.product.prodname_oauth_apps %}, click the app that you want to access.
89+
1. Next to **Client ID**, you will see the client ID for your app.
90+
1. Next to **Client secrets**, click **Generate a new client secret** to generate a client secret for your app.
7791

7892
## Authenticating in a {% data variables.product.prodname_actions %} workflow
7993

0 commit comments

Comments
 (0)