Configured the Devise initializer with Facebook app keys
This commit is contained in:
1 parent
921d763862
commit
d97ab883f1
1 file changed
+1
@@ -251,4 +251,5 @@ Devise.setup do |config|
|
||||
# When using omniauth, Devise cannot automatically set Omniauth path,
|
||||
# so you need to do it manually. For the users scope, it would be:
|
||||
# config.omniauth_path_prefix = '/my_engine/users/auth'
|
||||
config.omniauth :facebook, "", "ENV['FACEBOOK_SECRET_ID']"
|
||||
end
|
||||
Reference in new issue
Block a user