From 7696a57e02555299b8db2b0e2eb5c7640e31215c Mon Sep 17 00:00:00 2001 From: yanmeng <974166167@qq.com> Date: Fri, 31 May 2024 12:10:56 +0800 Subject: [PATCH] change scope --- lib/ebay_api/token_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ebay_api/token_manager.rb b/lib/ebay_api/token_manager.rb index 3ccfa4d..a6a3660 100644 --- a/lib/ebay_api/token_manager.rb +++ b/lib/ebay_api/token_manager.rb @@ -42,7 +42,7 @@ class RefreshTokenInvalid < EbayAPI::Error; end def application_token request_token!( grant_type: "client_credentials", - scope: "https://api.ebay.com/oauth/api_scope" + scope: "https://api.ebay.com/oauth/scope/ebaymag@partner" )["access_token"] end