I'm working to allow users to FB Connect into my app for authentcation. My app currently uses devise so I'm following the tutorial here:
https://github.com/plataformatec/devise/wiki/OmniAuth%3A-Overview
After adding this to my gem file:
gem "oa-oauth", :require => "omniauth/oauth"
This to config/initializers/devise.rb:
config.omniauth :facebook, "APP_ID", "APP_SECRET"
This to app/models/User.rb
devise :omniauthable
After running bundle install, when I run rails s I get the error. Ideas why? Thanks
Add 'omniauth' in gemfile and then try.
gem "omniauth" , "0.2.0"
My devise version is 1.3.3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.