Github integration issue

juanitto-maker
FREE

3 days ago

GitHub Integration Issue - Infinite Loop & OAuth Callback Error

Description of the Issue

I'm experiencing a persistent GitHub integration issue that prevents me from deploying my repository to Railway. The issue manifests as an infinite redirect loop between Railway and GitHub during the authorization process.

Infinite redirect loop between Railway dashboard and GitHub authorization

  • Clicking "Deploy from GitHub repo" → redirects to GitHub → redirects back to Railway → loop continues

  • Save button was initially grayed out, became active after toggling repository access, but issue persisted

Steps Taken to Resolve

  1. Initial troubleshooting:

    • Verified GitHub app permissions (Railway App was properly installed)

    • Toggled repository access settings in GitHub

    • Tried both "All repositories" and "Only select repositories" options

  2. Complete disconnection attempt:

    • Disconnected GitHub integration from Railway dashboard

    • Revoked Railway App authorization from GitHub settings (github.com/settings/applications)

    • Waited several minutes for OAuth tokens to clear

  3. Fresh connection attempts:

    • Tried reconnecting through Railway dashboard

    • Attempted in multiple browsers and private/incognito windows

    • Cleared browser cache and cookies for both Railway and GitHub domains

    • Tried accessing through railway.app/new directly

System Information

  • Browser: Chrome (also tested in Brave)

  • Operating System: Android mobile (no terminal access)

  • Railway Account: Free trial account

  • GitHub Account: Standard account with proper repository access

Expected Behavior

Should be able to connect GitHub account to Railway and deploy repository without redirect loops or OAuth callback errors.

Additional Context

This appears to be a known issue based on similar community reports. The infinite loop suggests a permissions or callback URL mismatch between Railway and GitHub's OAuth flow. The OAuth callback error after revocation indicates the authorization state isn't properly clearing.

Would appreciate guidance on resolving this GitHub integration issue or alternative deployment methods available while this is being addressed.

Urgency

Normal - affects ability to deploy project but not critical system functionality.

Awaiting User Response

4 Replies

Railway
BOT

3 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


juanitto-maker
FREE

3 days ago

I don't have terminal access (Android mobile). Is there a way to resolve the GitHub integration issue or deploy without CLI?


Railway

Hey there! We've found the following might help you get unblocked faster: - [📚 Railway vs. Fly](https://docs.railway.com/maturity/compare-to-fly) If you find the answer from one of these, please let us know by solving the thread!

juanitto-maker
FREE

3 days ago

I need human support please. The suggested Fly.io alternative requires CLI/terminal access, which I don't have on Android mobile.

Could a human agent please help with:

  1. Resolving the GitHub OAuth integration loop issue, OR

  2. Alternative deployment method that works without CLI/terminal access?

The bot suggestion doesn't solve my core issue - I need a web-based deployment solution.


chandrika
EMPLOYEE

2 days ago

Hi there, your Github is connected to our systems but flagged due to — you'd have to upgrade to a paid plan to be able to be deploy that way.

https://docs.railway.com/reference/pricing/free-trial#full-vs-limited-trial


Status changed to Awaiting User Response Railway 1 day ago


Github integration issue - Railway Help Station