You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/rest/overview/authenticating-to-the-rest-api.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,21 @@ curl --request POST \
73
73
}'
74
74
```
75
75
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.
77
91
78
92
## Authenticating in a {% data variables.product.prodname_actions %} workflow
0 commit comments