You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/content/pages/github-mode.mdoc
+24
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,30 @@ storage: {
110
110
111
111
Keystatic will only list branches starting with `my-prefix/` in the Admin UI, and will only let you create new branches with that prefix.
112
112
113
+
## Add `redirect_uri`
114
+
115
+
When you authorize on a server and get the following error from GitHub, you need to modify the GitHub application settings.
116
+
117
+
{% aside %}
118
+
119
+
> Be careful!
120
+
> The `redirect_uri` is not associated with this application.
121
+
> The application might be misconfigured or could be trying to redirect you to a website you weren't expecting.
122
+
123
+
{% /aside %}
124
+
125
+
To add a redirect URL:
126
+
127
+
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)
128
+
- For Users: [`https://github.com/settings/installations`](https://github.com/settings/installations)
129
+
- For Organisations: `https://github.com/organizations/<org name>/settings/installations`
130
+
2. Select the app > Choose "App settings"
131
+
- For Users: `https://github.com/settings/apps/<app slug>`
132
+
- For Organisations: `https://github.com/organizations/<org name>/settings/apps/<app slug>`
133
+
3. Use "Add Callback URL" > Add the additional URL > Save
0 commit comments