We have a django applocation and we wanted to review our appliction in Shopify, for that we are implementing Oauth2 in our application. We want to test oauth in our local system and then we will move to production. How can we test it in our local system? Thanks in advance.
Solved! Go to the solution
We recommend using Ngrok to test locally, then when it's time to move to production you just replace the ngrok URLs with your production URLs.
If you haven't already, I recommend taking a look at our OAuth doc which outlines the full Shopify OAuth flow. Also this tutorial contains steps for exposing your local development environment to the web using ngrok.
Thanks for quick reply. In Step 2 of Oauth implementation steps there is below GET url.
Is this call done Shopify or we have to call it by our system?
This is an accepted solution.
When a customer installs your app, Shopify will redirect them to the install URL you specified in the partner dashboard.
You need to redirect the customer back to the
/admin/oauth/authorize URL with the parameters included. This redirect displays a prompt to the merchant, allowing them to accept your requested scopes and install the app.