Class: Groovestack::Auth::Providers::Facebook

Inherits:
OmniAuth show all
Defined in:
lib/groovestack/auth/providers/facebook.rb

Constant Summary collapse

PROVIDER =
:facebook
K =
:facebook
REQUIRED_CREDENTIALS =
i[app_id app_secret].freeze

Constants inherited from OmniAuth

OmniAuth::BASE_PATH

Class Method Summary collapse

Methods inherited from OmniAuth

as_json, configured?, path, required_credentials, required_credentials_present?

Methods inherited from Groovestack::Auth::Provider

as_json, available?, configured?, credential_for, enabled?, k, provider

Class Method Details

.generate_omniauth_argsObject



11
12
13
# File 'lib/groovestack/auth/providers/facebook.rb', line 11

def self.generate_omniauth_args
  [*super, { client_options: { site: 'https://graph.facebook.com/v22.0' } }]
end