@extends('layouts.app') @section('content')

{{ __('Social Authentication') }}

@foreach ($socials as $socialAuth)
{{ $socialAuth->name }} {{ __(strtoupper($socialAuth->name)) }}
{{ $socialAuth->is_active ? 'On' : 'Off' }} @hasPermission('admin.socialAuth.toggle') @endhasPermission
@hasPermission('admin.socialAuth.update')
@csrf @endhasPermission @if ($socialAuth->provider == 'apple') @else @php $clientID = 'Client ID'; if ($socialAuth->provider == 'facebook') { $clientID = 'App ID'; } @endphp
@php $clientSecret = 'Client Secret'; if ($socialAuth->provider == 'facebook') { $clientSecret = 'App Key'; } @endphp
@endif
@hasPermission('admin.socialAuth.update')
@endhasPermission
@endforeach
@endsection @push('scripts') @endpush