Sandbox oauth login not working via curl or python
This is my curl request, i've confirmed the auth token is b64 encoded string `USER:PASS`
tiny-industries
Posted 1 year ago·Last reply 1 year ago
1 comment
This is my curl request, i've confirmed the auth token is b64 encoded string `USER:PASS`
developer-support@ebay.com
Hello @tiny-industries ,
It appears that the Authorization header is using a Base64-encoded value of Username:Password, which isn't the correct format for the Client Credential Flow.
To generate an Application Token using the Client Credential Flow, the Authorization header should include the word "Basic" followed by your Base64-encoded OAuth credentials, specifically <client_id>:<client_secret>.
Here's how you can adjust your curl request:
For further guidance, please consult the following documentation:
OAuth Client Credentials Grant
Generating Base64-encoded Credentials
Best Regards,
eBay Developer Support