18 days ago
I'm experiencing difficulties when configuring OAuth 2.0 Client ID in Google Cloud Console. Specifically, I cannot add Railway app domains with the .up.railway.app
suffix to the "Authorized JavaScript origins" field.
Details:
Current behavior: Domains like
https://xxx.up.railway.app
are being rejected and cannot be savedOnly domains with
.up.railway.com
suffix (e.g.,https://xxx.up.railway.com
) are acceptedPrevious working state: In July,
https://xxx.up.railway.app
domains worked perfectly fineCurrent issue scope: Even attempting to save existing configurations with
.up.railway.app
domains results in validation errors
Expected behavior: Railway app domains with .up.railway.app
suffix should be accepted as valid Authorized JavaScript origins, as they were previously.
Additional context: This appears to be a recent change, as the same configuration worked without issues a few months ago. The problem seems to affect all domains ending with .up.railway.app
.
Has anyone encountered this issue recently? Any suggestions on how to resolve this or if there have been recent policy changes regarding Railway domains in Google Cloud OAuth configuration?
11 Replies
18 days ago
The best way to get over this is to use custom-domain which would bypass this limitation.
Docs: https://docs.railway.com/guides/public-networking#custom-domains
My post on how to set-up one for your Railway deployment: https://station.railway.com/questions/dns-configuration-issue-for-custom-domai-10696e8a#fcrf
17 days ago
I'm having the same problem right now, I can't put my redirect URL in console google cloud
I'm having the same problem right now, I can't put my redirect URL in console google cloud
17 days ago
Custom domains is the thing to be used in this case, as mentioned previously
clashing
Custom domains is the thing to be used in this case, as mentioned previously
17 days ago
Yeah but that's just a temporary solution and it's a hassle they need to fix it in the core
Yeah but that's just a temporary solution and it's a hassle they need to fix it in the core
17 days ago
Agreed, I make some tool websites for myself. I don't want to apply a custom domain
16 days ago
ah, so this just happened out of nowhere in the day that I am making a video to teach my students
suebphatt
ah, so this just happened out of nowhere in the day that I am making a video to teach my students
16 days ago
I hope they fix it because not everyone wants to buy a domain
15 days ago
Same here :(
13 days ago
ok so turned out that it started to work today. no idea why, but hey, good enough
suebphatt
ok so turned out that it started to work today. no idea why, but hey, good enough
13 days ago
The railway redirect url work now without custom domain?
12 days ago
Nice, it just works now!