Merge pull request #7335 from RoadieHQ/custom-redirect-url-github-provider

Add ability to override github app callback url
This commit is contained in:
Patrik Oldsberg
2021-09-29 13:39:52 +02:00
committed by GitHub
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -50,6 +50,10 @@ The GitHub provider is a structure with three configuration keys:
- `clientSecret`: The client secret tied to the generated client ID.
- `enterpriseInstanceUrl` (optional): The base URL for a GitHub Enterprise
instance, e.g. `https://ghe.<company>.com`. Only needed for GitHub Enterprise.
- `callbackUrl` (optional): The callback url that GitHub will use when
initiating an OAuth flow, e.g.
`https://your-intermediate-service.com/handler`. Only needed if Backstage is
not the immediate receiver (e.g. one OAuth app for many backstage instances).
## Adding the provider to the Backstage frontend