#joe-s_api

1 messages ยท Page 1 of 1 (latest)

steady wedgeBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1226884329729425499

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

compact krakenBOT
glossy jasper
#

Hi there ๐Ÿ‘‹ sounds like you're working with our older OAuth flow for connecting Connected Accounts. Can you tell me a bit more about the problem with the state that you're running into?

glossy jasper
#

@jagged willow checking to see if you're still around to tell me more about your problem?

jagged willow
#

Hi Toby! The issue is we expect the state to be returned so we can connect the account. For two users, one that was on a Connected account before (shouldn't impact their new connection as they are disconnected from this account) but now has their own Stripe account and one that is new to Stripe with a newly created account, we aren't receiving the state parameter which is breaking how we establish the connections. Do we need to update our methods?

glossy jasper
compact krakenBOT
jagged willow
#

Are you suggesting that these accounts are connected to another integration which is causing the state to not be returned? This method has been working for all other accounts we have. What is the suggested update?

robust arrow
#

๐Ÿ‘‹ stepping in here as toby needs to step away

jagged willow
#

๐Ÿ‘‹

#

I understand the OAuth flow, but why are we suddenly not receiving the state?

robust arrow
#

If you have an example account ID here of an example then I can take a look to confirm that is the case

#

Hmm wait sorry, I was reading what my colleague wrote above but really don't think this should affect the state param

#

One moment, let me test

jagged willow
#

Ok

robust arrow
#

Okay this is working fine on my end.

#

Can you provide a testmode OAuth link where you aren't seeing this happen that I can use to repro?