Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback not working #7

Open
Wulfshade opened this issue Sep 16, 2023 · 1 comment
Open

Callback not working #7

Wulfshade opened this issue Sep 16, 2023 · 1 comment

Comments

@Wulfshade
Copy link

I'm testing with the minimal sinatra app but it is not working. I'm hosting the app on a FQDN accessible over the web.

Expectation: to be taken the callback url once authorised.

Result: eBay shows an access granted page indicating I can now close the page. It does not take me back to the app with the token details.

@Envek
Copy link
Member

Envek commented Sep 19, 2023

I just re-checked it and it works as expected, bringing me back to the auth accepted url from the RuName settings.

Please check following things:

  1. That RuName you're using is OAuth enabled in the eBay Developers portal at https://developer.ebay.com/my/auth/?env=production&index=0&auth_type=oauth

  2. Whether you're using correct sandbox or production credentials. Sinatra app in the Readme uses sandbox mode by default. Add sandbox: false option to use live (production) credentials.

     provider :ebay_oauth, ENV['EBAY_APPID'], ENV['EBAY_CERTID'],
    -          callback_url: ENV['EBAY_RUNAME'], name: 'ebay'
    +          callback_url: ENV['EBAY_RUNAME'], name: 'ebay', sandbox: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants