In my rails app i have added facebook login using Omniauth I created my app and everything was good on localhost but then i added my url on Valid OAuth redirect URIs and started getting this error:
URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.
My valid outh redirect url is: http://www.greyshift.co/profiles/new
My domain name is: www.greyshift.co
My site url is: http://www.greyshift.co/