Sha256: bcc83fd7f673465afbea83d2919e80390e5bdeed54fb1417b37af102591fc3b4

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

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

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

use OmniAuth::Builder do
  provider :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_APP_SECRET']
end

run Sinatra::Application

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
omniauth-facebook-9.0.0 example/config.ru
omniauth-facebook-8.0.0 example/config.ru
omniauth-facebook-7.0.0 example/config.ru
omniauth-facebook-6.0.0 example/config.ru