App reviews, troubleshooting, and recommendations
Hello everyone,
I am facing an common Shopify OATH authorization error, red every topic on that and still not resolved it.
I have an oauth error invalid_request: The redirect_uri is not whitelisted. On my app setup page, i copied the links correctly, i have :
App URL : https://MYNGROK.ngrok.io/ Allowed redirection URL(s) : https://MYNGROK.ngrok.io/auth/callback
When I test this on any of my developpement stores, in the redirect_uri on the request i have :
redirect_uri=https%3A%2F%2Fhttps%3A%2F%2MYNGROK.ngrok.io%2Fauth%2Fcallback
I know that the problem comes from this; why do I have https%3A%2F twice ? And how can I resolve this ?
Thanks all!
I had this same problem and in my case is because my environment variable where I set the ngrok url was https://mydomain.ngrok.io
but it should be just mydomain.ngrok.io, otherwise it adds https twice, but it depends a lot on how you generate those uris. Hope it helps
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025