22 days ago
Description:
I'm trying to connect my GitHub repository to my Railway project but it's stuck in a redirect loop.
Issue:
1. Go to Railway service settings → click "Connect Repo"
2. Railway redirects to GitHub App configuration page
3. GitHub App shows correct permissions and repo is selected
4. Click Save → redirects back to GitHub config page instead of completing connection
5. Repeat infinitely - connection never completes
What works:
- railway link ✓
- railway up ✓
- GitHub App installed with correct permissions ✓
What doesn't work:
- Auto-deploy on git push (because repo connection never completes in UI)
I can provide project details privately if needed.
1 Replies
22 days ago
This is a known GitHub App connection flow issue we're tracking. The redirect loop happens when the GitHub App authorization and installation states get out of sync. Try this workaround: go to your Railway account settings, disconnect GitHub completely, then reconnect it. This should reset the connection state. After reconnecting, the repository should appear in the Connect Repo dropdown without needing the redirect flow. If you continue seeing the loop after this, let us know and we can investigate your specific account state.
Status changed to Awaiting User Response Railway • 22 days ago