Test App on Dev Store failing Oauth error invalid_request: The redirect_uri is not whitelisted

Solved
Highlighted
Tourist
3 0 3

 

Hi, I'm new to shopify and trying to install and deploy the first app/store and following the instruction from here "https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/embed-your-app-in-shopify" .

 

When i try to click/install the store as part of Test App on Development Store, i'm getting this error. 

dev store install issue.png

I'm using windows 10. Please advice.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
6 3 3

This is an accepted solution.

Hi ssk_star,

 

The error would imply that the /auth/callback url may not be set correctly in the Whitelisted redirection URL(s) field of your app (have a look at step 7 of https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/embed-your-app-in-shopify).

 

You may need to stop and restart your ngrok tunnel and copy the https://12345678.ngrok.io part again (step 3), before applying it to steps 6 and 7.

 

Regards,

Kevin.

 

1 Like
Highlighted
Tourist
3 0 3

Hi Kevin, Thanks for the note. You are right, i didn't use the right URL as mentioned. Actually i used http instead of https and that caused this failure. Now all seems working.

 

I did manage to find this forum thread(https://stackoverflow.com/questions/55918320/oauth-error-invalid-request-the-redirect-uri-is-not-whi...) which exactly pinpoint the issue. 

1 Like