How to update user emails in the app

Hello,

I have an app, and I would like a couple users to be able to edit the user table emails directly in the app. I read in another form that not being able to edit user emails from the app is intended behavior, but is there a reccomended method to do this from a data table in the app if I need to?

Thanks in advance.

There is a lot of things to consider when changing a user’s email.

  • Glide also keeps track of that email internally.
  • Any other tables that have that email would need to be manually changed.
  • If you utilize User Specific columns, and your users have data in those columns, you could potentially lose that user specific data.
  • A user would have to sign in again as a brand new user.

The problem is that, not only do you have to change the email in all of your tables that contain that email, but that email would also have to change internally in the Glide system. We don’t have any mechanism to see or change that internal data, so I think that’s why it’s so difficult to allow a user to change their email address on their own. The only option we have with internal data is to delete it manually through the builder. Delete User Data | Glide Docs

If user specific columns are not a concern, then I think your best bet would be to utilize a third part service and/or the Glide API to search for and make updates to any rows that would require an email change. Like I said, you would also need the user to sign out (if it’s a public app) and sign in with the new email. If it’s a private app, they would be automatically signed out because their old email would be removed from the whitelist.

2 Likes

Yes, my app is fairly simple so I’m not very concerened. I just want to be able to have the user table editable directly from the app when I have set a “Visibility” column to a specific value so that folks can quickly just go into an “admin” tab and add a row and user.

Are you aware of any third party services? I’m not sure I am knowlegable enough to do anything with the API.

You can make The API calls directly from the Glide app using the Call API action. Otherwise you could use Make or Zapier or Google App Scripts.

1 Like