Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Server is blocked by CORS policy - Wasp
W
Wasp
•
2y ago
•
11 replies
mb23
Server is blocked by CORS policy
Hi there
, I have the following problem
:
I have deployed my app to Railway
(server
, PostgreSQL and client
)
. The app is
"live
" but if I want to sign up as a user it tells me
: Network error and I get the following issue in the Browser console
:
s
i
g
n
u
p
:1 Access to XMLHttpRequest at
'
https://server-production-...railway.app/auth/me
' from origin
'
https://client-production-....railway.app
' has been blocked by CORS policy
: No
'Access
-Control
-Allow
-Origin
' header is present on the requested resource
.
index
-Bpk1JXu
_
.
j
s
:57
GET
https://server-production-....railway.app/auth/me
n
e
t
:
:ERR
_FAILED 401
(Unauthorized
)
I have already added all env variables to server and client and am wondering what I can do about this issue
?
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
Deployed /auth/me blocked by CORS policy
W
Wasp / 🙋questions
2y ago
Cors policy
W
Wasp / 🙋questions
8mo ago
Stumped by CORS
W
Wasp / 🙋questions
11mo ago
CORS is blocking www
W
Wasp / 🙋questions
16mo ago