Sample rails application that shows how to use omniauthable devise module in multiple models
Installation:
-
install mri ruby 2.6.5
-
gem install rails
-
git clone [email protected]:john-denisov/showcase-multiple-omniauthable-models.git
-
cd showcase-multiple-omniauthable-models/
-
bundle install
-
rails s
-
go to http://localhost:3000 and test sign in with facebook for multiple models
-
Use [email protected] / abc12345 as login/password for facebook if you don't have a facebook account