an example application:  rails 4, devise, omniauth (twitter and facebook), mongoid