@include('helpers.form_control', [
'type' => 'checkbox2',
'name' => 'google_enabled',
'value' => request()->google_enabled ? request()->google_enabled : Acelle\Model\Setting::get('oauth.google_enabled'),
'label' => trans('messages.oauth.google.enable.desc'),
'options' => ['no', 'yes'],
])
{!! trans('messages.google_oauth.guide') !!}
@include('helpers.form_control', [
'type' => 'text',
'name' => 'google_client_id',
'label' => trans('messages.oauth.google_client_id'),
'value' => request()->google_client_id ? request()->google_client_id : Acelle\Model\Setting::get('oauth.google_client_id'),
])
@include('helpers.form_control', [
'type' => 'text',
'name' => 'google_client_secret',
'label' => trans('messages.oauth.google_client_secret'),
'value' => request()->google_client_secret ? request()->google_client_secret : Acelle\Model\Setting::get('oauth.google_client_secret'),
])
{!! trans('messages.google_oauth.uri_guide') !!}
{{ trans('messages.oauth.origin_uri') }}
{{ url('') }}
{{ trans('messages.oauth.redirect_uri') }}
{{ action('AuthController@googleCallback') }}