Generating a user access token for GitHub Apps that are already installed #137277
Replies: 3 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Has anyone found an effective workaround for this? We have similar behaviour, where each "instance" in our application needs to be separately connected, and this change has made it impossible to connect an already-connected organisation to a new instance. This is despite GitHub Support explicitly recommending the "switch selected repos to something new and then back" workaround previously. |
Beta Was this translation helpful? Give feedback.
-
|
Hey folks! Just wanted to update this thread. We received a response from GitHub support with the following message:
I was able to confirm the change resolved this issue and users are now able to save existing installations to complete the OAuth2 redirect, even if there is no change in the selection. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Background
My company has a website builder product with a GitHub App that allows customers to modify their website. Our GitHub App is setup to generate a user access token when a user installs our app. We have a 1:1 mapping between a user access token and a website in our system. However, our users can have multiple websites and need to link their GitHub account to any website they wish to modify. To support this flow, our GitHub App is configured to
Redirect on updateto complete the OAuth2 flow if the GitHub App is already installed.Our GitHub App setup:
Request user authorization (OAuth) during installationenabledRedirect on updateenabledBug
This flow has been working for several months until today when users with multiple websites see the following error when saving an existing installation:
Help Wanted
Can the change to enforce a new selection be reverted so that a customer can save a GitHub App installation with all repositories selected and complete the OAuth flow? Is there another way we can support the
Redirect on updateworkflow to generate a user access token when a user connects a new website to an existing GitHub App installation?Beta Was this translation helpful? Give feedback.
All reactions