#odin_smash
1 messages · Page 1 of 1 (latest)
Hello! The oauth flow would connect your existing stripe account by default - other flows (like creating an Account + creating an account link) are what always create a new account
I see. Is that case with this endpoint? https://connect.stripe.com/express/oauth/authorize
How does Stripe identify that the user has an existing account? They happen to be logged in? Or does the email passed by our app (stripe_user[email]=) need to match their Stripe account?
They'd need to be logged in so that we know they have an existing account
So is there way to setup Connect to also have a "login with your account" workflow enabled? What I'm after is, with Connect, allow users to login OR go through account creation process. What about the scenario where they do have an account, but are not logged in?
I believe that's already built in to the flow - if they enter in an email that already exists it should prompt them to log in
I'd recommend trying this all out for yourself in test mode though just to see how it works
Got it. Thank you. You're correct. If Stripe knows about the email, you see this at step 2: