© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
4 replies
Nonso

Using Vercel Edge functions instead of Supabase's

So, not sure if the title gave it away, but I'm kinda lost on this topic. My app's auth provider isn't playing nice with Supabase's Database.

I stumbled upon a fix that involves signing my own JWT with Supabase's key but I have to do it on the server. The person who shared this gem used Supabase's Edge Functions to make it happen.

But here's the snag: using Supabase CLI means dealing with Docker Desktop, and my system just can't handle it. Also, you can't create Edge functions on the Supabase Dashboard, which adds another layer of complexity.

Now, since this signing thing has to happen on the server, I'm thinking maybe I can use a React Server Component (RSC) since I'm on Next.js 13. Problem is, I'm using the Pages Router, and RSCs don't vibe with that. Not even sure if RSCs are the answer.

Then, I remembered Next.js and Vercel have their own Edge Functions. Can I just roll with those to sort this mess out?"
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Vercel supabase with edge functions
SupabaseSSupabase / help-and-questions
4y ago
Supabase NextJS Auth Helpers on Vercel Edge functions
SupabaseSSupabase / help-and-questions
4y ago
Supabase Edge Functions authentication
SupabaseSSupabase / help-and-questions
2w ago
Edge functions supabase error
SupabaseSSupabase / help-and-questions
5mo ago