#odin_smash

1 messages · Page 1 of 1 (latest)

glad hemlockBOT
storm elm
#

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

ember belfry
#

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?

storm elm
#

They'd need to be logged in so that we know they have an existing account

ember belfry
#

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?

storm elm
#

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

ember belfry
#

Got it. Thank you. You're correct. If Stripe knows about the email, you see this at step 2: