Error when testing App: "Oauth error invalidrequest: The redirecturi is not whitelisted"

New Member
2 0 0

Hi all, I'm just starting with Spotify development, and I'm trying to set up a testing Shopify application, using the following link:


However when I select the "Test App" option, I get the following error:


"Oauth error invalidrequest: The redirect uri is not whitelisted"


I am developing on a Mac, running ngrok on a console, and I have set the redirect_uri correctly: "". This corresponds to the forwarding ngrok address. 


I've seen similar issues, but I don't see what's wrong. I've set up the app and store a few times, I think I'm missing something with instructions.

I'm stuck, can you help me please? 

Replies 2 (2)
Shopify Staff
Shopify Staff
1098 146 229

Hey @ShamrockChess


Just taking a stab, could you be missing the s in https://? Can you provide the app name?

Scott | Developer Support @ 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 or the Shopify Web Design and Development Blog

New Member
2 0 0

Hi there

Thanks for this, unfortunately that's not it, although I have made that change and I'm still getting the same error- , I've whitelisted URL's - this is the list:


The App is called TestApp2 (only starting out here!), here's a link for it if that helps


Thanks for the help. Oisin