mehediM
Convex Community7mo ago
5 replies
mehedi

Access to fetch at 'https://adjective-animal-123.convex.site/api/auth/get-session' from origin 'http

I am using better-auth + convex + react router 7. and I am getting this below error when try to sign up

Access to fetch at 'https://adjective-animal-123.convex.site/api/auth/get-session' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Was this page helpful?