Open renatafaracobah opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
unstale please
Expected Behavior
Current Behavior
Bad Credentials
( example:https://api.github.com/repos/boozallen/sdp-libraries/readme
)Not found
and does not prompt the user to log in to update the scope.Steps to Reproduce
Login to backstage using GitHub enterprise credentials
Given an entity located in a public repository in GitHub (github.com), add the Readme card to that entity’s page.
Go to the page: it shows the Readme card with the error: Bad credentials.
Login to backstage using the GitHub credentials and configure the scope to only
read:user
Go to an entity page that has the Readme card configured: it shows the card with the error:
Not Found
.If you go to the same page, now adding the repo scope to the X-Oauth-Scopes header, the card is shown correctly:
Possible Solution
Context
We are using the GH Insights Roadie plugin to display the Readme file for several entities (components, systems, domains, templates) to encourage our users to go to the docs and find more information.
Your Environment
@backstage/plugin-catalog-react
version: ^1.8.3@backstage/integration
version: ^1.6.2@roadiehq/backstage-plugin-github-insights
version: ^2.3.20