@extends('admin.layouts.master') @section('title', 'Setting - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('Google Meet Settings') }} @endslot @slot('menu1') {{ __('Meetings') }} @endslot @slot('menu2') {{ __('Google Meet Meeting') }} @endslot @slot('menu3') {{ __('Google Meet Settings') }} @endslot @endcomponent
{{ __('Add Setting') }}
@csrf
Upload
@php $auth_email = Auth::user()->email; $path = 'files/googlemeet'.'/'.$auth_email; @endphp
@if(file_exists(public_path().'/'.$path.'/'.'client_secret.json')) Download

@else
{{ __('No File Found') }}
@endif

How to get Google Meet clientsecret.json file :


  • Use the link to create or select a project in the google developers console and automatically turn on the APi. Click continue then go to credential. : Google Cloud Platform
  • On the Add credentials to your project click the Cancel button.
  • At the top of the page, select the Oauth consent screentab. Select an Email Address, Enter product name if not already set and click the Save button.
  • Select the Credentials tab, click the Create Credentials button and select Oauth client id.
  • Use this URL as Redirect URL {{ url('oauth') }}
  • Select the application type Other, enter the name 'googlemeet'. and click the Create button.
  • Click Ok to dismiss the resulting dialog.
  • Click the download json button to the right of the client id.
  • Upload your (Downloaded json)file.
@endsection @section('script') @endsection