Encrypting User's Email Requires Building a Custom Login System?

Hey all!
I want to encrypt my users’ emails and wonder what will be the implications for the login process

As far as I understand the Bubble login system relies on the email being exposed in the database - so encryption of the email will disable the ability of the standard login system, right?

If so, I understand that I will need to build a custom login system which:

  1. Takes the user’s email via api endpoint which is connected to my app
  2. Decrypt the email and then search for it in the DB
  3. If email is found - to check match of the password
  4. If password is correct - enable a login

Is this an overkill and I am missing anything? Any better ideas on how to approach this?

Thanks!

1 Like