examples/omni_auth.rb in omniauth-google-oauth2-0.2.10 vs examples/omni_auth.rb in omniauth-google-oauth2-0.3.0
- old
+ new
@@ -9,14 +9,12 @@
provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'], {
:scope => 'email,profile'
}
# Manual setup for offline access with a refresh token.
- # The prompt must be set to 'consent'
#
# provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'], {
# :access_type => 'offline',
- # :prompt => 'consent'
# }
# Custom scope supporting youtube. If you are customizing scopes, remember
# to include the default scopes 'email' and 'profile'
#