© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•9mo ago•
6 replies
ʀᴇᴛᴄʏ O▢△

Best practices for Supabase in the server

Hello,
I'm currently rewriting an app of mine (Sveltekit SSR) to an SPA so I can turn it to a mobile app soon and create a sharable API between the two powered by Supabase, the resources on how to do this securely are hard to come by so I decided to come here and ask!

My main questions are:
- How can you handle authentication and session management?
- What's the best way to check for the validity of a user's session?

If you got any tips, please share them that would be very helpful!
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

Best Practices for Client accessing Supabase via a server
SupabaseSSupabase / help-and-questions
7mo ago
Supabase best practices for sanitizing user-generated HTML in database?
SupabaseSSupabase / help-and-questions
3y ago
Best Practices for Agent Access in a Multi-Tenant Supabase Setup
SupabaseSSupabase / help-and-questions
2w ago
Best practices for Staging env
SupabaseSSupabase / help-and-questions
3y ago