Trying to follow along with https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview and I\'m stumped.
I\'ve got config.omniauth :facebook, ENV[\'FB_AP
It could be happening because the configuration with Devise and Omniauth should be made ONLY in config/initializers/devise.rb
. Do not create the onfig/initializers/omniauth.rb
file.
Remember that config.omniauth adds omniauth provider middleware to your application. This means you should not add this provider middleware again in config/initializers/omniauth.rb as they'll clash with each other and result in always-failing authentication.
https://github.com/heartcombo/devise/wiki/OmniAuth%3A-Overview#before-you-start