0.0
No commit activity in last 3 years
No release in over 3 years
Gem that adds devise based authentication to hobo-based applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.1.7
>= 1.3.0.pre28
 Project Readme
For now there is a number of things you need to do to use this gem:
1) Create your hobo application
2) In your user model rename field

    email_address

to

    email

3) Edit your mailers and lifecycles to use

    email

field, not

    email_address

4) In your user model replace

    hobo_devise_user_model

with

    hobo_devise_user_model :auth_methods => [:database_authenticable,
                                              :devise_oauth2_facebook]

5) In your users controller replace

    hobo_user_controller

with

    hobo_devise_oauth2_facebook_controller(YourUserModelName)

6) Add routes in config/routes.rb

    match 'user_fb_auth', :controller => 'your_model_name', :action => 'auth', :as => "user_fb_auth"
    match 'user_fb_callback', :controller => 'your_model_name', :action => 'callback', :as => "user_fb_callback"