Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Nov 20, 2024
1 parent e1df78e commit 6da3a8e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/src/content/pages/github-mode.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,21 @@ Keystatic will only list branches starting with `my-prefix/` in the Admin UI, an

## Add `redirect_uri`

When you authorize on a server and get the following Error from Github, you need to mofify the Github application settings.
When you authorize on a server and get the following error from GitHub, you need to modify the GitHub application settings.

> Be careful!
> The `redirect_uri´ is not associated with this application.
> The `redirect_uri` is not associated with this application.
> The application might be misconfigured or could be trying to redirect you to a website you weren't expecting.

To add a redirect URL:

1. Go to the [list of app "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: [Deeplink](https://github.com/settings/installations)
- For Organisations: `https://github.com/organizations/<OrgaName>/settings/installations`
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/<PUBLIC_KEYSTATIC_GITHUB_APP_SLUG>`
- For Organisations: `https://github.com/organizations/<OrgaName>/settings/apps/<PUBLIC_KEYSTATIC_GITHUB_APP_SLUG>`
- For Users: `https://github.com/settings/apps/<app slug>`
- For Organisations: `https://github.com/organizations/<org name>/settings/apps/<app slug>`

3. Use "Add Callback URL" > Add the additional URL > Save

Expand Down

0 comments on commit 6da3a8e

Please sign in to comment.