#xfechx - connect

1 messages · Page 1 of 1 (latest)

ruby moat
#

Hi there!

stable fossil
#

hi

ruby moat
#

What is your question?

stable fossil
#

I am connecting an account "successfully" and it doesn't appear on the list of the connected accounts. and I am not getting back a stripe_user_id

#

Don't know where I can debug /

ruby moat
#

Can you share the account ID of the connected account?

stable fossil
#

acct_1IJoqWIVVhxSAz7H

ruby moat
#

This account is not connected to any platform.

#

How are you connected the account? Where did you see that it was successful?

stable fossil
#

Because i get a read_write and an ac_xxyyy

#

it seems successfull, it goes back to my successful return url

ruby moat
#

Are you using OAuth?

stable fossil
#

yes

#

I have connected MANY accounts in the past

#

using same code, etc

#

I want to see where I can see the log of the attempt and see the error

#

not to see If I completed steps, because my app has already connected many accounts in the past, so I don't think is something to do with code

ruby moat
stable fossil
#

my account id from the platform?

ruby moat
#

yes

stable fossil
#

I don't have time to change code right now, I only need it to work like usual.

ruby moat
#

Makes sense. So can you share the account ID of the platform?

stable fossil
#

acct_103xXp2lgzywWyEx

ruby moat
#

Thanks! Give me a few minutes to look into this.

stable fossil
#

I can see this:

#
[error_description] => Authorization code provided does not belong to you```
#

what does that mean, why am I getting that error

ruby moat
#

Where do you see that error? In your logs?

stable fossil
#

yes

ruby moat
stable fossil
#

is there no way that we can log why am I getting that error?

#

It is unusual, I use the same code so many times for different accounts....

#

I get this in the URL:

#

scope=read_write&code=ac_MKkd1eFJ462x8QNgEaHlyUD2HA1xTejH

#

Tbh - I don't even want to look at my code, as it should not be that

#

I just connected another account 2 days ago no problem, and have connected many in the past

tidal patrol
#

all we can really say is that this behaviour happens when you submit the code(that ac_xxx) twice

#

though several people have been raising this issue on Discord this morning. I suggest writing to https://support.stripe.com/?contact=true so we can do some more investigation and track this in case something is going wrong on our side. I can't test this right now unfortunately as there are 20 other Discord conversations in parallel

stable fossil
#

about the same issue?

#

just so that I don't break my head if it is something on your side

#

if my app has been working with the same code before, then should I worry about it?

tidal patrol
#

I don't know yet, all I know is you're the third person today asking about OAuth connections being consumed twice

#

maybe all three of you have bugs, or maybe something is wrong on our side, I don't know yet.

tidal patrol
#

FWIW I tried the flow just now and didn't see an issue, the account got connected and wasn't disconnected

tidal patrol
#

anyway :

Authorization code provided does not belong to you
that means you're using the secret key of the wrong platform account when you initialise the Stripe library to call \OAuth::token basically.