Hit Oauth error invalid_request: The redirect_uri is not whitelisted


Hello, even though the redirect urls are correctly configured (“https://sme.jomeinvoice.my”), we still getting the “Oauth error invalid_request: The redirect_uri is not whitelisted” error.


URL that hits error: https://admin.shopify.com/store/quickstart-f22d63a3/oauth/authorize?client_id=5ac0fabb3b26fdf60e41d8e36a3e8ac4&scope=write_products,read_orders&redirect_uri=https://sme.jomeinvoice.my/shopify/callback&state=1000012

What I’ve tried so far:

  • Previously, we set redirect URLs directly in the Partner Dashboard, but that option has been removed after the latest Shopify update.

  • I’ve now added the URLs to shopify.app.toml, but the error still occurs.

  • It was working fine before this update when we were able to configure redirect URLs in the dashboard.

  • In the new CLI version, running shopify app dev or shopify app run no longer auto-updates the shopify.app.toml with the new tunnel URL.

  • I’ve confirmed the client ID is correct.

Has anyone faced the same issue?

Would really appreciate any guidance or workaround. :folded_hands:

facing the same issue

Same here, facing the same issue.

In the final URL, did you make sure that the client_id query parameter matches your development app’s public client ID?

If they are different, that means you’re using a different app that might not have this redirect URI white listed.

Yes, they are using exact same client id