Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Environment variable I need to add to Railway to get GoogleOAuth to work - Wasp
W
Wasp
•
11mo ago
•
10 replies
AC
Environment variable I need to add to Railway to get GoogleOAuth to work
I am getting this error in Railway
:
Validating environment variables
.
.
.
n
o
d
e
:internal
/
e
r
r
o
r
s
:496
ErrorCaptureStackTrace
(err
)
;
^
TypeError
[ERR
_INVALID
_URL
]
: Invalid URL
at
_
_node
_internal
_captureLargerStackTrace
(
n
o
d
e
:internal
/
e
r
r
o
r
s
:
4
9
6
:5
)
at new NodeError
(
n
o
d
e
:internal
/
e
r
r
o
r
s
:
4
0
5
:5
)
at new URL
(
n
o
d
e
:internal
/
u
r
l
:
6
3
7
:13
)
at getRedirectUriForCallback
(
/app
/
.wasp
/out
/sdk
/wasp
/server
/auth
/oauth
/redirect
.
t
s
:
3
3
:10
)
at
<anonymous
>
(
/app
/
.wasp
/out
/sdk
/wasp
/server
/auth
/oauth
/providers
/google
.
t
s
:
1
8
:3
)
at ModuleJob
.run
(
n
o
d
e
:internal
/modules
/esm
/
m
o
d
u
l
e
_
j
o
b
:
1
9
4
:25
)
{
input
:
'undefined
/auth
/google
/callback
'
,
code
:
'ERR
_INVALID
_URL
'
}
Google OAuth worked in Heroku for me
, and all the env variables have been copied from there
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Custom Server environment variable
W
Wasp / 🙋questions
7mo ago
Do I need to add client side env variable every time I deploy?
W
Wasp / 🙋questions
2y ago
I cant get daisyui to work
W
Wasp / 🙋questions
8mo ago
How do I get daisyui to work?
W
Wasp / 🙋questions
3y ago