Localhost in oAuth doesn't redirect on the url I set in App Settings

Shopify Partner
5 0 0


my custom app has this redirect url: https://localhost:44345/...../Callback

But instead of shopify redirecting to the url I set in the options when I run a Merchant install link it gets redirected to https://localhost:44345/?hmac={hmac}&shop={MYSHOP}.myshopify.com&timestamp={timestamp}

What is going on? Why I'm redirected to a wrong page and why there is no code?

Shopify doc doesn't hold any information about how I can test app on a localhost


Best regards, Anton.