Closed pazzernick closed 2 years ago
If you're using Laravel, you can also consider using chiiya/laravel-passes.
Thanks for the feedback. I've patched and validated it works fine.
I pushed the commit, and from what I can see it's part of this PR. If there is anything else I need to do, please let me know.
Amazing work on the package ... it's superb! Just wish I'd found it sooner...
Thanks for the contribution! Tests are failing due to missing secrets for forks, but I've run them locally and everything passes. I'll tag a new release shortly.
When setting up the package initially, I ran into a PHP Error while interacting with Google Classes / Objects.
Laravel 8, on PHP 8.1.2
PHP Error:
Script Line:
Fix: insert single line at GoogleAuthMiddleware.php:53
This solves the PHP Error. I'm not sure if this is the best solution, but I will defer to you for better handling...
The invokation can be simplified as below. Without the fix inside "createAuthTokenMiddleware()", exception occurs when assigning "$client" With the fix, the authorization works and client can query the API successfully.