@include('helpers.form_control', [
'type' => 'checkbox2',
'name' => 'facebook_enabled',
'value' => request()->facebook_enabled ? request()->facebook_enabled : Acelle\Model\Setting::get('oauth.facebook_enabled'),
'label' => trans('messages.oauth.facebook.enable.desc'),
'options' => ['no', 'yes'],
])
{!! trans('messages.facebook_oauth.guide') !!}
@include('helpers.form_control', [
'type' => 'text',
'name' => 'facebook_client_id',
'label' => trans('messages.oauth.facebook_client_id'),
'value' => request()->facebook_client_id ? request()->facebook_client_id : Acelle\Model\Setting::get('oauth.facebook_client_id'),
])
@include('helpers.form_control', [
'type' => 'text',
'name' => 'facebook_client_secret',
'label' => trans('messages.oauth.facebook_client_secret'),
'value' => request()->facebook_client_secret ? request()->facebook_client_secret : Acelle\Model\Setting::get('oauth.facebook_client_secret'),
])
{!! trans('messages.facebook_oauth.uri_guide') !!}
{{ trans('messages.oauth.origin_uri') }}
{{ url('') }}
{{ trans('messages.oauth.redirect_uri') }}
{{ action('AuthController@facebookCallback') }}