2
votes

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

1
What version of devise are you using? - McStretch
How did you fix this. I have installed the omniauth and the devise gem, but am still facing the same problem - DanMatlin

1 Answers

0
votes

Add 'omniauth' in gemfile and then try.

gem "omniauth" , "0.2.0"

My devise version is 1.3.3