Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: github-mode: Simplify redirect_uri instructions #1359

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions docs/src/content/pages/github-mode.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,17 @@ When you authorize on a server and get the following error from GitHub, you need

To add a redirect URL:

1. Go to the [list of "Installed Github Apps"](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#navigating-to-the-github-app-you-want-to-review-or-modify)
- For Users: [`https://github.com/settings/installations`](https://github.com/settings/installations)
- For Organisations: `https://github.com/organizations/<org name>/settings/installations`
2. Select the app > Choose "App settings"
- For Users: `https://github.com/settings/apps/<app slug>`
- For Organisations: `https://github.com/organizations/<org name>/settings/apps/<app slug>`
1. Open your app page by using the value of the `PUBLIC_KEYSTATIC_GITHUB_APP_SLUG` environment variable:
`https://github.com/apps/<app slug>`
2. Select "App settings"
3. Use "Add Callback URL" > Add the additional URL > Save

Now try reloading the authentication page.

If you don't have the app slug, use the [list of "Installed GitHub Apps"](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#navigating-to-the-github-app-you-want-to-review-or-modify) to find your app.
- For Users: [`https://github.com/settings/installations`](https://github.com/settings/installations)
- For Organisations: `https://github.com/organizations/<org name>/settings/installations`

---

## Deploying Keystatic
Expand Down
Loading