SupabaseS
Supabase•6mo ago
riv

Bypassing Supabase Validation for Auth Email Address

I'm currently creating a PWA using Nextjs and Supabase. The application is for a business and involves user authentication, where owners can sign up their employees, and their employees can then use the credentials received to log in.

There are particular edges where, if a user adds an email in the signup form and clicks submit, Supabase returns the following 400 error: Email address "test@test.com" is invalid. As of now, we've encountered this error for the following addresses:

  • test@test.com
  • test@gmail.com
  • myzap@gmail.com
We currently don't have validation set up, in which case our assumption is that validation is occurring directly in Supabase. Is there a way to bypass validation in Supabase to resolve these edge cases?

Any help is greatly appreciated 🙂
Was this page helpful?