© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
4y ago
•
3 replies
Kai Pradel
CORS issues when invoking functions via browser
I am following the examples at
https://supabase.com/docs/guides/functions#cors-cross-origin-resource-sharing
to try to make a simple function invocation from the browser
. However
, I get CORS errors despite passing in the correct headers
. The out
-of
-the
-box example found here
https://github.com/supabase/examples/blob/main/supabase-js-v1/edge-functions/supabase/functions/browser-with-cors/index.ts
just does not work
.
Any help would be much appreciated
.
KP
GitHub
examples/index.ts at main · supabase/examples
Supabase examples to help you get started
. Contribute to supabase
/examples development by creating an account on GitHub
.
Edge Functions | Supabase
Globally distributed TypeScript functions
.
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Invoking Edge Function from Browser
S
Supabase / help-and-questions
4y ago
Edge functions cors problem
S
Supabase / help-and-questions
4y ago
I'm having CORS issues when upgrading functions to use Supabase v2.0.0
S
Supabase / help-and-questions
4y ago
Invoking an edge function via Supabase trigger/function
S
Supabase / help-and-questions
3y ago