This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
Origin $url
not allowed after setting up GitHub integration and signing in using GitHub
#113
Labels
jira
Issue will be sync'ed to Red Hat JIRA
Description
Screencast.from.2024-01-03.14-42-42.webm
This issue is about the GitHub integration, but I think it could also affect any plugin (both frontend and backend) interacting with the Backstage Backend.
Steps to reproduce
GH_*
values in thesecrets-rhdh
Secret with your own Github App:Details
Expected behavior
It should be possible to sign in via GitHub, similar to the experience offered by the Helm Chart.
Compared to configuration that the Helm Chart creates, it looks like the
backend.cors.origin
field (and other fields) need to be defined in the app-config files.Example with Helm Chart:
I think we could provide these
baseUrl
andcors.origin
information automatically to Backstage from the OpenShift Route we have created.Workaround
Manually providing an
app-config
with the necessary URL information seems to do the trick, like so:But this is a manual operation disrupting the user experience, where they need to wait for the Route URL to be available, edit their app-config ConfigMap and then force-delete the Deployment, so that the Operator can recreate it.
The text was updated successfully, but these errors were encountered: