OAuth credentials for single seller account
Summary: The discussion on the topic of "OAuth credentials for single seller account" lacks any content, as all the entries from participants an-57470, developer_support@ebay, and hurky68 contain the word "None." Another participant, son412591, contributed a comment with the words "User Tokens," but it does not provide further context or details about the subject. As a result, the discussion provides no substantive content or conclusions.
Is there a way to get OAuth credentials for a single seller account?
I have a developer account but ebay has it marked wrong or something as a 3rd party developer account. It will only let me generate OAuth stuff as a 3rd party developer which requires URL callbacks and other things like that.
I just want OAuth credentials for my ebay seller account. I don't want to be associated with any 3rd party anything. I have no idea how to fix this and I have no idea how to ask ebay without being charged $75.
son412591
·1 month agoUser Tokens
developer_support@ebay
Hi @Anonymous,
Getting a new access token for a user through the authorization code grant flow is a two-step process:
- First get consent from the eBay user to make API calls on their behalf (see Getting user consent)
- Then generate the User access token for each user (see Exchanging the authorization code for a User access token).
When your eBay application acts on the behalf of an eBay user, that application must obtain the user's consent before it can make requests that access and update/get that user's confidential resources. After gaining the eBay user's consent, you can mint a new User access token, a token that carries a user's authorization to let your application access the user's eBay account data.
an-57470
OP2 years agoI am the user though. I am the developer and the seller at the same time. Do we still have to go through the URL callback process to get oauth access to the seller account if we are the same person? That seems needlessly cumbersome.
Previously with Auth n Auth we would login to our seller account FROM the developer account and that would grant us access and credentials. I am not seeing that option anymore. Is that option totally gone?
The issue is we don't have a backend setup for URL callback authorizations.
developer_support@ebay
Hi @Anonymous,
To generate/mint the OAuth user access token for a user/seller, your application must obtain the user's consent before it can make requests that access and update that user's confidential resources. You can not get the user access token without getting the consent from the user.
Once you get the consent from the user, you can generate the User access token for the user (see Exchanging the authorization code for a User access token).
When you generate the access token from the step "Exchanging the authorization code for a User access token" in the response you will get the refresh_token for the user, this refresh_token is a long-lived value that you can use to update an expired User access token. This means you do not have to get the user's consent each time you need a new User access token.
To update the access token after it expires, see Using a refresh token to update a User access token.
hurky68
·2 years agoI am trying to setup Postman calls and I also cannot get it to work as the sole user of my own app, I'm afraid.
I tried the User Access Token shortcut provided on the developer pages. After I log in and authorize, it seems to provide just a short-lived user access token which I am able to use for temporary API access but I don't see a refresh token returned anywhere.
I also don't see a way to retrieve the authorization code either, through which I could try to obtain the refresh_token with a call through Postman.
I'm stuck. I can't find a way to set up a refresh_token for my app. Can you help?
hurky68
·2 years agoSolved it. I eventually realized that I could get an authorization code by following the sign- in authorization flow under the 'Get a Token from eBay via Your Application' section of the User Tokens shortcut page (https://developer.ebay.com/my/auth?env=production&index=0). From there I chose an RuName from my list(set one up if you haven't done so yet) and copied the helpfully provided link next to 'Your branded eBay Production Sign In (OAuth)'. Paste it in a browser and the sign in. I was then directed to a success page, the URL of which had the authorization code in it in URL encoded form. URL decoded it and I was able to use that code in the authorization_code grant flow to exchange it for the refresh_token I need.