© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago
Austin Blammo Commando

Building a Login System Using Supabase – Need Guidance

❌ Challenges So Far:

Profile Creation Error – I'm getting errors when trying to insert into the profiles table after user registration (RLS and foreign key issues).

RLS Policy Setup – I'm unclear on how to configure the row-level security (RLS) policies so that users can only access their own data.

Foreign Key Constraints – My profiles table references the auth.users table (on id) and it's causing foreign key constraint errors.

Frontend Handling – I want the UI to show login/signup forms and then load a dashboard or redirect properly after login.

Login Page: https://admirable-pika-dfffcb.netlify.app/
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

Need a guidance on pagination
SupabaseSSupabase / help-and-questions
3y ago
Supabase Infrastructure setup guidance
SupabaseSSupabase / help-and-questions
3y ago
Login System
SupabaseSSupabase / help-and-questions
3y ago
Need Help with Vitest Login and Authorization Token using Supabase
SupabaseSSupabase / help-and-questions
3y ago