From b41d93ed4ab38ab057b6b7ca3ec7398023197013 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 21 Nov 2024 06:37:03 +0100 Subject: [PATCH 1/2] Docs: github-mode: Simplify `redirect_uri` instructions This is a follow up to https://github.com/Thinkmill/keystatic/pull/1358 which makes the steps to get to the app easier. --- docs/src/content/pages/github-mode.mdoc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/src/content/pages/github-mode.mdoc b/docs/src/content/pages/github-mode.mdoc index 4e196a6fb..aadb6db94 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 using values 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 From 26b985d8f43d3b53f8718cc12e538cb6c7f24722 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 21 Nov 2024 06:42:45 +0100 Subject: [PATCH 2/2] Docs: github-mode: Fix typo --- docs/src/content/pages/github-mode.mdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/pages/github-mode.mdoc b/docs/src/content/pages/github-mode.mdoc index aadb6db94..c6fc1bdf7 100644 --- a/docs/src/content/pages/github-mode.mdoc +++ b/docs/src/content/pages/github-mode.mdoc @@ -124,14 +124,14 @@ When you authorize on a server and get the following error from GitHub, you need To add a redirect URL: -1. Open your app page using values of the `PUBLIC_KEYSTATIC_GITHUB_APP_SLUG` environment variable +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. +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`