Focuses on API authentication, access scopes, and permission management.
I'm developing a public app that integrates with Shopify to provide various functionalities. My app recently got rejected during the review process for not adhering to the immediate OAuth authentication requirement.
I spoke to Shopify support, and they couldn't provide code development assistance but suggested I post here.
I appreciate any guidance or suggestions you can provide. Thank you for your time!
Hi FrenzyRider,
From your description, your current flow appears to be in line with Shopify's OAuth requirements.
Here's how the OAuth flow should look like for a typical Shopify app:
If your flow is different from the one described above, then you might be breaking the immediate OAuth requirement.
About your second question, the {shop}
parameter in the OAuth URL is indeed the merchant's Shopify store name and it must be provided. If the merchant is setting up the integration from within your app, you should already know their Shopify store name. You can include this in the OAuth URL.
If you don't have the Shopify store name at the time of integration setup, you might need to adjust your flow. You could ask for the Shopify store name as part of your integration setup process.
In terms of .NET C# libraries, ShopifySharp is a popular choice for developing Shopify integrations. It takes care of much of the complexity of Shopify's API, including OAuth authentication.
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me 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