How to check if user already exists in Supabase?

Viewed 21

How can I check if a user with the same email already exists when Enable email confirmations is turned on.

When Enable email confirmations are turned on an obfuscated / fake user object is returned by supabase, according to this comment it's a feature.

How can I check if the email already exists without turning off Email confirmation?

I tried passing using supabase.auth.api.getUser, but that needs JWT, not the user id.

0 Answers
Related