So I am using a Google plugin to Signup/login users. I use separate buttons for Sign Up and Log In. Now, how do I prevent users from trying to Sign Up with email that they have already used before? Also how can I prevent users from trying to Log in with email that they haven’t SIgned Up before? This workflow automatically creates new users.. What am I missing? I tried finding the solution on the forum., but I couldn’t find it.
With the Bubble sign up/sign in with social network action, it both signs users up (if they aren’t in your db) or logs users in if they are in your db
But If I want to Log In the user, and he selects email that is not in db, this workflow will automatically Sign Up the user, because signup/login are on the same workflow action..
Yes, that’s the expected behavior
Well it is not.. Expected behavior is ERROR. Because you should not be able to Log In with email that doesn’t already exist in db.
No, what i’m saying is that’s the expected behavior with that action.
If a user doesn’t exist, it’ll create one. If it does, it’ll log the user in.
Ye, but is there a way to prevent that, maybe based on some field in db I check if user already signed up or not and if he didn’t I send them to Sign up and delete the user that they just tried to Log in with, with backend workflow idk.