Hi there bubble family
I have created a workflow that allows users to sign up with their mobile number. This is how it goes:
- user types in mobile number. Sends POST request to Twilio Verify which sends them a text message with a code.
- they enter the code and are then prompted to enter their first name.
- Upon hitting enter, their account is created. Adhering to Bubble’s built-in workflow, I store the Mobile Number and make the users email and password as follows:
- Email = mobilenumber:append @domain.com
- Password = mobilenumber
Everything was fine and dandy until I added the functionality to check whether the user is already registered. I want the user to enter their phone number like in steps 1 above and 2 above. But if it registers that their number is already registered, and they enter the correct code, I want it to log them in… not continue the signup workflow.
Unfortunately, the privacy settings I have set up don’t allow me to do a search for the user’s email or mobile number. Thus I can’t search for the user by their mobile number.
Here are the privacy settings:
Please note that I don’t want to compromise security and expose peoples phone numbers.
I thought about exposing a fraction of the users mobile number (like the last 6 digits) in a new field. This is a short term fix as people will have similar numbers if I grow, grow and grow.
Am I missing something that’s staring me in the face?
What can I do?
I really appreciate everyone’s help in advance!