Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’7mo agoβ€’
4 replies
Jonatan

Supabase Auth instead of Auth0?

tl;dr; is Supabase Auth a good alternative to Auth0, and is it a better option than Clerk?

Hi everyone! I am building a new project and started by using Auth0 for ease of use (and it was super easy to get up and running), but before making it available to users I did a round of due diligence and found a considerable drawback with Auth0: when we get to 25k users, we will have to pay (potentially extortionate) fees to Auth0, or face having to migrate away from it. Our business model is not freemium, but I expect only a small percentage of users to pay, so us paying for auth per user will be a liability.

So instead of setting ourselves up for that trap, I could choose to future proof the system before we have so many users that it gets painful to migrate. Keeping in mind that we may not get that successful, and then it would have all been in vain πŸ™‚

My stack is NextJS (TypeScript) for both frontend and backend hosted on Vercel, and PostgreSQL on Neon (via Vercel) as database. There's a Supabase NextJS quickstart guide but it just points to a whole Github repo (so not a "guide" as such), so I am guessing the server-side auth guide is the one to follow?

I looked at Clerk as another option, and their plug-and-play approach (similar to Auth0) is very attractive. But I didn't get the same "this is a solid company and project" impression as with Supabase - that's just a gut feeling though.

Looking at discussions, docs and playing around with Supabase, I got a good impression: stability, solid engineering practices and sane pricing. The only thing that concerns me is that we would have to "own" the auth routes, so we have to write and maintain more code (and make sure it's secure), and fend off any attacks on auth ourselves. Is it still a good idea to go ahead and make the switch, and is it sane to pick Supabase Auth over Clerk?
Use Supabase Auth with Next.js | Supabase Docs
Learn how to configure Supabase Auth for the Next.js App Router.
Use Supabase Auth with Next.js | Supabase Docs
Setting up Server-Side Auth for Next.js | Supabase Docs
Setting up Server-Side Auth for Next.js | Supabase Docs
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
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Auth0 & Supabase issue
SupabaseSSupabase / help-and-questions
3mo ago
Supabase Auth, get a code instead of session
SupabaseSSupabase / help-and-questions
8mo ago
Auth0 with Supabase JWT expire
SupabaseSSupabase / help-and-questions
4y ago
Supabase Foreign Key to Identity ID instead of Auth User ID
SupabaseSSupabase / help-and-questions
13mo ago