From ff83ff3e13524f46b80466f5371b0ae921148c8e Mon Sep 17 00:00:00 2001 From: DevMahmoudMustafa <135623840+DevMahmoudMustafa@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:58:22 -0700 Subject: [PATCH 1/3] Updated OAuth spelling in file Entry.php --- src/Support/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Entry.php b/src/Support/Entry.php index 3c81dea..07cc65e 100644 --- a/src/Support/Entry.php +++ b/src/Support/Entry.php @@ -56,7 +56,7 @@ public function __construct($accountId = null, $clientId = null, $clientSecret = public function newRequest() { - if (strtolower(config('zoom.authentication_method')) == 'oauth') { + if (strtolower(config('zoom.authentication_method')) === 'OAuth') { return $this->oauthRequest(); } From b79f987f750ec4d41a025dd1329f5cdfa6b98357 Mon Sep 17 00:00:00 2001 From: DevMahmoudMustafa <135623840+DevMahmoudMustafa@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:59:03 -0700 Subject: [PATCH 2/3] Updated OAuth spelling in file config.php --- config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.php b/config/config.php index 9200b06..e43e1ed 100644 --- a/config/config.php +++ b/config/config.php @@ -6,6 +6,6 @@ 'client_secret' => env('ZOOM_CLIENT_SECRET'), 'cache_token' => env('ZOOM_CACHE_TOKEN', true), 'base_url' => 'https://api.zoom.us/v2/', - 'authentication_method' => 'Oauth', // Only Oauth compatible at present + 'authentication_method' => 'OAuth', // Only Oauth compatible at present 'max_api_calls_per_request' => '5' // how many times can we hit the api to return results for an all() request ]; From ec07a9f34cf3e852ec8ddf1560ba5949c3ed351c Mon Sep 17 00:00:00 2001 From: DevMahmoudMustafa <135623840+DevMahmoudMustafa@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:03:01 -0700 Subject: [PATCH 3/3] Update README file --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c406b2..cd071c0 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,14 @@ This will create a zoom.php config file within your config directory:- ```php return [ - 'apiKey' => env('ZOOM_CLIENT_KEY'), - 'apiSecret' => env('ZOOM_CLIENT_SECRET'), - 'baseUrl' => 'https://api.zoom.us/v2/', + 'account_id' => env('ZOOM_ACCOUNT_ID'), + 'client_id' => env('ZOOM_CLIENT_ID'), + 'client_secret' => env('ZOOM_CLIENT_SECRET'), + 'api_key' => env('ZOOM_CLIENT_KEY'), + 'api_secret' => env('ZOOM_CLIENT_SECRET'), + 'base_url' => 'https://api.zoom.us/v2/', 'token_life' => 60 * 60 * 24 * 7, // In seconds, default 1 week - 'authentication_method' => 'jwt', // Only jwt compatible at present + 'authentication_method' => 'OAuth', // Only OAuth compatible at present 'max_api_calls_per_request' => '5' // how many times can we hit the api to return results for an all() request ]; ```