cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

user oauth token generation broken for sandbox

Up until yesterday.  I could generate a user oauth token via Get OAuth User Token from the API explorer for the sandbox.

Now when i do this, it takes me to https://signin.sandbox.ebay.com/

i enter my creds, i get a welcome "my email address"

I login again, i get a welcome "my dev user"

i login again and i get "We ran into a problem. Please try again later."

in the devtool console for chrome i see a very long 

"Cross-Origin Read Blocking (CORB) blocked cross-origin response https://svcs.ebay.com/ufeservice/v1/commonbeacon with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details."'

 

What is going on here?  this flow worked fine a few days ago.  FWIW, this flow works fine for prod user. just not sandbox.  thanks

Message 1 of 8
latest reply
7 REPLIES 7

Re: user oauth token generation broken for sandbox

Does anyone know if this is a known issue?  it's strange that i can easily generate the prod token but not the sandbox token.  I've seen mention of having to use a proxy server with ebay to get around the CORS issue but not sure this is the same.  

Message 2 of 8
latest reply

Re: user oauth token generation broken for sandbox

Same issue here. Can't generate sandbox tokens.

Message 3 of 8
latest reply

Re: user oauth token generation broken for sandbox

Same, new dev user here trying to integrate ebay with shopify and our epos system extenda go. 

Message 4 of 8
latest reply

Re: user oauth token generation broken for sandbox

good to know that it's not just me. @bearshop2017  and @owenwoen  Unsure how to get this fixed.

Any ideas?

Message 5 of 8
latest reply

Re: user oauth token generation broken for sandbox

No idea, does anyone know how to auth using postman? I couldn't figure it out. 

Message 6 of 8
latest reply

Re: user oauth token generation broken for sandbox

same here, also the user tokens page (website) normally tells me "Use your keyset and token to send API requests on behalf of the user. Try the Trading API's GetUser call in the API Explorer.

Today i came across something like "In compliance with [...] economic [...] restrctions you can not accesss APIs from your location. If you [..] please contact [...]" but a few minutes later everything worked as expected.. strange behaviour

Message 7 of 8
latest reply

Re: user oauth token generation broken for sandbox

I figured it out.  I was using the wrong userid to get the oauth token. No idea where the name comes from.

my sandbox user name is testuser_first.lastname

 

I got it by updating below with my client_id and my redirect_uri (RuName)  and pasting the url into my browser

 

https://auth.sandbox.ebay.com/oauth2/authorize?client_id=<client_id>&redirect_uri=<redirect_uri>&response_type=code&scope=https%3A%2F%2Fapi.ebay.com%2Fooauth%2Fapi_scope

Message 8 of 8
latest reply