diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 339b34ec..44e924be 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -235,7 +235,9 @@ Devise.setup do |config| # up on your models and hooks. # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' if Rails.env.production? - config.omniauth :facebook, "505160086210072", "fcc474a3fb13c6bcc0f7c83a92ad1b17", + # config.omniauth :facebook, "505160086210072", "fcc474a3fb13c6bcc0f7c83a92ad1b17", + # scope: 'email,user_birthday,publish_stream' + config.omniauth :facebook, "653729178057509", "d4cea86f70803f1b75ed03c506a4d78e", scope: 'email,user_birthday,publish_stream' else config.omniauth :facebook, "168928633304849", "22bc53e1a390c1e62d004195c55fe336",