Thank you I have just found the issue by myself. In fly.toml I have missed the “https://” suffix in the HOST parameter:
HOST = "little-haze-0000.fly.dev"
I added the “https://” in front and re-deployed it and it is all good now.
OAuth redirect_uri used an invalid scheme after deployment to Fly.io, appearing as little-haze-0000.fly.dev://… instead of https://…, which triggered “Oauth error invalid_reques t: The redirect_uri is not whitelisted.” The app worked in dev, and manually changing the URL to https://… enabled installation.
A responder requested the Shopify object from Shopify.js, noting the redirect URL is generated from that configuration.
Root cause: fly.toml had HOST set without “https://” (HOST = “little-haze-0000.fly.dev”). Adding “https://” to HOST and redeploying corrected the redirect_uri and resolved the installation issue.
Notes:
Status: Resolved. No further action items were identified.
Thank you I have just found the issue by myself. In fly.toml I have missed the “https://” suffix in the HOST parameter:
HOST = "little-haze-0000.fly.dev"
I added the “https://” in front and re-deployed it and it is all good now.