Have developed rails app & working fine locally with url http:localhost:3000 but when we are deploying same app to live server in subdirecotry 'e.g. public_html/appname', The app is asking for the installation when trying to install app on any store facing below error.
Oauth error invalid_request: The redirect_uri and application url must have matching hosts
Thanks in Advance.