I’m following the rails 3 guide to create a shopify app using oauth2 to authenticate, but once I try to install the app in a test shop I get this error.
{"error":"invalid_request","error_description":"The redirect_uri and application url must have matching hosts"}
That error means that the application URL you set in your app settings and the redirect URL you passed in your OAuth request are for different domains. Go check your app settings as well as the Omniauth setup file and make sure they’re set up correctly.