#jing-connect-oauth

1 messages · Page 1 of 1 (latest)

junior chasmBOT
umbral wadi
#

Hi 👋

Are you attempting to use OAuth to connect with the existing Express account that was deauthorized?

fossil quiver
#

Hi that's correct

umbral wadi
#

AFAIK OAuth was designed specifically to allow connecting Stand-alone Stripe Accounts to Platforms. In your testing, when you go through the OAuth flow you wind up creating a new Express Account?

fossil quiver
#

Yes, it returns a different account ID

umbral wadi
#

Can you share an example ID for an account that was de-authorized?

fossil quiver
#

Yep. acct_1JAGqhRAMomYhnlB

umbral wadi
#

Thanks, taking a look

umbral wadi
#

Sorry this took a long time

#

This server has been a little busy

#

When did the Oauth toke request occur?

fossil quiver
#

Ahh sorry I didn't try to connect this account since I don't recall the phone number and email on this account. I tried reconnect acct_1ODcrFIbtEhaPtt8, also a test account which was deauthorized. The Oauth token request was around 11/19 17:35 to 17:40 PST

umbral wadi
#

Okay thanks, I'll take a look at that one

#

Now is the ID you provided the new one you got back from the OAuth flow or the old one for this account?

fossil quiver
#

It was the old deauthorized one. The new one is acct_1OEMOhRDHH823MXn

umbral wadi
#

No email or phone number was provided

fossil quiver
#

thanks! so stripe_user[email] and stripe_user[phone_number] must match the deauthorized account?

umbral wadi
#

I'm still confused about what you are trying to do. You only mentioned attempting to reconnect a de-authorized account, but here I see you are creating a new Account object.

junior chasmBOT
fossil quiver
umbral wadi
#

Yes, that is what this flow is for. Connecting to an Account without having to create one.

rapid lagoon
#

jing-connect-oauth

fossil quiver
#

thanks @umbral wadi . I think I got what you were saying now. Using the standard oauth https://connect.stripe.com/oauth/authorize, I receive this error message which is expected since standard oauth is disabled.
{"error":{"message":"Standard OAuth is disabled for this Stripe Connect integration. If you own this integration, you can enable the Standard OAuth flow in the Connect Settings page in your dashboard."}} When I use https://connect.stripe.com/express/oauth/v2/authorize it made me go through the sign up process again

#

I might still be missing something here but it doesn't look like it's possible to do connect oauth for the existing express account?

rapid lagoon
#

@fossil quiver if there's a real existing Express account in Live mode that was already connected to your platform before then going trough OAuth will reconnect it. But you can't use another platforms's Express account

fossil quiver
#

I see. Everything I was doing was in test mode and the reason why I wanted to reconnect to the express account deauthorized was because we have quite a few test environments sharing the same Stripe account integration. If it isn't possible to do connect oAuth again for the previously authorized account in test mode, I will just update the account ID in our test databases.

rapid lagoon
#

yeah I don't think it works in Test mode

fossil quiver
#

Got it. I'll keep this in mind. @rapid lagoon @umbral wadi Thank you both for your help on this!