SupabaseS
Supabase12mo ago
jhechtf

supabase auth fails for emails with a '+' symbol

I have a project I've been working on for a minute that uses Supabase Auth, the Storage, and the regular old DB as its main store. I don't exactly know when but some point recently (last week or so) my E2E tests fail because I cannot login to an account that uses a + in the email, i.e. tests+e2e@email.com.

This previously worked fine, and I have not upgraded the @supabase/supabase-js dependency for over a year, so I don't think that would be the problem.

Tested by going into the Auth console, deleting the current user thinking i somehow accidentally set the password hash to a bad value in some other testing, recreating the user with the same (complicated) password as before. I then tried to login and got a 400 error. Thought maybe I copy pasted wrong. Repeat process 2 or 3 more times. Finally, create a user for just tests@email.com with the same (now simplified so i can type it directly instead of copy/pasting) password and it works just fine. Go again to try with tests+e2e@email.com and i can't login.

Did something on Supabase's side change recently that would affect this?
Was this page helpful?