mirror of
https://github.com/simi/omniauth-facebook.git
synced 2022-11-09 12:32:45 -05:00
add scope to example
This commit is contained in:
parent
63b62add56
commit
5410957545
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ end
|
||||||
use Rack::Session::Cookie
|
use Rack::Session::Cookie
|
||||||
|
|
||||||
use OmniAuth::Builder do
|
use OmniAuth::Builder do
|
||||||
provider :facebook, ENV['APP_ID'], ENV['APP_SECRET']
|
provider :facebook, ENV['APP_ID'], ENV['APP_SECRET'], :scope => 'email,read_stream'
|
||||||
end
|
end
|
||||||
|
|
||||||
run App.new
|
run App.new
|
||||||
|
|
Loading…
Reference in a new issue