I need to successfully connect to the new github account
ricasco
PROOP

12 days ago

Hi, I deleted the railway app on my old github account, and now when I try to create a github repo service, most of the repos of the old account are not showed and this is nromal, but there are still three repos that are showed in the list, and this is weird. then if I try to connect to the new github account, the procedure is successfull, the app is installed in the new github account, but still no repos are showed from the new github account, and there are only the three repos in the list from the old account, then if i try to create a service with one of those repos, in the settings of the service there is the address of the repo with the old github account path, and this is weird because there is no more any railway app in the old github account. So it looks like the old github account is in the railway memory account someway.

please help me to successully connect my new github account

Solved

1 Replies

Status changed to Awaiting Railway Response Railway 12 days ago


codydearkland
EMPLOYEE

11 days ago

Hey, sorry for what you're running into here, its a bit of a quirk of how GitHub separates "OAuth authorizations" from "GitHub Apps."

Even after uninstalling the Railway app on the old account, the OAuth link between your Railway account and the old GitHub user is still active, which is why the new GitHub account's repos aren't being picked up (Railway is still treating your old GitHub identity as your linked one). The 3 stale repos are leftover cached entries from the old install.

To fully switch over to the new GitHub account, can you try the following in order:

  1. Disconnect the old GitHub from Railway. Go to https://railway.com/accountScroll down to "Account Integrations" → click Disconnect on the GitHub card.
  2. Fully uninstall the Railway GitHub App from the OLD GitHub account. On the old account, go to https://github.com/settings/installations → find RailwayUninstall (this is separate from the OAuth "Authorized OAuth Apps" list — make sure you do the Installations one). That should clear out the 3 stragglers.
  3. Connect the new GitHub account. Back in https://railway.com/account, click Connect on the GitHub card while signed into the new GitHub account in the same browser, and walk through the install on the new account. Once that's done, the repo picker should show the repos from your new GitHub account. If it still looks stale after a minute, hit the refresh button on the repo list to force a re-pull. Let me know if anything in those steps doesn't behave as expected and I'll dig in further.

Status changed to Awaiting User Response Railway 11 days ago


Railway
BOT

3 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 3 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...