MacsiDigital / laravel-zoom

Laravel Zoom Package
MIT License
261 stars 135 forks source link

Invalid Access token if used entry #100

Closed aneeskhan47 closed 3 years ago

aneeskhan47 commented 3 years ago

Hi,

i'm using this package v4.1 & laravel 8.. if i use the custom entry constructor it gives me invalid access token error but if i use the default zoom.php config (have the ZOOM_CLIENT_KEY and ZOOM_CLIENT_SECRET stored in env) it works :/

what could be the problem?

here is the code:

new \MacsiDigital\Zoom\Support\Entry(auth()->user()->zoom_api_key, auth()->user()->zoom_api_secret);

$zoomUser = Zoom::user()->find('me')->get();

dd($zoomUser); // gives invalid access token error
philharmonie commented 1 year ago

What was your solution? Where did you get the correct key from?