Sha256: dfae698b6f8252089f814497206a4d19dcd3ad61c3aaae8382a2b09471b39621

Contents?: true

Size: 261 Bytes

Versions: 6

Compression:

Stored size: 261 Bytes

Contents

require 'bundler/setup'
require 'omniauth-facebook'
require './app.rb'

use Rack::Session::Cookie, :secret => 'abc123'

use OmniAuth::Builder do
  provider :facebook, ENV['APP_ID'], ENV['APP_SECRET'], :scope => 'email,read_stream'
end

run Sinatra::Application

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
omniauth-facebook-3.0.0 example/config.ru
omniauth-facebook-2.0.1 example/config.ru
omniauth_llx-0.0.12 lib/example/config.ru
omniauth_llx-0.0.11 lib/example/config.ru
omniauth-facebook-2.0.0 example/config.ru
omniauth-facebook-2.0.0.pre1 example/config.ru