I know this question has been asked many times, but none of them have helped me.
I try to login with facebook on my site, but I get an error message:
{"error":{"message":"Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request","type":"OAuthException","code":100,"fbtrace_id":"DV9+XV2aZn5"}}
I have the following configs in facebook application control panel:
I seem to be missing something with setting up urls, but can't figure that out.
Update
application / models / customer.rb
devise :omniauthable, omniauth_providers: [:facebook]
source
share