Skip to content

Commit 7ba33de

Browse files
authored
updated instructions on GH OAuth customization (#425)
1 parent 8e9e334 commit 7ba33de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/home/auth-providers/github.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ Before showing how to configure your GitHub app credentials, let's go through th
3333

3434
### Create a GitHub app
3535

36-
- Follow GitHub's guide to [registering a GitHub app](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app)
36+
- Follow GitHub's guide to [registering a GitHub app](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app). Make sure to use the "GitHub App" type, which [provides more granular permissions control compared to the "OAuth App" type](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps).
3737
- Choose the permissions you need for your app
3838
- At a minimum, you must enable read-only access to the Account > Email addresses permission
3939
- To access repo data, you must enable at least the Repository > Contents permission
4040
- Set the redirect URL to: `https://cloud.arcade.dev/api/v1/oauth/callback`
41+
- Leave "Expire user authorization tokens" **checked**
4142
- Leave "Request user authorization (OAuth) during installation" **unchecked**
4243
- Leave "Setup URL" blank and "Redirect on update" **unchecked**
4344
- Ensure Optional features > User-to-server token expiration is enabled

0 commit comments

Comments
 (0)