question

raduv_raduv avatar image
0 Likes"
raduv_raduv asked

How to change user consent page language?,

Hi,

I'm creating an user consent page like in the 'Getting user consent' section from

: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html

and my question is, how can I display this page in different languages using a query parameter and don't change the ebay url extension. For example, I want to use ebay.com for the consent page URL and show the consent page in german language. Is there a way to do that, or the only way to do that is to replace ebay.com with ebay.de?

,
languageconsent page
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello, raduv_raduv.

I have a trouble with this step as i say here: https://forums.developer.ebay.com/questions/41808/automatic-user-access-token-oauth2.html?childToView=41889#answer-41889

Can you help help me, explore, how exactly you do this step ("user consent") without redirect troubles?

0 Likes 0 ·

1 Answer

· Write an Answer
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @raduv_raduv ,

When constructing HTML request for redirecting a user to user grants consent page, please mention the specific marketplace domain in the HTML request.

For example if you want to redirect use to France marketplace,

please https://auth.sandbox.ebay.fr instead.

Ref:https://developer.ebay.com/api-docs/static/rest-request-components.html#marketplhttps://auth.sandbox.ebay.fr/oauth2/authorize?

client_id=<app-client-id-value>&
redirect_uri=<app-RuName-value>&
response_type=code&
state=<custom-state-value>&
scope=<scopeList>&
prompt=login


Best regards ,
eBay Developer Support

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.