Closed lloricode closed 3 years ago
Hi @lloricode, I encountered the same error. Thanks for your temporary fix solution
Unfortunetly, the workaround does not work when you want to use php 8. I created #150 which will fix the issue.
if anyone still getting this error use this $verifiedIdToken->claims()->get('sub')
instead of this $verifiedIdToken->getClaim('sub')
when updating to
laravel/passport v10.1.0
:notice it update also
lcobucci/jwt
to^4.0
https://github.com/lcobucci/jwt/releases/tag/4.0.0our temporary fix is add this to project composer.json
since laravel passport allow this