ruby-on-railsruby-on-rails-5omniauth-facebook

Rails 5 - Facebook authenticate error with omniauth-facebook


I get this error when I try use omniauth-facebook: enter image description here

Follow my code:

enter image description here


Solution

  • It looks like you are missing the confirmable database columns. Either add them or remove the devise :confirmable modules from your model.

    Here are the steps to add the relevant code/schema if you did not install devise with the confirmable module initially: https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users