S
Supabase•3y ago
Joakim

Issues with auth.signup for mobile devices

I've encountered that people trying to sing up from mobile, don't get sent the confirmation email. If you do from computer it works as it should. but I have issues seeing why, is someone else experiencing anything like it? I struggle seeing how it can be wrong in the code, since it's just a signup. takes in email and password not much more to it. I have disabled hcaptcha
No description
12 Replies
Joakim
JoakimOP•3y ago
The user that registered I see them in my auth/users. but they do not recieve the email for confirmation. but if they were register from computer. they do get that mail
garyaustin
garyaustin•3y ago
Does auth.users have an email confirmation sent at time filled in? Anything unique about their email address.
silentworks
silentworks•3y ago
What does your signUp method look like? have you asked these users to sign up on the desktop with the same details to see if it works then?
Joakim
JoakimOP•3y ago
yes the signUp is identical, nothing that makes a difference for mobile and computer users. Also the mails looks normal I think. they have French addresses and I'm norwegian so not familiar with those that are not like gmail, or outlook. But it does seem like I have resolved the issue by disabling SMTP. so issue lies there for some reason, doing further testing. Funny how it worked like 2 days ago, before I went live.
garyaustin
garyaustin•3y ago
So it works with Supabase smtp default, but not one you tied in?
silentworks
silentworks•3y ago
Were you using a custom SMTP or just the default Supabase one?
garyaustin
garyaustin•3y ago
Some spam filtering makes more sense than the device being mobile as the email does not come back to the device but an email client until you click it.
Joakim
JoakimOP•3y ago
No we were using a custom SMTP that my boss set up. What do you mean gary?
garyaustin
garyaustin•3y ago
My guess is the email are either being blocked by that smtp you were using, or if it was not one of the name brand ones, your emails from the smtp server were being blocked as spam by those users email provider. The 2nd is more likely, depending on what service you were using for smtp. Hard to imagine the bug being your app on the mobile device if the user was getting added.
Joakim
JoakimOP•3y ago
Yep makes total sense to me as well what you are saying. I'm just glad it works now, and if something goes wrong I point to smpt 😅
garyaustin
garyaustin•3y ago
You are not running production with the Supabase smtp are you? That has limits on number of emails in time (rate limited) that likely would bite you on all but the most basic apps. There are many easy to use SMTP services out there with generous free plans.
Joakim
JoakimOP•3y ago
I am, I was not aware of this being an issue! but that is good to know, bit annoying that has to pay for another subsciption for what is an inbuilt feature though

Did you find this page helpful?