Github Repo not appearing in Railway
david-mci
PROOP

16 days ago

Hi there,

Even though I am an admin of our Github organization, I understand that the only person who can enable Railway in Github is the organization owner. He did that for one repo, but when I try to load that repo into Railway, it just says "no repos found". When I go through the "Configure Github" flow, it shows that Railway is installed on the repo, but still won't let me load it up. All I want is to load the repository that Railway is already installed on. It's very frustrating that only the owner is allows to configure Railway in Github because it means i have to constantly be bugging my colleague with these requests.

Thanks,

David

$20 Bounty

7 Replies

Railway
BOT

16 days ago

Each Railway user has their own GitHub App installation that controls which repos they can see. Even though your org owner installed the Railway app at the organization level, you also need to configure your personal Railway GitHub App installation to include the organization. Go to github.com/settings/installations, find the Railway app, click "Configure", and ensure your organization is listed and the relevant repo is selected. If the organization doesn't appear there, you may need to request access from the org owner through GitHub's "Third-party access" settings for the organization.


Status changed to Awaiting User Response Railway 16 days ago


david-mci
PROOP

16 days ago

Can you be more specific about what you mean by "you may need to request access from the org owner through GitHub's "Third-party access" settings for the organization." What exactly needs to change? I really don't understand why I need to do something on my personal github if the repo is under my organziation. When I click on the link you sent, I only see Vercel there, not Railway.


Status changed to Awaiting Railway Response Railway 16 days ago


Railway
BOT

16 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 16 days ago


IIRC only owners of the repository can add it as a service into Railway.


david-mci
PROOP

16 days ago

Thanks - I am the owner of the repository, just not the organization. Even though Railway has been installed in that repo by the org owner, when i try to go to it in the Github set up flow, it doesn't seem to recognize that it is installed. Under "Railway App has access to the following repositories" nothing is listed; if I try to select the repo (which says Railway is "installed"), it says the action can only be performed by the org owner.


connorguy
PRO

14 days ago

Having the same issue here -- been back and forth with their absolute infuriating support staff to no avail. They keep saying it's Github's issue.

What I've done so far:

A non-owner developer (with Railway Admin rights and GitHub Read/Write access) is unable to change deployment branches or view repositories in Railway, consistently hitting a "GitHub Repo not found" error. This appears to be a breakdown in the OAuth handshake between GitHub Organizations and Railway for members without "Owner" status on GitHub.

Steps Taken

  • GitHub App Config: Confirmed the Railway GitHub App is installed at the Org level with access to all required repositories.

  • Third-Party Access: Disabled "Third-party application access policy" in GitHub Org settings to ensure no restrictions are active.

  • Re-authentication: The user has unlinked and relinked their GitHub account in Railway settings multiple times across different browsers.

  • OAuth Grant: Checked github.com/settings/applications to manually grant Org access; however, the user is still prompted for "Owner" permissions when attempting to configure repo access through the Railway flow.

  • Temporary Workaround: The issue is resolved only when the user is promoted to GitHub "Owner." Once downgraded back to "Member," the issue recurs (likely upon token refresh).

Seems pretty clearly an issue on Railway's oauth flow. They've basically told me to go away and haven't actually had anyone look into this. I've looked all over the Github settings and nothing has fixed this.


david-mci
PROOP

14 days ago

Thanks - I figured this out but it just required our Github org owner to add the project for me, which is a very inconvenient workaround.


connorguy
PRO

14 days ago

David can you elaborate on what you mean?

For our team, I'm the admin for our org (github & railway) and Railway already has access to our repos.
-> teammate (admin on railway) tries to oauth railway with Github

-> isn't able to add it to the repo or request any other permissions

-> can't select which branch to deploy from

Our main use case for Railway is for dev env so we all need to be able to select branches from dif services for testing.


Status changed to Open sam-a 14 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...