eBay / ebay-oauth-python-client

Python OAuth SDK: Get OAuth tokens for eBay public APIs
Other
73 stars 48 forks source link

In GetApplicationToken.py the app_scope too is too broad. #9

Open matecsaj opened 3 years ago

matecsaj commented 3 years ago

app_scopes = ["https://api.ebay.com/oauth/api_scope", "https://api.ebay.com/oauth/api_scope/buy.item.feed"]

should be

app_scopes = ["https://api.ebay.com/oauth/api_scope"]

or this will occur

Error: invalid_scope - The requested scope is invalid, unknown, malformed, or exceeds the scope granted to the client

Perhaps, accounts granted extra privileges can get away with it, but a basic account can't.