shopify redirect_uri issue

Highlighted
New Member
4 0 0

Hi Expert,

I have a development store and i develop a custom app, when i install the app redirect_uri is working as expected.

Ngrok => https://22af463a28f2.ngrok.io

Redirect_URI => https://sdmpro.myshopify.com/admin/oauth/authorize?client_id=xxxxxxxxxxxxxxxxxxxx&scope=read_product...

However when i create an order, the redirect_url in payload is still using a very old ngrok value, why?

"landing_site": "/admin/oauth/request_grant?client_id=xxxxxxxxxxxxxxxxxxxx&redirect_uri=https://27571b0cc570.ngrok.io/shopify/callback&scope=read_products,write_products,read_inventory,wri..."

what i have tried

1. delete app from the store and reinstall the app

2. start and stop ngrok

3. set url address in .env

4. rerun npm start

5. update ngrok in app setting partner.shopify.com

Please help, thank you

0 Likes