User Login Creating New Record

Tried my best to search, but not quite sure what’s going on here. I’m sure it’s a simple fix that I’m missing. Here is my app.

Basically, I’d like to implement favorites. I have it working, but whenever I login to my app from different accounts, it creates a new row with that users email in it in the Image references sheet which is the main tab in my app.

Not sure why it is doing this, but when someone logs in, I hope theres a way that a new row with their email is not created.

Uploaded an image as an example.

https://docs.glideapps.com/all/etc/faq/sign-in-issues/rows-are-added-to-apps-when-users-login

Hi David,

I’m using Public with email to sign in, custom profiles along with row owners enabled. (all implemented as per the Glide documentation)

As per the the documentation: “Glide apps can be configured to add rows with user’s email addresses to your sheets when users login for the first time”.

Lets say a user signs in for the first time, then signs out, and has to sign in again when returning to the app. Are new rows supposed to be added in the profiles table in the Data editor every time the user returns to the app and has to sign in again? This is currently happening for my app. I must mention that no new rows are added to the Google Sheet when a user returns to the app and is required to sing in again.

Cheers!

Yea I have the same question. I want the user to be able to login with the same email and returned to their previous profile and not create a new line. While still collecting emails from new users. Ideally, nobody logs out but a new phone or accessing from different devices would generate new profiles, at least right now.

Have you enabled User Profiles?

Thanks. Yes. If I login in with an email and then signout. The next time I login with the same email it creates a new line and no longer populates use specific data.

Can you read this article and make sure you have followed all steps here?

1 Like

Thanks. I figured out what I was doing wrong. I was using the same email as my glide account and it was created on the sheet automatically, then a second one with the same email as a user, once entering all the user relevant data it remained after several logins.

So new logins are not populating new records now, is it correct?

Are you using an onboarding experience with a form to collect info?

I am just referring to the email collection when a user logs initially as part of the public with an email option. I use a form within the profile to collect more information but nothing mandatory. Everything seems to be going as desired.

Is that form writing to the same User Profiles sheet?

Yes. Images and everything update. Doesnt seem to be an issue any more. Just me being dumb.

Just want to warn you that each form writes to a new row and that should not be the way you populate the User Profiles sheet. You should use entry components or the edit button, filter by email is signed-in user.

Thanks. I am using the edit button. So far all good.

1 Like