diff --git a/docs/src/content/pages/github-mode.mdoc b/docs/src/content/pages/github-mode.mdoc index 4e196a6fb..c6fc1bdf7 100644 --- a/docs/src/content/pages/github-mode.mdoc +++ b/docs/src/content/pages/github-mode.mdoc @@ -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//settings/installations` -2. Select the app > Choose "App settings" - - For Users: `https://github.com/settings/apps/` - - For Organisations: `https://github.com/organizations//settings/apps/` +1. Open your app page by using the value of the `PUBLIC_KEYSTATIC_GITHUB_APP_SLUG` environment variable: + `https://github.com/apps/` +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//settings/installations` + --- ## Deploying Keystatic