Focuses on API authentication, access scopes, and permission management.
Hi
The url described on https://shopify.dev/apps/auth/oauth/getting-started#redirect-to-the-grant-screen-using-a-3xx-redirec... does not have a locale or language parameter.
We are building a page in our application where customers can link there shopify store. In our application the users can switch their language via a language selector. So when we redirect to the authorize page we would like to stay in the same language. But the url does not contain a language parameter.
Is this something that can be added at shopify side or is there a way to fix this another way?
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={client_id}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}
Hey @peeteko - generally, the Shopify admin's language is set by the merchant's settings and this language is the one that appears within the grant page. This is because an app first needs to be authorized before it is accessible from within the Shopify admin.
I do get where you're coming from here though - it would make the process more seamless. I can try to bring this to my team to see if we're able to get a definitive answer on any potential workarounds. Could you describe the workflow of the app that leads to the authorization grant page? For example, does the merchant set their choice of language while in your app on another page before they're redirected to their Shopify store?
Let me know if we can clarify anything further on our end - hope to hear from you soon.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
We indeed start from our application where the customer can change their language. From that page we redirect to the authorization page. But the redirect url has no language parameter.