Google OAuth Login Issue: Only Want to Allow Existing Manual Registrations
I’m facing a challenge with implementing Google OAuth login for my app, and I’m hoping someone can provide some guidance.
Current Situation
I’ve set up the “signup/login user with social links” action using Google OAuth. However, I’ve run into an issue where it’s not logging in users who are already registered manually in my app.
Desired Outcome
My goal is to use OAuth only for logging in users who have already manually registered in the app. I don’t want to create new accounts via OAuth if they don’t already exist.
Questions
- Is there a way to modify the OAuth workflow to check if a user already exists before attempting to log them in?
- How can I prevent the creation of new accounts through OAuth if they don’t match existing manual registrations?
- Are there any best practices or recommended workflows for implementing this kind of selective OAuth login?
Additional Context
- I’m using the standard Bubble.io OAuth implementation.
- The app already has a manual registration and login system in place.
- I’ve considered creating a custom workflow, but I’m not sure about the best approach.
Any insights, suggestions, or step-by-step guidance would be greatly appreciated. Thanks in advance for your help!