Probably said before but since a friend needed help, I figured I would post this here:
How to set up users in Bubble without requiring their actual email addresses, by creating a fake email entry:
- Unique Identifier:
Start by choosing a unique identifier for each user. This could be something like their phone number, username, or any other unique data specific to the user. The uniqueness of this identifier is crucial because it will serve as the base for creating a fake email address
- Creating a Fake Email Address:
Use the unique identifier as the first part of the email. For example, if youâre using a phone number, the email might start as
1234567890@
.
Append this identifier with a fake domain. This domain doesnât need to be a real, active domain. Itâs just a placeholder to satisfy the email format requirement in Bubble. For instance,@user.com
. So, the full fake email for the phone number example would be `[email protected]â
- Custom Usernames:
If each user creates a custom username, you can use this as part of the fake email. For example, a username like âSammichâ would become part of the email:
[email protected]
.
To enhance uniqueness, append a random string or number to the username before the domain. For example,[email protected]
.
- Logging In:
When a user tries to log in, youâll use the âlog the user inâ function in Bubble.
Youâll take the username or identifier they provide and programmatically append the preset fake email ending. For example, if a user logs in with the username âSammichâ, the system will automatically complete their email as[email protected]
(assuming â1234567â is the random string youâve appended).
- Why This Works:
Bubble requires an email for user registration and login, but it doesnât need to be a real email address. By using this method, you can create a user account without needing the userâs actual email.
This approach allows you to manage user accounts internally while keeping the user experience simple and straightforward.
NOTE!
Itâs important to make sure that whatever method you use for generating these fake emails consistently produces unique addresses for each user. Also, be aware that since these are not real email addresses, you wonât be able to use them for email communications or email-based password recovery.