1
0
Fork 0
mirror of https://github.com/simi/omniauth-facebook.git synced 2022-11-09 12:32:45 -05:00
simi--omniauth-facebook/example/config.ru

12 lines
227 B
Text
Raw Normal View History

require 'bundler/setup'
require 'omniauth-facebook'
require './app.rb'
use Rack::Session::Cookie, secret: 'abc123'
use OmniAuth::Builder do
2016-06-26 20:29:32 -04:00
provider :facebook, ENV['APP_ID'], ENV['APP_SECRET']
end
run Sinatra::Application