© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
27 replies
MerAki

How can I check if a user exists before creating an Account using OAuth?

When a user clicks sign in with google on my app's login screen it creates an account for them and signs them up, even if the user didn't exist before. I want to check if the user exists and if they don't I don't want to sign them up. I just don't know how to check if an OAuth user exists.

Any help would be appreciated
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

how to check if user exists only with Google OAuth?
SupabaseSSupabase / help-and-questions
4y ago
Check if a value exists in a string?
SupabaseSSupabase / help-and-questions
4y ago
How do I check if any element of user input array exists in a column which is an array itself?
SupabaseSSupabase / help-and-questions
4y ago
Check if row already exists with RLS.
SupabaseSSupabase / help-and-questions
4y ago