Skip to content
An example of facebook auth by devise + omniauth
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

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

Something went wrong with that request. Please try again.