Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 327 Bytes

An example of facebook auth by devise + omniauth

Configuration

edit config/initializers/1\_facebook.rb

FACEBOOK_CONFIG = {
  :app_id => 'APP_ID',
  :secret => 'APP_SECRET',
  :app_namespace => 'APP_NAMESPACE'
}

Setup as App on Facebook

App on Facebook