© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
2 replies
Mihai Andrei

Supabase Auth without middleware

Hello! Thank you for supabase, it is really awesome. A small question. I tried to look over similar questions but i'm confused.

Is it possible to use supabase-auth in nextjs without the middleware?

I know in rsc, you cannot set cookies, so not sure what happens if your token expired and supabase tries to refresh it but it fails to set the cookie.

Is there any workaround to skip middleware?

Thank you!
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

Multiple middleware auth
SupabaseSSupabase / help-and-questions
4y ago
supabase auth
SupabaseSSupabase / help-and-questions
3y ago
Supabase Middleware not working
SupabaseSSupabase / help-and-questions
6mo ago
Supabase auth down?
SupabaseSSupabase / help-and-questions
3mo ago