I think there is a scenario under which a sign-in into the Softr app is causing a new user sign-up.
I just enabled Google external authentication.
Inadvertently, when signing in to my app, I provided the username/password of my Google account with the email (username) not matching that of my existing Softr app’s email username.
Guess what Softr did. It didn’t reject that sign-in. Instead, it let Google authenticate me (rightfully so), but then proceeded to spin up a new Softr app account and log me in under that account.
This doesn’t seem to be right. Under no circumstances should a sign-in cause a sign-up.
Sign-ups, for most apps, follow an intricate process. For our app, a sign-up fires up multiple automations that do intricate things within the app’s database to set things up for a user correctly and also reach out to external systems we integrate with to set things up there, as well.
Needless to say, this “sign-up” broke half way through, but did run far enough to create a legit user in the Softr app, in our Airtable user database, etc…
Even if it did run to completion successfully, it would still present a serious problem. Imagine… A user signs up manually with some username email. Then uses our app for a while. Then six months down the road decides to sign into our app again and at that point does not remember the password, so decides to sign in with the Google authentication, inadvertently providing a username email different than that of the username with which they originally signed up to the app with.
Softr proceeds to create a brand new user account for that user. The user is logged in, but sees none of their data, previous account settings/configurations, nothing. Not to mention, it incorrectly creates bogus accounts in the system, if left uncontrolled.
I’d love to hear from the community what the others think and what Softr team might suggest as a solution.
From my standpoint, I think a sign-in with an external provider auth should bounce the user out if the username email does not match that of the Softr app existing user’s email. Period. Full stop. And in no way should a sign-in attempt result in a successful sign-up.