Facebook redirect url in ruby ​​on rails open ssl error

I followed the omniauth dev facebook app, as Ryan explained in episode 235. After user authorization, we get an error in http: // localhost: 3000 / auth / facebook / callback? Code = 13444 ...

The following are the facebook settings: Application Domain: localhost siteurl: locahost: 3000 / canvas url: http: // localhost: 3000 / auth / facebook /

please tell me where am I going wrong?

+6
ruby facebook omniauth
Feb 01 2018-12-12T00:
source share
2 answers

In one project, we had to add this code to config/environments/development.rb to enable Facebook for local development:

 OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE 
+20
01 Feb '12 at 17:19
source share

I worked in rails 4 and this link gave me what I need to get it working. Just follow the instructions. You will need to download the rails utility and then run the two command line functions.

This link is https://gist.github.com/fnichol/867550

0
Mar 11 2018-11-14T00:
source share



All Articles