Rails.application.config.middleware.use OmniAuth::Builder do
  provider :google_oauth2,
    Rails.application.secrets.google_client_id,
    Rails.application.secrets.google_client_secret,
    scope: 'userinfo.email,userinfo.profile',
    approval_prompt: 'auto',
    access_type: 'online'
end
